Problems with the latest nptl uclibc branch
Sergio M. Ammirata, Ph.D.
sergio at ammirata.net
Fri Nov 6 17:35:37 UTC 2009
Hello Carmelo,
I am compiling for x86.
Here is the error (ldd vlc):
librt.so.0 => /lib/librt.so.0 (0xb7fe8000)
Can't modify /lib/libpthread.so.0's text section. Use GCC option -fPIC for
shared objects, please.
checking sub-depends for '/lib/librt.so.0'
checking sub-depends for '/lib/libpthread.so.0'
checking sub-depends for '/lib/libdl.so.0'
checking sub-depends for '/usr/lib/libz.so.1'
checking sub-depends for '/lib/libfaac.so.0'
checking sub-depends for '/lib/libm.so.0'
checking sub-depends for '/lib/libc.so.0'
librt.so.0 => /lib/librt.so.0 (0x00000000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
libdl.so.0 => /lib/libdl.so.0 (0x00000000)
libz.so.1 => /usr/lib/libz.so.1 (0x00000000)
libfaac.so.0 => /lib/libfaac.so.0 (0x00000000)
libm.so.0 => /lib/libm.so.0 (0x00000000)
libc.so.0 => /lib/libc.so.0 (0x00000000)
/lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
Thanks,
Sergio
On 11/6/09 1:14 AM, "Carmelo Amoroso" <carmelo73 at gmail.com> wrote:
> Sergio M. Ammirata, Ph.D. wrote:
>> Hello,
>>
>> Does any have a usable uclibc config (10/31/2009 snapshot nptl branch) and
>> toolchain (10/31/2009 trunk snapshot ) that I can use as a baseline.
>>
>> I get everything to compile but the libpthread that is created is not usable
>> ... applications complain about it not being compiled with fPIC. I checked
>> with "make V=1" and everything looks correct.
>>
>> Out of desperation I started compiling all the applications that used
>> pthreads statically and for the most part they work but shared libraries
>> that use pthreads end up messed up even when including pthreads statically.
>> The applications that call them also complain about them not having fPIC
>>
>> Thanks in advance,
>>
>> Sergio
>
> Hi Sergio,
> for which arch are you compiling the nptl branch ?
>
> Could you please post exactly the error message you get ? I guess it's due to
> TEXTREL you may have into your shared libraries.
>
> Ciao,
> Carmelo
>
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://lists.busybox.net/mailman/listinfo/uclibc
>>
More information about the uClibc
mailing list