https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61210

            Bug ID: 61210
           Summary: bootstrap failure with clang
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

For months, I've been using clang and clang++ to bootstrap trunk gcc.
Works faster than gcc and the warning messages are interesting ;->

In the last couple of weeks, since wide-int code went into gcc trunk,
this has broke. 

clang suggested using flag -fheinous-gnu-extensions, but that didn't help.

Here is 20140514 failing to bootstrap

Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/simplify-rtx.o differs
gcc/fold-const.o differs
gcc/tree-ssa-ccp.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/dcb/gcc/working'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/dcb/gcc/working'
make: *** [bootstrap] Error 2
Thu 15 May 18:28:51 BST 2014

Configure line is

../src/trunk/configure --prefix=/home/dcb/gcc/results --enable-checking=release
--enable-languages=c,c++,fortran --disable-werror CC="clang -g -O2 -Wall
-fheinous-gnu-extensions" CXX="clang++ -g -O2 -Wall -fheinous-gnu-extensions"

and bootstrap line is

make BOOT_CFLAGS='-g -O3' CFLAGS_FOR_TARGET='-g -O3' -j 2 bootstrap

Reply via email to