Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105160

Summary: libsdl compiles incorrectly with uclibc
Product: Gentoo Linux Reporter: Rande Knight <rand>
Component: [OLD] LibraryAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patches the configure.in to correctly detect dlvsym

Description Rande Knight 2005-09-07 08:41:39 UTC
libsdl incorrectly detects dlvsym with uclibc, causing later libs like sdl-mixer
to fail with "undefined reference to 'dlvsym'".








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 >= 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 >&5
/usr/lib/gcc-lib/i586-gentoo-linux-uclibc/3.3.5-20050130/../../../libSDL.so:
undefined reference to `dlvsym'
collect2: ld returned 1 exit status
configure:19768: $? = 1
Comment 1 Rande Knight 2005-09-07 09:06:39 UTC
Created attachment 67834 [details, diff]
patches the configure.in to correctly detect dlvsym
Comment 2 SpanKY gentoo-dev 2005-09-07 16:19:26 UTC
fixed in cvs and mailed upstream