This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __tls_get_addr()


I did a google for the patch and found nothing. Can you suggest where to
find it or what its name is?

On Fri, 2007-01-05 at 17:45 -0800, David Daney wrote:
> 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
-- 
Al Niessner

I have never found the companion that was so companionable as solitude.
- From Walden by Henry David Thoreau

The universe is indifferent, and life is brutal; however, it is man's
choice of behavior that makes them malevolent rather than benevolent.

Some will fall in love with life and drink it from a fountain
That is pouring like an avalanche coming down the mountain.
- From the song Pepper by the Butthole Surfers



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]