<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>105160</bug_id>
          
          <creation_ts>2005-09-07 08:41 0000</creation_ts>
          <short_desc>libsdl compiles incorrectly with uclibc</short_desc>
          <delta_ts>2005-09-07 16:19:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rand@randeknight.com</reporter>
          <assigned_to>embedded@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>rand@randeknight.com</who>
            <bug_when>2005-09-07 08:41:39 0000</bug_when>
            <thetext>libsdl incorrectly detects dlvsym with uclibc, causing later libs like sdl-mixer
to fail with &quot;undefined reference to &apos;dlvsym&apos;&quot;.








Reproducible: Always
Steps to Reproduce:
1. Start with uclibc base
2. Emerge libsdl
3. Emerge sdl-mixer

Actual Results:  
config.log has : 

configure:19636: checking for sdl-config
configure:19654: found /usr/bin/sdl-config
configure:19667: result: /usr/bin/sdl-config
configure:19675: checking for SDL - version &gt;= 1.2.4
configure:19765: gcc -o conftest -Os -march=c3 -m3dnow -mmmx
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/SDL -D_REENTRANT   conftest.c  -lSDL -lpthread &gt;&amp;5
/usr/lib/gcc-lib/i586-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `dlvsym&apos;
collect2: ld returned 1 exit status
configure:19768: $? = 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rand@randeknight.com</who>
            <bug_when>2005-09-07 09:06:39 0000</bug_when>
            <thetext>Created an attachment (id=67834)
patches the configure.in to correctly detect dlvsym
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-09-07 16:19:26 0000</bug_when>
            <thetext>fixed in cvs and mailed upstream</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67834</attachid>
            <date>2005-09-07 09:06 0000</date>
            <desc>patches the configure.in to correctly detect dlvsym</desc>
            <filename>libsdl-dlvsym.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbmZpZ3VyZS5pbiAgICAgICAgMjMgQXVnIDIwMDUgMDY6MzY6MjMgLTAwMDAgICAgICAx
LjE2Ng0KKysrIGNvbmZpZ3VyZS5pbiAgICAgICAgNyBTZXAgMjAwNSAxNTo0NjoyNiAtMDAwMA0K
QEAgLTMxMywxOCArMzEzLDggQEAgQ2hlY2tBTFNBKCkNCiAgICAgICAgICAgICAgICAgQ0ZMQUdT
PSIkQ0ZMQUdTIC1EQUxTQV9TVVBQT1JUIC1EQUxTQV9EWU5BTUlDPVwkKGFsc2FfbGliKSAkQUxT
QV9DRkxBR1MiDQogICAgICAgICAgICAgICAgIEFDX1NVQlNUKGFsc2FfbGliKQ0KDQotICAgICAg
ICAgICAgICAgIEFDX01TR19DSEVDS0lORyhmb3IgZGx2c3ltKQ0KICAgICAgICAgICAgICAgICB1
c2VfZGx2c3ltPW5vDQotICAgICAgICAgICAgICAgIEFDX1RSWV9DT01QSUxFKFsNCi0gICAgICAg
ICAgICAgICAgICAjaW5jbHVkZSA8c3RkaW8uaD4NCi0gICAgICAgICAgICAgICAgICAjZGVmaW5l
IF9fVVNFX0dOVQ0KLSAgICAgICAgICAgICAgICAgICNpbmNsdWRlIDxkbGZjbi5oPg0KLSAgICAg
ICAgICAgICAgICBdLFsNCi0gICAgICAgICAgICAgICAgICBkbHZzeW0oTlVMTCwiIiwiIik7DQot
ICAgICAgICAgICAgICAgIF0sWw0KLSAgICAgICAgICAgICAgICB1c2VfZGx2c3ltPXllcw0KLSAg
ICAgICAgICAgICAgICBdKQ0KLSAgICAgICAgICAgICAgICBBQ19NU0dfUkVTVUxUKCR1c2VfZGx2
c3ltKTsNCisgICAgICAgICAgICAgICAgQUNfQ0hFQ0tfTElCKGRsLCBkbHZzeW0sIFt1c2VfZGx2
c3ltPXllc10pDQogICAgICAgICAgICAgICAgIGlmIHRlc3QgeCR1c2VfZGx2c3ltID0geHllczsg
dGhlbg0KICAgICAgICAgICAgICAgICAgICAgQ0ZMQUdTPSIkQ0ZMQUdTIC1EVVNFX0RMVlNZTSIN
CiAgICAgICAgICAgICAgICAgZmk=
</data>        

          </attachment>
    </bug>

</bugzilla>