This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libjava broken on the trunk on i386-darwin8.11
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Andrew Pinski <pinskia at gmail dot com>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Java Patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 29 Sep 2009 22:59:53 -0700
- Subject: Re: libjava broken on the trunk on i386-darwin8.11
- References: <de8d50360909291615r2b2503bfp19911fdbf09acf45@mail.gmail.com> <de8d50360909291621m7847d21ej2b6198c95106fe7b@mail.gmail.com> <4AC29F50.8090509@gmail.com> <4AC2B8C7.4030609@gmail.com> <20090930053442.GA3524@gmx.de> <de8d50360909292250g67aa8901pdad1a8eb69b1d8b6@mail.gmail.com> <20090930055815.GD3524@gmx.de>
On Tue, Sep 29, 2009 at 10:58 PM, Ralf Wildenhues
<Ralf.Wildenhues@gmx.de> wrote:
> * Andrew Pinski wrote on Wed, Sep 30, 2009 at 07:50:24AM CEST:
>> On Tue, Sep 29, 2009 at 10:34 PM, Ralf Wildenhues wrote:
>> >
>> > More generally though, why don't you simply pass these flags
>> > unconditionally on all systems, not just w32 ones?
>>
>> They were passed unconditionally and that broke darwin. ÂWhich is the
>> reason for the change :).
>
> Oh, sorry about that. ÂIn that case however, why doesn't libjava on
> Darwin have a link dependency on libiconv (or whatever library that
> defines these symbols)? ÂSeems like the better fix to me.
> (Did we already go through this? ÂI can't remember.)
it is not just libiconv but _environ also which is only supplied by
the dynamic linker and there is no library which contains that symbol.
Thanks,
Andrew Pinski