gcc: Internal error: Segmentation fault (program as)
Posted: Thu Feb 10, 2011 1:34 am
I cross compiled a gcc using cygwin based on http://wiki.osdev.org/GCC_Cross-Compiler.
I used TARGET=i686-elf.
When trying to compile my code, however, gcc (as) crashes.
GNU C (GCC) version 4.5.2 (i686-elf)
compiled by GNU C version 4.5.2, GMP version 4.3.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 747dd349d2a5151cf792b1e7fc4359f6
COLLECT_GCC_OPTIONS='-v' '-std=c99' '-Wno-main' '-fno-builtin' '-c' '-o' 'interrupts.o' '-mtune=generic' '-march=pentiumpro'
/usr/local/lib/gcc/i686-elf/4.5.2/../../../../i686-elf/bin/as.exe --traditional-format -o interrupts.o /tmp/cc0XQD9g.s
i686-elf-gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
There are a hand full of bug reports with this title, but no solutions.
It would be nice if someone told me what I'm doing wrong.
System: Win7x64 (not planning to use x64) with Cygwin and msys with Intel Core I5.
Thanks.
I used TARGET=i686-elf.
When trying to compile my code, however, gcc (as) crashes.
GNU C (GCC) version 4.5.2 (i686-elf)
compiled by GNU C version 4.5.2, GMP version 4.3.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 747dd349d2a5151cf792b1e7fc4359f6
COLLECT_GCC_OPTIONS='-v' '-std=c99' '-Wno-main' '-fno-builtin' '-c' '-o' 'interrupts.o' '-mtune=generic' '-march=pentiumpro'
/usr/local/lib/gcc/i686-elf/4.5.2/../../../../i686-elf/bin/as.exe --traditional-format -o interrupts.o /tmp/cc0XQD9g.s
i686-elf-gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
There are a hand full of bug reports with this title, but no solutions.
It would be nice if someone told me what I'm doing wrong.
System: Win7x64 (not planning to use x64) with Cygwin and msys with Intel Core I5.
Thanks.