-nodefaultlibs and pthreads

Mike Frysinger vapier at gentoo.org
Fri Jul 7 13:07:26 PDT 2006


On Friday 07 July 2006 09:11, Michael Hunold wrote:
> If I specify the libraries in the wrong order, then some stub or
> replacement functions from glibc are used instead the ones I want from
> libpthread, right?

no, the linker will resolve symbols in the wrong order when you specify the 
wrong lib order on the cmdline ... libpthread.so has some symbols that 
override libc.so so when you mixed up the order, the linker resolved the libc 
ones instead of the libpthread ones
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://busybox.net/lists/uclibc/attachments/20060707/a9af5703/attachment.pgp


More information about the uClibc mailing list