meulenbr@cstw01.UUCP (Frans Meulenbroeks) (12/01/88)
Hi! I've encountered the following signal 6 in gcc 1.31 System description. 3/60 running sunos 3.4 gcc 1.31 with the following links: w01$ ls -l config.h tm.h md aux-output.c lrwxrwxrwx 1 meulenbr 13 Nov 28 10:20 aux-output.c -> output-m68k.c lrwxrwxrwx 1 meulenbr 9 Nov 28 10:27 config.h -> xm-m68k.h lrwxrwxrwx 1 meulenbr 7 Nov 28 10:19 md -> m68k.md lrwxrwxrwx 1 meulenbr 9 Nov 28 10:18 tm.h -> tm-sun3.h offending file: blockframe.c from gdb version 2.7 description of the surroundings: I was trying to make a gdb for sun 2 on a sun 3, so I used the command config.gdb sun2. No other modifications were made. gcc -v output: w01$ gcc -v -gg -I. -c blockframe.c -o blockframe.o gcc version 1.31 /usr/cstu20/gadgets/lib/gcc-cpp -v -I. -undef -D__GNU__ -D__GNUC__ -Dmc68000 -Dsun -Dunix -D__HAVE_68881__ -Dmc68020 blockframe.c /tmp/cca00517.cpp GNU CPP version 1.31 /usr/cstu20/gadgets/lib/gcc-cc1 /tmp/cca00517.cpp -quiet -dumpbase blockframe.c -version -symout /tmp/cca00517.sym -o /tmp/cca00517.s GNU C version 1.31 (68k, MIT syntax) compiled by GNU C version 1.31. gcc: Program cc1 got fatal signal 6. [some of the above lines are artificially broken] Note: The whole thing goes fine when compiled with -g instead of -gg some output from adb: w01$ adb ~gadgets/lib/gcc-cc1 $c core file = core -- program ``gcc-cc1'' SIGIOT 6: abort orb #0,d0 8 8 _kill(?) _abort() + 6 _symout_block_symbols() + 1a0 _symout_block() + 90 _symout_function(0x8d40c,0x0,0x1de4,0x0,0x0,0x8d05c,0x0) + 78 _symout_function() + 86 _rest_of_compilation(0xa410a) + 76c _finish_function() + 68 _yyparse() + 61a _compile_file(0xefffd18) + 604 _main(0xa,0xefffc98,0xefffcc4) + 632 $r d0 0x0 d1 0x205 d2 0x1dfc d3 0xeffe324 d4 0x0 d5 0x0 d6 0x8d194 _end+0x3218 d7 0x0 a0 0x87f48 Vlist+0x434 a1 0x977a3 a2 0x8d1f0 _end+0x3274 a3 0x8d194 _end+0x3218 a4 0xeffe358 a5 0x17e a6 0xeffe300 sp 0xeffe2f4 pc 0x6df08 _kill+0x6 ps 0xaa250000 0x0 _kill+6: bcss _getpid+0xa I hope this helps. If anyone needs additional info, just drop me a note. -- Frans Meulenbroeks (meulenbr@cst.prl.philips.nl) Centre for Software Technology ( or try: ...!mcvax!philmds!prle!cst!meulenbr)