[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #12 from mrs at apple dot com 2006-05-19 06:09 --- Ok, finished a: configure --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-shared --enable-threads=posix --enable-haifa --enable-checking=assert --prefix=/usr/gcc-4.2 --with-local-prefix=/usr/local --enable-languages=c,c++,java,objc style build, and it gets through to building cc1 in stage3 and then dies with: /home/mstump/gcc-linux/./prev-gcc/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o cc1 /usr/lib/crt1.o /usr/lib/crti.o /home/mstump/gcc-linux/./prev-gcc/crtbegin.o -L/home/mstump/gcc-linux/./prev-gcc c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o cc1-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /home/mstump/gcc-linux/./prev-gcc/crtend.o /usr/lib/crtn.o collect2: ld returned 1 exit status $ echo $? 1 which I can't explain. I think this might be a code gen bug that is unrelated to my change. A binary search on version numbers might help track it down. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #13 from mrs at gcc dot gnu dot org 2006-05-19 10:07 --- Subject: Bug 27673 Author: mrs Date: Fri May 19 10:06:17 2006 New Revision: 113904 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113904 Log: PR c/27673 * c-parser.c (c_parser_parms_declarator): Initialize had_vla_unspec. (c_parser_parms_list_declarator): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/c-parser.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-05-19 16:38 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||mrs at apple dot com Component|bootstrap |c Keywords||build Summary|Gcc failed to bootstrap on |[4.2 Regression] Gcc failed |Linux |to bootstrap on Linux Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-19 01:01 --- Hmm, this testcase works for me on x86-linux-gnu. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-19 01:04 --- Which stage is this with? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-19 01:05 --- Also this bug report is not that useful without how you configure gcc, etc as all mentioned on the bugs page. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-19 01:15 --- I do get a failure like this in my bootstrap, just not with your testcase. I will attach a testcase once I reduce it. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|bootstrap |c Last reconfirmed|2006-05-19 01:14:40 |2006-05-19 01:15:25 date|| Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-19 01:33 --- Here is a testcase that fails for x86-linux-gnu: struct hblk{int i;}; void GC_check_heap_block(register struct hblk *hbp); void GC_check_heap_proc(){} -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #7 from mrs at apple dot com 2006-05-19 01:39 --- I'm building a cross compiler now... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-05-19 01:39 --- The error message does not even make sense for either of the cases listed here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-05-19 01:40 --- (In reply to comment #7) I'm building a cross compiler now... Just try the testcases on a native compiler, there should be no difference. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #10 from mrs at apple dot com 2006-05-19 02:11 --- A stage1 cross compiler with --enable-checking=assert targeting --target=i686-unknown-linux-gnu hosted on darwin doesn't seem to fail, nor does a darwin native compiler with --enable-checking=assert. I've reviewed the code, and it all looks very safe wrt the data structures. I'm expected an uninitialized scope data structure, but I see they carefully zero it and manage it cleared. Anybody have any hints, I'll see if I can dig out a linux box to try next. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673
[Bug c/27673] [4.2 Regression] Gcc failed to bootstrap on Linux
--- Comment #11 from mrs at apple dot com 2006-05-19 04:01 --- Ok, just finished a: configure --enable-languages=c native build for i686-pc-linux-gnu, worked just fine... I'll try an expanded configure line next... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27673