__tls_get_addr()

David Daney ddaney@avtrex.com
Sat Jan 6 01:45:00 GMT 2007


Al Niessner wrote:
> I am trying to build gcj 4.1.0 for a PPC 405. gcc/g++ work well enough,
> but no matter how I compile gcj I always get undefined references to
> __tls_get_addr() in libgcj. I have searched the web and scanned the news
> group, but did not find anything overly helpful. I have tried compiling
> with --disable-tls and --without-tls and --with-tls. In all cases I am
> getting a libgcj that wants tls and a glibc that does not. In fact, I do
> not think that glibc is supporting it at all for some reason on the
> PPC-405. Normally I would think gcc/glibc had something to do with all
> this, but those tools work just fine together. It seems to be the gcj
> that is the odd man out today. Any suggestions or known flags that I
> should set to fix this?
>
IIRC I added --disable-tls in 4.2, so it might not work in 4.1. I don't 
have time to verify in exactly which version --disable-tls appeared, but 
I suspect that 4.1.0 is missing it and that is your problem. You could 
try back-porting the patch to your version.
David Daney


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /