Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-752

LP:666250 - Undefined symbol strdup_root

    XMLWordPrintable

Details

    Description

      Trying to compile mariadb-5.2.2-gamma on a Solaris 10 Sparc system using Solaris Studio 12.2 compiler. It fails:

      [...]
      ranlib libregex.a
      source='/tmp/ma522/regex/split.c' object='split.o' libtool=no \
              DEPDIR=.deps depmode=none /opt/csw/bin/bash /tmp/ma522/depcomp \
              /opt/solstudio12.2/bin/cc -DHAVE_CONFIG_H -I. -I/tmp/ma522/regex -I../include -I../include -I/tmp/ma522/include  -I/opt/local/readline/include -I/opt/local/readline/include/readline   -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xO3   -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -c /tmp/ma522/regex/split.c
      source='/tmp/ma522/regex/debug.c' object='debug.o' libtool=no \
              DEPDIR=.deps depmode=none /opt/csw/bin/bash /tmp/ma522/depcomp \
              /opt/solstudio12.2/bin/cc -DHAVE_CONFIG_H -I. -I/tmp/ma522/regex -I../include -I../include -I/tmp/ma522/include  -I/opt/local/readline/include -I/opt/local/readline/include/readline   -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xO3   -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -c /tmp/ma522/regex/debug.c
      source='/tmp/ma522/regex/main.c' object='main.o' libtool=no \
              DEPDIR=.deps depmode=none /opt/csw/bin/bash /tmp/ma522/depcomp \
              /opt/solstudio12.2/bin/cc -DHAVE_CONFIG_H -I. -I/tmp/ma522/regex -I../include -I../include -I/tmp/ma522/include  -I/opt/local/readline/include -I/opt/local/readline/include/readline   -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xO3   -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -c /tmp/ma522/regex/main.c
      /opt/csw/bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link /opt/solstudio12.2/bin/cc  -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xO3   -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS  -R/opt/local/readline/lib -L/opt/local/readline/lib   -o re -static split.o debug.o main.o libregex.a ../strings/libmystrings.a -lpthread -lthread -lposix4 -lsocket -lnsl -lm  -lpthread -lthread -lrt  
      libtool: link: /opt/solstudio12.2/bin/cc -xchip=sparc64vii -xcache=64/64/2:5120/256/10 -xarch=sparcima -xO3 -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -o re split.o debug.o main.o  -L/opt/local/readline/lib libregex.a ../strings/libmystrings.a -lpthread -lthread -lposix4 -lsocket -lnsl -lm -lpthread -lthread -lrt -R/opt/local/readline/lib
      Undefined                       first referenced
       symbol                             in file
      strdup_root                         ../strings/libmystrings.a(ctype-simple.o)
      ld: fatal: Symbol referencing errors. No output written to re
      gmake[1]: *** [re] Error 2
      gmake[1]: Leaving directory `/export/home/user/Source/mariadb-5.2.2-gamma/build.32bit.20101025-135125.Optimized/regex'
      gmake: *** [all-recursive] Error 1

      This is the same machine which I used, when bug lp:666223 occured, but this time, I used a simpler $CFLAGS

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexanderskwar Alexander Skwar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.