Build of 4.1.0 in cross env
David Daney
ddaney@avtrex.com
Wed May 3 15:24:00 GMT 2006
FERANDELLE Pascal wrote:
>> >
>> > So now, I have a complete cross powerpc-linux gcc chain in 4.1.0, and I test on a simple HelloWorld Java program.
>> > It does not link because there is an undefined reference to __tls_get_addr, needed by libgcj.so.
>> > I did not have this problem in 3.4.4.
>> >
>> > Any idea ?
>>
>>It should be in the target lib libpthread.so. Make sure your
>>LD_LIBRARY_PATH points to the dir where that lib resides.
>>
>
>
> The problem is that I don't have any __tls_get_addr in my target libpthread.so ...
> And I don't have call to this reference in my native 4.1.0 libgcj.so.
> Is this new reference generated only in cross env ?
> Is there any way to bypass this ?
>
Yes, There is a new configure option added for exactly this reason.
RTFM about the --disable-tls top level configure option.
David Daney.
More information about the Java
mailing list