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][ARM] bootstrap/38523 arm build fails to link cc1-dummy / configure tweak for stage1


As discussed on:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38523

There's an issue of stage1 cc1 size on arm-linux-gnueabi that causes a
link failure. There are two known workarounds: build stage1 with -O1 or
configure with --enable-checking=release. The first one increase
bootstrap time by 25% relative to the second one, so
I propose the following patch, tested on arm-linux-gnueabi (stage2
running).

Ok to commit? Or is there a better way?

Laurent

2009-01-05  Laurent GUERBY  <laurent@guerby.net>

	PR bootstrap/38523
        * configure.ac: Force stage1 checking for arm.
        * configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac        (revision 143046)
+++ configure.ac        (working copy)
@@ -2904,6 +2904,9 @@
 else
   stage1_checking=--enable-checking=$enable_checking,types
 fi])
+case "${host}" in
+  arm*-*-linux-gnueabi) stage1_checking=--enable-checking=release;;
+esac
 AC_SUBST(stage1_checking)

 # Enable -Werror in bootstrap stage2 and later.



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