This is the mail archive of the
mailing list for the GCC project.
Re: [build, doc, libjava, testsuite] Fully support TLS on Solaris 8 and 9
On 07/16/2010 09:45 AM, Rainer Orth wrote:
> Andrew Haley <firstname.lastname@example.org> writes:
>> On 07/15/2010 07:08 PM, Rainer Orth wrote:
>>> * Unfortunately, this doesn't work for libjava: libtool links with
>>> -nostdlib for C++ support (for whatever reason; it seems completely
>>> nonsensical to try and second-guess the compiler driver here), so
>>> LIB_SPEC, where -pthread is interpreted, isn't used ;-( libtool gets
>>> even further in my way: I cannot pass -R/usr/lib/lwp through it, nor
>>> does -rpath /usr/lib/lwp work, so I'm forced to use -Wl,-R
>>> -Wl,/usr/lib/lwp instead. That mess seems to be more of a hindrance
>>> most of the time ;-(
>> libjava doesn't depend on libstdc++. And yes, libtool is more of a
>> hindrance most of the time.
> Right, but the native code is C++, which triggers libtool's use of
> -nostdlib ;-( No idea why they think this is useful/necessary.
> Anyway, what about the libjava bits? Ok for mainline (and 4.5 if I
> decide to backport)?
Sure: as you say, this is all part of a Solaris maintainer's job. And
what I know about Solaris can be written on the back of a postage stamp.