<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="666250">
  <date_last_updated>2010-11-30 16:50:50.925563+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/666250</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~a.skwar</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.2</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/666250/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/666250/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/666250</bug_web_link>
  <owner>Alexander Skwar</owner>
  <assignee></assignee>
  <milestone_title>Maria 5.2</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Undefined symbol strdup_root</title>
  <status>New</status>
  <importance>Undecided</importance>
  <created>2010-10-25 12:27:19.115863+00:00</created>
  <description>
<![CDATA[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 #666223 occured, but this time, I used a simpler $CFLAGS ;)

Logs/Files:

configure invocation command: http://paste.pocoo.org/show/280572/
log of configure: http://paste.pocoo.org/show/280570/

compile invocation command: http://paste.pocoo.org/show/280573/
log: http://paste.pocoo.org/show/280571/]]>  </description>
  <activities>
    <activity datechanged="2010-10-25T12:27:19.115863+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Alexander Skwar</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2010-10-25T12:27:46.664203+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[solaris]]>      </newvalue>
      <whatchanged>tags</whatchanged>
      <person>Alexander Skwar</person>
      <message></message>
    </activity>
    <activity datechanged="2010-11-30T16:50:50.205922+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[5.2]]>      </newvalue>
      <whatchanged>maria: milestone</whatchanged>
      <person>Sergei</person>
      <message></message>
    </activity>
  </activities>
</launchpad-bug>
