This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc mainline failed to bootstrap on Linux/ia64
> On Sun, Sep 07, 2003 at 01:13:16AM +0200, Jan Hubicka wrote:
> > > Gcc mainline on Sat Sep 6 07:08:21 PDT 2003 failed to bootstrap on
> > > Linux/ia64. I got
> > >
> > > In file included from /net/gnu/export/gnu/src/gcc/gcc/libjava/include/jvm.h:23,
> > > from /net/gnu/export/gnu/src/gcc/gcc/libjava/exception.cc:22:
> > > ./include/java-threads.h:228: internal compiler error: Segmentation fault
> > > Please submit a full bug report,
> > > with preprocessed source if appropriate.
> > > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> >
> > This appears to be related to change of mine to notice_global_symbol.
> > I just commited fix to different problem that may fix it. Can you
> > please ensure that the following patch is in your tree?
> > * cgraph.c (cgraph_mark_reachable_node): Only enqueue finalized functions.
> > (cgraph_varpool_finalize_decl): Notice global symbol when needed.
> >
>
> The current mainline, on Sat Sep 6 23:22:22 UTC 2003, is even worse.
> The bootstrap never finished stage1 on Linux/i686 and Linux/ia64:
>
> 9790 ? S 0:00 make -j 2 -C build-i686-linux bootstrap
> 20293 ? S 0:00 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd
> /expor
> 20344 ? S 0:00 make DESTDIR= RPATH_ENVVAR=LD_LIBRARY_PATH
> TARGET_SUB
> 25128 ? S 0:00 make CC= stage1/xgcc -Bstage1/
> -B/usr/gcc-3.4/i686-pc
> 25658 ? S 0:00 stage1/xgcc -Bstage1/
> -B/usr/gcc-3.4/i686-pc-linux-gn
> 25659 ? R 277:24 stage1/gnat1 -I- -I. -Iada
> -I/export/gnu/src/gcc/gcc/
> 25672 ? S 0:00 stage1/xgcc -Bstage1/
> -B/usr/gcc-3.4/i686-pc-linux-gn
> 25673 ? R 277:16 stage1/gnat1 -I- -I. -Iada
> -I/export/gnu/src/gcc/gcc/
>
> stage1/xgcc -Bstage1/ -B/usr/gcc-3.4/i686-pc-linux-gnu/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada -I/export/gnu/src/gcc/gcc/gcc/ada
> /export/gnu/src/gcc/gcc/gcc/ada/sem_smem.adb -o ada/sem_smem.o
> stage1/xgcc -Bstage1/ -B/usr/gcc-3.4/i686-pc-linux-gnu/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada -I/export/gnu/src/gcc/gcc/gcc/ada
> /export/gnu/src/gcc/gcc/gcc/ada/sem_type.adb -o ada/sem_type.o
> stage1/xgcc -Bstage1/ -B/usr/gcc-3.4/i686-pc-linux-gnu/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada -I/export/gnu/src/gcc/gcc/gcc/ada
> /export/gnu/src/gcc/gcc/gcc/ada/sem_util.adb -o ada/sem_util.o
I am just testing the attached patch I will commit as obvious if it
passes.
It should help you too.
Sun Sep 7 14:45:44 CEST 2003 Jan Hubicka <jh@suse.cz>
* cfgcleanup.c (try_simplify_condjump): Fix.
Index: cfgcleanup.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgcleanup.c,v
retrieving revision 1.93
diff -c -3 -p -r1.93 cfgcleanup.c
*** cfgcleanup.c 7 Sep 2003 00:51:52 -0000 1.93
--- cfgcleanup.c 7 Sep 2003 12:44:49 -0000
*************** try_simplify_condjump (basic_block cbran
*** 182,191 ****
next = NEXT_INSN (insn);
if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0)
{
! if (insn == end)
{
jump_block->end = PREV_INSN (insn);
! if (jump_block->end == end)
break;
}
reorder_insns_nobb (insn, insn, end);
--- 182,191 ----
next = NEXT_INSN (insn);
if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0)
{
! if (insn == jump_block->end)
{
jump_block->end = PREV_INSN (insn);
! if (insn == end)
break;
}
reorder_insns_nobb (insn, insn, end);