Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105160 - libsdl compiles incorrectly with uclibc
Summary: libsdl compiles incorrectly with uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 08:41 UTC by Rande Knight
Modified: 2005-09-07 16:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patches the configure.in to correctly detect dlvsym (libsdl-dlvsym.patch,875 bytes, patch)
2005-09-07 09:06 UTC, Rande Knight
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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