This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] Workaround PR33781: Bootstrap failure on mips-sgi-irix6.5
- From: "Fu, Chao-Ying" <fu at mips dot com>
- To: "Roger Sayle" <roger at eyesopen dot com>, <gcc-patches at gcc dot gnu dot org>
- Cc: "Stephens, Nigel" <nigel at mips dot com>
- Date: Wed, 30 Jan 2008 14:59:38 -0800
- Subject: RE: [PATCH] Workaround PR33781: Bootstrap failure on mips-sgi-irix6.5
Roger Sayle wrote:
>
> The following patch is a workaround for the bootstrap failure on IRIX,
> described in PR bootstrap/33781. The new fixed-point extensions to
> C that are enabled by default on mips*-*-* targets, create an
> excessively
> large number of helper files, and on IRIX the resulting $(AR)
> invocation
> overflows the default kernel limits of 20K chars per command line.
>
> One solution is to recommend IRIX users reconfigure/rebuild
> their kernel.
> Another solution is to document that "--disable-fixed-point" must be
> specified
> to configure to build on IRIX. A third solution is the hack
> below which
> simply disables this extension by default on IRIX. Suitably
> motivated IRIX
> developers can always explicitly specify "--enable-fixed-point" after
> they've
> modified their OS limits.
>
> Many thanks for DJ and Jakub Jelinek for their efforts in
> trying to come
> up with a programatic solution in GCC's build machinery. Alas without
> success.
>
> Thoughts?
>
> 2008-01-30 Roger Sayle <roger@eyesopen.com>
>
> PR bootstrap/33781
> * configure.ac (--enable-fixed-point): Disable unless
> explicitly
> requested on IRIX.
> * configure: Regenerate.
>
> Roger
> --
>
I think your patch is ok. Thanks!
Regards,
Chao-ying