Revision of The compiler giving internal compiler errors from 2009, April 20 - 00:41

Printer-friendly version
  • strict warning: Non-static method Text_Wiki::singleton() should not be called statically in /var/www/drupal/6.x/sites/www.mingw.org/modules/pearwiki_filter/pearwiki_filter.module on line 475.
  • strict warning: Non-static method Text_Wiki::factory() should not be called statically in /usr/share/php/Text/Wiki.php on line 448.
  • strict warning: Non-static method Text_Wiki::isError() should not be called statically in /usr/share/php/Text/Wiki.php on line 449.
  • strict warning: Declaration of Text_Wiki_Parse_Emphasis::process() should be compatible with Text_Wiki_Parse::process(&$matches) in /usr/share/php/Text/Wiki/Parse/Mediawiki/Emphasis.php on line 0.

 

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.

Repeatable ICEs

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.

Work around: Recompiling at a lower optimisation level will frequently avoid the ICE and allow your compilation to proceed.

Random ICEs due to hardware problems

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 http://www.bitwizard.nl/sig11/ 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 mingw-users@lists.osdn.me 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.