[MDEV-752] LP:666250 - Undefined symbol strdup_root Created: 2010-10-25  Updated: 2014-04-09  Resolved: 2014-04-09

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.73, 5.2.15, 5.3.13

Type: Bug Priority: Minor
Reporter: Alexander Skwar (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug666250.xml    

 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



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2010-11-30 ]

Launchpad bug id: 666250

Comment by Elena Stepanova [ 2014-04-09 ]

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.

Generated at Thu Feb 08 06:31:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.