Compiler error in building dosemu-0.99.3

David Ronis
Fri Nov 6 08:56:00 GMT 1998

I'm building dosemu-0.99.3 with egcs-1.1, using the unmodified makefile
that comes with the source on an i586 running linux-2.0.35.  The compilation 
fails in several places.  For example:

gcc -c -O2 -fomit-frame-pointer -m486 -malign-loops=2 -malign-jumps=2 
-malign-functions=2 -MD  -pipe -DUSING_NET   -Wall -I/dosemu-0.99.3/src/include 
-I/dosemu-0.99.3/src/dosext/dpmi -I/dosemu-0.99.3/src/include/slang 
-I/usr/X11R6/include  -o rtc.o rtc.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [rtc.o] Error 1
make[2]: Leaving directory `/dosemu-0.99.3/src/base/dev/misc'

A similar problem happens in src/base/async/int.c.

If I lower the optimization to -O1 it works.  Sounds like a compiler bug.

David Ronis

More information about the Gcc-bugs mailing list