[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 Jeffrey A. Law changed: What|Removed |Added Status|WAITING |RESOLVED CC||law at redhat dot com Resolution|--- |FIXED --- Comment #18 from Jeffrey A. Law --- Fixed long ago on the trunk.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 David Binderman dcb314 at hotmail dot com changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #12 from David Binderman dcb314 at hotmail dot com --- (In reply to Andi Kleen from comment #0) ../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c: In function 'restore_x86_fp_state': ../../../gcc/libcilkrts/runtime/config/x86/os-unix-sysdep.c:114:5: internal compiler error: tree check: expected tree_list, have var_decl in get_attribute_name, at attribs.c:679 if (__builtin_cpu_supports(sse)) ^ I also see this one when bootstrapping 20140924, revision 215539. Interestingly, 20140921 was fine.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 Jiong Wang jiwang at gcc dot gnu.org changed: What|Removed |Added CC||jiwang at gcc dot gnu.org --- Comment #13 from Jiong Wang jiwang at gcc dot gnu.org --- I run into this issue also. my code is revision 215549 my configure options: ../gcc/configure --enable-languages=c,c++ svn+ssh://gcc.gnu.org/svn/gcc/trunk@215549
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 Igor Zamyatin izamyatin at gmail dot com changed: What|Removed |Added CC||izamyatin at gmail dot com --- Comment #14 from Igor Zamyatin izamyatin at gmail dot com --- Seems, started after r215538
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #15 from Igor Zamyatin izamyatin at gmail dot com --- Sorry, it's r215537
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 Kirill Yukhin kyukhin at gcc dot gnu.org changed: What|Removed |Added CC||kyukhin at gcc dot gnu.org --- Comment #16 from Kirill Yukhin kyukhin at gcc dot gnu.org --- patch posted here: https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02090.html
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #17 from Kirill Yukhin kyukhin at gcc dot gnu.org --- Author: kyukhin Date: Wed Sep 24 12:27:30 2014 New Revision: 215552 URL: https://gcc.gnu.org/viewcvs?rev=215552root=gccview=rev Log: PR bootstrap/63235 gcc/ * varpool.c (varpool_node::add): Pass decl attributes to lookup_attribute. Modified: trunk/gcc/ChangeLog trunk/gcc/varpool.c
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #11 from Andi Kleen andi-gcc at firstfloor dot org --- Actually I now get similar errors when doing a standard (LTO) boot strap and running the test suite. Several tests in the test suite fail with the same ICE. That's surprising, I thought the test suite is done with stage2, so the host compiler should not impact it? /home/andi/gcc/git/gcc/gcc/testsuite/g++.dg/ext/mv1.C: In function 'int main()': /home/andi/gcc/git/gcc/gcc/testsuite/g++.dg/ext/mv1.C:40:33: internal compiler error: tree check: expected tree_list, have var_decl in get_attribute_name, at attribs.c:679 0xe2f55b tree_check_failed(tree_node const*, char const*, int, char const*, ...) /home/andi/gcc/git/gcc/gcc/tree.c:9166 0xdb8431 tree_check(tree_node const*, char const*, int, char const*, tree_code) These all fail with the same ICE: FAIL: gcc.target/i386/builtin_target.c (internal compiler error) FAIL: gcc.target/i386/builtin_target.c (test for excess errors) WARNING: gcc.target/i386/builtin_target.c compilation failed to produce executable FAIL: g++.dg/ext/mv1.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv1.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv1.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv1.C -std=gnu++11 (internal compiler error) FAIL: g++.dg/ext/mv1.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv1.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv1.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv1.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv1.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv12.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv12.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv12.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv12.C -std=gnu++11 (internal compiler error) FAIL: g++.dg/ext/mv12.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv12.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv12.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv12.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv12.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv14.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv14.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv14.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv14.C -std=gnu++11 (internal compiler error) FAIL: g++.dg/ext/mv14.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv14.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv14.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv14.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv14.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv15.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv15.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv15.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv15.C -std=gnu++11 (internal compiler error) FAIL: g++.dg/ext/mv15.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv15.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv15.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv15.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv15.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv16.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv16.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv16.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv16.C -std=gnu++11 (internal compiler error) FAIL: g++.dg/ext/mv16.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv16.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv16.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv16.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv16.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv2.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv2.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv2.C -std=gnu++98 compilation failed to produce executable FAIL: g++.dg/ext/mv5.C -std=gnu++11 (test for excess errors) WARNING: g++.dg/ext/mv5.C -std=gnu++11 compilation failed to produce executable FAIL: g++.dg/ext/mv5.C -std=gnu++1y (internal compiler error) FAIL: g++.dg/ext/mv5.C -std=gnu++1y (test for excess errors) WARNING: g++.dg/ext/mv5.C -std=gnu++1y compilation failed to produce executable FAIL: g++.dg/ext/mv6.C -std=gnu++98 (internal compiler error) FAIL: g++.dg/ext/mv6.C -std=gnu++98 (test for excess errors) WARNING: g++.dg/ext/mv6.C -std=gnu++98 compilation failed to produce executable FAIL:
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org --- Created attachment 33482 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33482action=edit use ifdef instead of builtin_cpu_supports This patch fixes the problem for me. Just use an ifdef instead of builtin_cpu_supports.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org --- Created attachment 33483 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33483action=edit Preprocessed file from the cilk runtime library I'm not sure it'll help you because you would likely need a compiler miscompiled in the same way as mine?
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #7 from Markus Trippelsdorf trippels at gcc dot gnu.org --- (In reply to Andi Kleen from comment #6) Created attachment 33483 [details] Preprocessed file from the cilk runtime library I'm not sure it'll help you because you would likely need a compiler miscompiled in the same way as mine? There were surly a number of wrong-code bugs fixed between your version 4.8.1 20130909 and the 4.8.3 release. I cannot reproduce the issue with 4.8.3.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #8 from Andi Kleen andi-gcc at firstfloor dot org --- Yes it doesn't happen when compiling with 4.8 branch tip. So has been fixed. Anyways i'm still going to submit the patch to make the opensuse 13.1 build work again. I don't think it should hurt anything here to use ifdef.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #9 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Andi Kleen from comment #8) Yes it doesn't happen when compiling with 4.8 branch tip. So has been fixed. Anyways i'm still going to submit the patch to make the opensuse 13.1 build work again. I don't think it should hurt anything here to use ifdef. The difference is run-time check vs compile-time check.
[Bug bootstrap/63235] building fails with --disable-bootstrap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63235 --- Comment #10 from Andi Kleen andi-gcc at firstfloor dot org --- Ok fair enough. Can do the runtime check in the else of the ifdef then. Then at least x86_64 or 32bit with SSE would work.