[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Has anyone successfully bootstrapped gcc-4.6.3 on m68k?



On 18/05/2012 02:05, Vaugha Brewchuk wrote:
../../../../src/gcc-4.6.3-NS-1/libgcc/../gcc/unwind-pe.h:271:1: internal compiler error: in extract_insn, at recog.c:2109

This bug looks similar to that one:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50882

There are a lot of open bugs in GCC :-(
IMHO this is not your fault.

In such a case, you can try to manually compile the offending file with the exact same command line (copy/paste from the build log), but by decreasing the optimization level (for example, -O1). Sometimes it works, then you can continue to make normally.

And hence my question: has anyone successfully bootstrapped gcc-4.6.3 on
m68k?

I don't bootstrap, I only build a cross-compiler. Less trouble.
Anyway, the bug happens in libgcc, so the situation is the same since it is built in any case.

I see that your problem comes from unwind-dw2.c. This is about DWARF2 exception unwinding. I didn't hit that bug because I use SJ/LJ exceptions instead (due to lack of ELF support on my favorite platform).

The right solution would be to post a simplified, preprocessed test case in GCC's Bugzilla. Unfortunately, GCC people does not seem to care much about m68k issues :-(

Good luck.

--
Vincent Rivière


Reply to: