This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libjava and raw_cxx
- From: Andreas Schwab <schwab at suse dot de>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Fri, 12 Dec 2008 16:15:32 +0100
- Subject: Re: libjava and raw_cxx
- References: <jey6ylpiud.fsf@sykes.suse.de> <49427EF9.5080600@redhat.com>
Andrew Haley <aph@redhat.com> writes:
> Andreas Schwab wrote:
>> Why is the libjava directory configured with raw_cxx?
>>
>> Makefile.def:151:target_modules = { module= libjava; raw_cxx=true; };
>>
>> The problem with this is that it keeps the libtool test for dynamic
>> linker characteristics from working properly, due to the undefined
>> reference to __gxx_personality_v0 which is defined in libstdc++.
>
> We don't want libstdc++ linked in libgcj.
>
> If the libtool test wants libstdc++, then it's up to the libtool test
> to include libstdc++. Nobody else wants it.
It's not libtool that wants it, but gcc, by generating the reference to
__gxx_personality_v0.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."