From c872077c88496940e82e8f52988d98a94c9c5d29 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 26 Jun 2004 20:40:31 +0000 Subject: [PATCH] re PR bootstrap/13334 (Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared) 2004-06-26 Andrew Pinski PR 13334 * doc/install.texi: Document non-standard CFLAGS and bootstrap failures and warnings. From-SVN: r83718 --- gcc/ChangeLog | 6 ++++++ gcc/doc/install.texi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21586cea537..b37f066fd5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-26 Andrew Pinski + + PR 13334 + * doc/install.texi: Document non-standard CFLAGS and bootstrap + failures and warnings. + 2004-06-26 Andrew Haley * emit-rtl.c (set_mem_attributes_minus_bitpos): Check diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 99d1fb14bf6..3badfa40719 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1477,6 +1477,12 @@ around this, by choosing @code{BOOT_CFLAGS} to avoid the parts of the stage1 compiler that were miscompiled, or by using @samp{make bootstrap4} to increase the number of stages of bootstrap. +Note that using non-standard @code{CFLAGS} can cause bootstrap to fail in +@file{libiberty}, if these trigger a warning with the new compiler. For +example using @samp{-O2 -g -mcpu=i686} on @code{i686-pc-linux-gnu} will +cause bootstrap failure as @code{-mcpu=} is deprecated in 3.4.0 and above. + + If you used the flag @option{--enable-languages=@dots{}} to restrict the compilers to be built, only those you've actually enabled will be built. This will of course only build those runtime libraries, for -- 2.30.2