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

LP:666250 - Undefined symbol strdup_root

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 5.3.13, 5.2.15, 5.1.73
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 666250

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 666250
            Hide
            elenst Elena Stepanova added a comment -

            I don't think it is worth fixing for 5.1 / 5.2 / 5.3, while 5.5 and 10.0 are known to be compilable (even though we don't have official builds yet).
            Thus closing.

            Show
            elenst Elena Stepanova added a comment - I don't think it is worth fixing for 5.1 / 5.2 / 5.3, while 5.5 and 10.0 are known to be compilable (even though we don't have official builds yet). Thus closing.

              People

              • Assignee:
                Unassigned
                Reporter:
                alexanderskwar Alexander Skwar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: