Revision of The compiler giving internal compiler errors from 2008, October 27 - 16:29

Printer-friendly version


TODO: Reformat for MediaWiki formatting

!Why does gcc give _internal error_ messages?

If you see diagnostic messages like

../include/wx/ctrlsub.h:156: internal error: Segmentation fault

then try running the same compile command again.

Some _internal error_ messages really are defects in the compiler.
If you have a reproducible test case, then mention it on the mailing
list. Others may know about your problem already and be able to help.

But if you see random _internal error_ messages that go away when
you recompile the same code, then it's almost certainly a hardware
problem. This page explains why
that's the case even if gcc is the only program that commonly has
this problem.

This wiki is not a forum for discussion of usage issues. Please use the list instead. We do not allow creation of comments by anonymous or untrusted users, on any page.
Site Status

Site maintenance performed successfully, site online Dec 13th 12:00 AM Eastern.