This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[1.0.2 release] abort() due to dead_notes in schedule_block()



cc1 is dieing in gcc/shched.c:schedule_block() when trying to compile the
linux 2.1 kernel.. i'm using 1.0.2-release configured to cross..

host_canonical = i686-pc-linux-gnu
target_canonical = powerpc-unknown-linux-gnu

Starting program:
/home/users/zab/ppc/x86build/lib/gcc-lib/ppc-linux/egcs-2.90.27/cc1 -quiet
-dumpbase super.c -msoft-float -mmultiple -mstring -O2 -Wall
-Wstrict-prototypes -Wno-uninitialized -version -fomit-frame-pointer
-fsigned-char -fno-builtin -ffixed-r2 -o - < busted.pre >! busted.s
GNU C version egcs-2.90.27 980315 (egcs-1.0.2 release) (ppc-linux)
compiled by GNU C version 2.7.2.3.

Program received signal SIGABRT, Aborted.
0x40029581 in __kill ()
(gdb) info stack
#0  0x40029581 in __kill ()
#1  0x4002939f in raise (sig=6) at ../sysdeps/posix/raise.c:28
#2  0x4002a5bf in abort () at ../sysdeps/generic/abort.c:134
#3  0x81396b8 in schedule_block (b=0, file=0x0)
    at ../../egcs-1.0.2/gcc/sched.c:3449
#4  0x813a9bd in schedule_insns (dump_file=0x0)
    at ../../egcs-1.0.2/gcc/sched.c:4419
#5  0x80658c2 in rest_of_compilation (decl=0x84477c8)
    at ../../egcs-1.0.2/gcc/toplev.c:3483
#6  0x80572cd in finish_function (nested=0)
    at ../../egcs-1.0.2/gcc/c-decl.c:7050
#7  0x8049de7 in yyparse () at c-parse.y:352
#8  0x8064388 in compile_file (name=0x81aa823 "stdin")
    at ../../egcs-1.0.2/gcc/toplev.c:2513
#9  0x8066be6 in main (argc=18, argv=0xbffffb64, envp=0xbffffbb0)
    at ../../egcs-1.0.2/gcc/toplev.c:4416

I can give you guys gdb output, preprocessor output, offending code
fragments, output of -dS (as suggested by rth: using a cc1 with the
abort() taken out), whatever you like.  I tried grokking what all that
REG_DEAD garbage was about but just couldn't quite grasp it.. I'm no gcc
hacker :)

let me know if you're interested and need more info.. 

-- zach

- - - - - -
007 373 5963



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]