egcs 1.0.1 miscompiles Linux 2.0.33

Manfred Hollstein manfred@s-direktnet.de
Sun Jan 11 08:39:00 GMT 1998


On Sat, 10 January 1998, 23:45:46, ig25@mvmap66.ciw.uni-karlsruhe.de wrote:

 > [x-posted to linux-kernel and egcs mailing lists]
 > 
 > Compiling the Linux kernel 2.0.33 with haifa-enabled egcs 1.0.1 causes a
 > repeatable kernel oops for me in vortex_open() during ifconfig.
 > I had used "-O3 -fomit-frame-pointer -mcpu=pentium" as the
 > architecture-specific settings for a 586.  This does not happen with
 > gcc 2.7.2.1.
 > 
 > Unable to handle kernel paging request at virtual address f6003b0d
 > current->tss.cr3 = 01d36000, 
 > *pde = 00000000
 > Oops: 0000

I saw similar behaviour with egcs and (even worse) with the latest gcc-2.8.0
snapshot. Interestingly, kernels >= 2.1.77 do not have such problems, so my
guess is, it's not only the compiler.

Manfred



More information about the Gcc mailing list