This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Workaround PR33781: Bootstrap failure on mips-sgi-irix6.5



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
--

Attachment: patch.log
Description: Binary data

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]