Core generated on bootstrap for i386-sequent-sysv4
Frederic Marie
Frederic.Marie@sita.int
Wed Apr 5 12:02:00 GMT 2000
Hello,
I experienced the following fatal error while compiling
gcc 2.95.2 on Sequent Numa machines (i386-sequent-sysv4):
stage2/xgcc -Bstage2/ -B/usr/local/i386-sequent-sysv4/bin/ -DIN_GCC -O2 -g -O2 -DHAVE_CONFIG_H -o genpeep \
genpeep.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "alloca.o" in ?*) echo
alloca.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genpeep ../../gcc/config/i386/i386.md > tmp-peep.c
/bin/sh: 26318 Memory fault - core dumped
make[2]: *** [s-peep] Error 139
make[2]: Leaving directory `/sita/GNU/gcc-2.95.2/OBJDIR/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/sita/GNU/gcc-2.95.2/OBJDIR/gcc'
make: *** [bootstrap] Error 2
I am able to reproduce it manually:
genpeep ../../gcc/config/i386/i386.md > tmp-peep.c
Memory fault(coredump)
The core:
gdb -core core genpeep
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.15.1 (i386-sequent-sysv4), Copyright 1995 Free Software Foundation, Inc...
Core was generated by `genpeep ../../gcc/config/i386/i386.md'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.1...done.
#0 0xbffda4d2 in do_reloc ()
Breakpoint 1 at 0xbfff013c
Breakpoint 2 at 0x80493de: file ../../gcc/genpeep.c, line 440.
Breakpoint 3 at 0xbffb1350
(gdb) bt
#0 0xbffda4d2 in do_reloc ()
#1 0xbffd4ac5 in _relocate ()
#2 0xbffaa38d in _rt_setup ()
#3 0xbffa9fa0 in _rt_boot ()
(gdb) f 2
#2 0xbffaa38d in _rt_setup ()
(gdb) l
443 int
444 main (argc, argv)
445 int argc;
446 char **argv;
447 {
448 rtx desc;
449 FILE *infile;
450 register int c;
451
452 max_opno = -1;
(gdb) dow
#1 0xbffd4ac5 in _relocate ()
(gdb) l
453
454 obstack_init (rtl_obstack);
455
456 if (argc <= 1)
457 fatal ("No input file name.");
458
459 infile = fopen (argv[1], "r");
460 if (infile == 0)
461 {
462 perror (argv[1]);
(gdb) dow
#0 0xbffda4d2 in do_reloc ()
(gdb) l
463 exit (FATAL_EXIT_CODE);
464 }
465
466 init_rtl ();
467
468 printf ("/* Generated automatically by the program `genpeep'\n\
469 from the machine description file `md'. */\n\n");
470
471 printf ("#include \"config.h\"\n");
472 printf ("#include \"system.h\"\n");
I will be more than happy to provide any necessary additional
information.
Regards,
Frederic
More information about the Gcc-help
mailing list