[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2017-08-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440

Eric Gallager  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 CC||egallager at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #6 from Eric Gallager  ---
(In reply to Jacek Sieka from comment #4)
> This looks very similar to 62077 btw.

OK, closing it as a duplicate of bug 62077 then.

*** This bug has been marked as a duplicate of bug 62077 ***

[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2014-12-01 Thread arnetheduck at gmail dot com
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-s22014-12-02 09:35:10.629770887 +0800
+++ /tmp/tree-s32014-12-02 09:35:15.189781714 +0800
@@ -862,22 +862,22 @@
   [428] .gnu.lto_.refs.0  PROGBITS   000a8966
0b61     E   0 0 1
   [429] .gnu.lto_.decls.0 PROGBITS   000a94c7
-   000669b9     E   0 0 1
-  [430] .gnu.lto_.symtab. PROGBITS   0010fe80
+   000669a7     E   0 0 1
+  [430] .gnu.lto_.symtab. PROGBITS   0010fe6e
5b46     E   0 0 1
-  [431] .gnu.lto_.optsPROGBITS   001159c6
+  [431] .gnu.lto_.optsPROGBITS   001159b4
00a2     E   0 0 1
-  [432] .text.unlikelyPROGBITS   00115a68
+  [432] .text.unlikelyPROGBITS   00115a56
    AX   0 0 2
-  [433] .text.unlikely._Z PROGBITS   00115a68
+  [433] .text.unlikely._Z PROGBITS   00115a56
   AXG   0 0 2
-  [434] .text._ZN19simple PROGBITS   00115a70
+  [434] .text._ZN19simple PROGBITS   00115a60
0002   AXG   0 0 16
-  [435] .rodata.str1.8PROGBITS   00115a78
+  [435] .rodata.str1.8PROGBITS   00115a68
02d3  0001 AMS   0 0 8
-  [436] .text.unlikely._Z PROGBITS   00115d4c
+  [436] .text.unlikely._Z PROGBITS   00115d3c
   AXG   0 0 2
-  [437] .text._ZN19simple PROGBITS   00115d50
+  [437] .text._ZN19simple PROGBITS   00115d40
0005   AXG   0 

[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2014-12-01 Thread arnetheduck at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440

--- Comment #4 from Jacek Sieka arnetheduck at gmail dot com ---
This looks very similar to 62077 btw.


[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2014-12-01 Thread vekumar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440

vekumar at gcc dot gnu.org changed:

   What|Removed |Added

 CC||vekumar at gcc dot gnu.org

--- Comment #5 from vekumar at gcc dot gnu.org ---
Yes same issue work around would be to use configure with
--enable-stage1-checking=release as mentioned in 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077#c54



[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2014-09-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440

Jan Hubicka hubicka at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2014-09-25
 CC||hubicka at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #2 from Jan Hubicka hubicka at gcc dot gnu.org ---
Was this issue resolved?


[Bug bootstrap/61440] Bootstrap failure with --with-build-config=bootstrap-lto

2014-06-07 Thread venkataramanan.kumar at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61440

--- Comment #1 from Venkataramanan venkataramanan.kumar at amd dot com ---
Tried 

 objdump -d stage2-gcc/gimple.ostage2-gcc-gimple.s
 objdump -d stage3-gcc/gimple.ostage3-gcc-gimple.s

 diff -u  stage2-gcc-gimple.s stage3-gcc-gimple.s
--- stage2-gcc-gimple.s 2014-06-07 12:53:04.065381401 +0530
+++ stage3-gcc-gimple.s 2014-06-07 12:53:10.981381355 +0530
@@ -1,5 +1,5 @@

-stage2-gcc/gimple.o: file format elf64-x86-64
+stage3-gcc/gimple.o: file format elf64-x86-64


Tried 
readelf -S stage2-gcc/gimple.o  stage2-gcc-gimple.txt
readelf -S stage3-gcc/gimple.o  stage3-gcc-gimple.txt

diff -u  stage2-gcc-gimple.txt stage3-gcc-gimple.txt

--- stage2-gcc-gimple.txt   2014-06-07 12:56:19.089380090 +0530
+++ stage3-gcc-gimple.txt   2014-06-07 12:56:09.805380153 +0530
@@ -1,4 +1,4 @@
-There are 194 section headers, starting at offset 0xc3750:
+There are 194 section headers, starting at offset 0xc3710:

 Section Headers:
   [Nr] Name  Type Address   Offset
@@ -9,7 +9,7 @@
000c  0004  192   363 4
   [ 2] .text PROGBITS   0050
4ab3    AX   0 0 16
-  [ 3] .rela.textRELA   000cad78
+  [ 3] .rela.textRELA   000cad38
3b58  0018  192 2 8
   [ 4] .data PROGBITS   4b03
    WA   0 0 1
@@ -330,66 +330,66 @@
   [162] .gnu.lto_.refs.0  PROGBITS   0003e76f
03c2     E   0 0 1
   [163] .gnu.lto_.decls.0 PROGBITS   0003eb31
-   0002d715     E   0 0 1
-  [164] .gnu.lto_.symtab. PROGBITS   0006c246
+   0002d70b     E   0 0 1
+  [164] .gnu.lto_.symtab. PROGBITS   0006c23c
2afc     E   0 0 1
-  [165] .gnu.lto_.optsPROGBITS   0006ed42
+  [165] .gnu.lto_.optsPROGBITS   0006ed38
00a2     E   0 0 1
-  [166] .text.unlikelyPROGBITS   0006ede4
+  [166] .text.unlikelyPROGBITS   0006edda
0015    AX   0 0 1
-  [167] .rela.text.unlike RELA   000ce8d0
+  [167] .rela.text.unlike RELA   000ce890
0048  0018  192   166 8
-  [168] .rodata.str1.8PROGBITS   0006ee00
+  [168] .rodata.str1.8PROGBITS   0006edf0
001f  0001 AMS   0 0 8
-  [169] .rodata.str1.1PROGBITS   0006ee1f
+  [169] .rodata.str1.1PROGBITS   0006ee0f
02e8  0001 AMS   0 0 1
-  [170] .rodata   PROGBITS   0006f140
+  [170] .rodata   PROGBITS   0006f100
0810     A   0 0 64
-  [171] .rela.rodata  RELA   000ce918
+  [171] .rela.rodata  RELA   000ce8d8
06a8  0018  192   170 8
-  [172] .text.unlikely._Z PROGBITS   0006f950
+  [172] .text.unlikely._Z PROGBITS   0006f910
   AXG   0 0 2
-  [173] .text._ZN5va_gc7r PROGBITS   0006f950
+  [173] .text._ZN5va_gc7r PROGBITS   0006f910
00d7   AXG   0 0 16
-  [174] .rela.text._ZN5va RELA   000cefc0
+  [174] .rela.text._ZN5va RELA   000cef80
0060  0018  192   173 8
-  [175] .debug_info   PROGBITS   0006fa27
+  [175] .debug_info   PROGBITS   0006f9e7
0001e7f2     0 0 1
-  [176] .rela.debug_info  RELA   000cf020
+  [176] .rela.debug_info  RELA   000cefe0
000341b8  0018  192   175 8
-  [177] .debug_abbrev PROGBITS   0008e219
+  [177] .debug_abbrev PROGBITS   0008e1d9
0a8e     0 0 1
-  [178] .debug_locPROGBITS