invalid address bug in egcs optimizer (snapshot)

Bill Currie bcurrie@tssc.co.nz
Sun Jul 26 17:09:00 GMT 1998


Michal Jaegermann wrote:
> While compiling Linux kernel 2.0.33, after 'make modules' this happens:
> 
> make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/net'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -DMODULE  -c -o slhc.o slhc.c
> cc1: memory violation at pc=12010dc8c rp=12010dda4 (bad address = 11f7fffb8)
> {standard input}: Assembler messages:
> {standard input}:0: Warning: end of file not at end of a line; newline inserted
> {standard input}:531: Error: inappropriate arguments for opcode `ldl'
> gcc: Internal compiler error: program cc1 got fatal signal 11
[snip]
> 
> Dropping an optimization level to -O allows to recompile this object
> file.  Other kernel source files compile fine with -O2 and resulting Linux
> kernel boots and seems to be ok after five minutes of use. :-)

Sounds like the problem I had over the weekend building dosemu (I had
problems with inlining a not quite trivial function whos result was
beeing asigned to a pointer).  Jeff claims to have already fixed my
problem (I haven't been able to check it out yet due to time
constraints) so you might want to do an update via CVS and see if that
helps.

HTH
Bill
-- 
Leave others their otherness



More information about the Gcc-bugs mailing list