[build, libjava] Ignore IRIX 6.5 ld warning for --no-merge-exidx-entries (PR libgcj/44216)

Andrew Haley aph@redhat.com
Fri May 28 08:46:00 GMT 2010


On 05/27/2010 09:12 PM, Rainer Orth wrote:
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> 
>> Currently, the whole libjava testsuite fails on IRIX 6.5: the vendor
>> linker doesn't recognize --no-merge-exidx-entries, but warns about the
>> unknown option with no way to turn the warning into an error.  To work
>> around this, I'm turning on AC_LANG_WERROR for the
>> --no-merge-exidx-entries configure test, which fixes the problem.
>> Unfortunately, as of autoconf 2.64 there's no documented way to turn
>> AC_LANG_WERROR off again, so I'm using a code snippet from AC_PATH_XTRA
>> to do so.
>>
>> Bootstrapped on mips-sgi-irix6.5, approved by Paolo in the PR,
>> installed.
> 
> While checking in another libjava patch, I noticed that the 4.4 and 4.5
> branches are affected as well.  Ok for both if testing passes?
> 
> 4.5 should be identical since it uses autoconf 2.64, too.  I'll have to
> be extra careful on 4.4 where autoconf 2.59 is still in use, maybe
> copying a different snippet from AC_PATH_XTRA if that changed.

OK.

Andrew.



More information about the Gcc-patches mailing list