James Murray wrote:
I have attempted to build gcc-4.3.0 with --target=m6812-elf and using
plain binutils-2.18 built with the same target, prefix and program
prefix as gcc, however gcc fails:
../../../gcc-4.3.0/libgcc/../gcc/libgcc2.c: In function ‘__negdi2’:
../../../gcc-4.3.0/libgcc/../gcc/libgcc2.c:80: internal compiler error:
Segmentation fault
It is unclear to me if you have modified GCC. If so, this page contains
some pointers about debugging GCC:
http://gcc.gnu.org/wiki/DebuggingGCC
You might find it helpful if you want to try to figure out where things
are going wrong.
Otherwise if it is an unmodified GCC, you can file a bug report as
explained here:
http://gcc.gnu.org/bugs.html
David Daney