https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440
Jacek Sieka <arnetheduck at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arnetheduck at gmail dot com
--- Comment #3 from Jacek Sieka <arnetheduck at gmail dot com> ---
I'm seeing the same issue with 4.9.2 and bootstrap-lto.
Trying to compile with binutils 2.24 (self built), gcc-4.9.2 on Fedora 20 (gcc
version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC)) (based on compile script here:
http://joelinoff.com/blog/?p=1604#more-1604)
Configure:
configure --disable-cloog-version-check --disable-ppl-version-check
--enable-cloog-backend=isl --enable-gold=default --enable-languages=c,c++
--enable-lto --enable-libssp --enable-plugins --enable-plugin
--disable-multilib --with-build-config=bootstrap-lto
--prefix=/home/jacek.sieka/Downloads/rtf
--with-cloog=/home/jacek.sieka/Downloads/rtf
--with-gmp=/home/jacek.sieka/Downloads/rtf
--with-mlgmp=/home/jacek.sieka/Downloads/rtf
--with-mpc=/home/jacek.sieka/Downloads/rtf
--with-mpfr=/home/jacek.sieka/Downloads/rtf
--with-ppl=/home/jacek.sieka/Downloads/rtf
Error:
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/tree-vrp.o differs
gcc/cfgloop.o differs
gcc/regcprop.o differs
gcc/lto-cgraph.o differs
gcc/build/genconfig.o differs
gcc/build/genpeep.o differs
gcc/except.o differs
gcc/cgraphunit.o differs
gcc/cfgrtl.o differs
gcc/tree-switch-conversion.o differs
gcc/ipa-devirt.o differs
gcc/emit-rtl.o differs
gcc/gimple.o differs
gcc/sel-sched.o differs
gcc/omp-low.o differs
gcc/dwarf2cfi.o differs
gcc/i386.o differs
gcc/reload1.o differs
gcc/tree-ssa-loop-ivcanon.o differs
gcc/tree-inline.o differs
gcc/dwarf2out.o differs
gcc/tree-ssa-uninit.o differs
gcc/varasm.o differs
gcc/tree-eh.o differs
gcc/function.o differs
gcc/ipa-inline-analysis.o differs
gcc/tree-ssa-pre.o differs
gcc/lto-streamer-out.o differs
gcc/cfgloopmanip.o differs
gcc/dbxout.o differs
gcc/cp/pt.o differs
gcc/cp/semantics.o differs
gcc/cp/parser.o differs
gcc/cp/name-lookup.o differs
gcc/cp/cp-gimplify.o differs
gcc/cp/class.o differs
gcc/cfgexpand.o differs
gcc/tree-outof-ssa.o differs
gcc/coverage.o differs
gcc/sel-sched-ir.o differs
gcc/tree-ssa-propagate.o differs
gcc/tree-sra.o differs
gcc/tree-cfg.o differs
gcc/gimple-low.o differs
gcc/c-family/c-pragma.o differs
gcc/c-family/c-ada-spec.o differs
gcc/c/c-parser.o differs
gcc/c/c-typeck.o differs
gcc/tree.o differs
libcpp/lex.o differs
Sample stage 2-3 diff:
[~/Downloads/bld/gcc-4.9.2]$ readelf -S stage2-gcc/tree.o > /tmp/tree-s2
[~/Downloads/bld/gcc-4.9.2]$ readelf -S stage3-gcc/tree.o > /tmp/tree-s3
[~/Downloads/bld/gcc-4.9.2]$ diff -u /tmp/tree-s2 /tmp/tree-s3
--- /tmp/tree-s2 2014-12-02 09:35:10.629770887 +0800
+++ /tmp/tree-s3 2014-12-02 09:35:15.189781714 +0800
@@ -862,22 +862,22 @@
[428] .gnu.lto_.refs.0 PROGBITS 0000000000000000 000a8966
0000000000000b61 0000000000000000 E 0 0 1
[429] .gnu.lto_.decls.0 PROGBITS 0000000000000000 000a94c7
- 00000000000669b9 0000000000000000 E 0 0 1
- [430] .gnu.lto_.symtab. PROGBITS 0000000000000000 0010fe80
+ 00000000000669a7 0000000000000000 E 0 0 1
+ [430] .gnu.lto_.symtab. PROGBITS 0000000000000000 0010fe6e
0000000000005b46 0000000000000000 E 0 0 1
- [431] .gnu.lto_.opts PROGBITS 0000000000000000 001159c6
+ [431] .gnu.lto_.opts PROGBITS 0000000000000000 001159b4
00000000000000a2 0000000000000000 E 0 0 1
- [432] .text.unlikely PROGBITS 0000000000000000 00115a68
+ [432] .text.unlikely PROGBITS 0000000000000000 00115a56
0000000000000000 0000000000000000 AX 0 0 2
- [433] .text.unlikely._Z PROGBITS 0000000000000000 00115a68
+ [433] .text.unlikely._Z PROGBITS 0000000000000000 00115a56
0000000000000000 0000000000000000 AXG 0 0 2
- [434] .text._ZN19simple PROGBITS 0000000000000000 00115a70
+ [434] .text._ZN19simple PROGBITS 0000000000000000 00115a60
0000000000000002 0000000000000000 AXG 0 0 16
- [435] .rodata.str1.8 PROGBITS 0000000000000000 00115a78
+ [435] .rodata.str1.8 PROGBITS 0000000000000000 00115a68
00000000000002d3 0000000000000001 AMS 0 0 8
- [436] .text.unlikely._Z PROGBITS 0000000000000000 00115d4c
+ [436] .text.unlikely._Z PROGBITS 0000000000000000 00115d3c
0000000000000000 0000000000000000 AXG 0 0 2
- [437] .text._ZN19simple PROGBITS 0000000000000000 00115d50
+ [437] .text._ZN19simple PROGBITS 0000000000000000 00115d40
0000000000000005 0000000000000000 AXG 0 0 16
[438] .rela.text._ZN19s RELA 0000000000000000 002088f0
0000000000000018 0000000000000018 465 437 8