This is the same behavoir I get (floppy.c, cc1) when I run gcc 2.7.2
WITH THE BUGGY PENTIUM ENHANCEMENTS.
Gee, I just noticed before sending this message that you're not even
using a Pentium. I originally wrote:
You must be doing that, right? Or are you really running 2.7.2 stock?
I don't think that you are. Get an older gcc object & the source to
2.7.2, and recompile 2.7.2, or get the 2.7.2 binaries themselves
(without the pentium enhancement).
Many, many people may stand up and tell you you have a hardware bug
except that, as you say:
- It always happens while compiling drivers/block/floppy.c;
However, the following is information I've never seen before! Good
going ... *I* had failures with this. Perhaps you have actually
uncovered a new bug ... or perhaps you really *do* have a hardware
error. The URL for sig11's caused by HW errors is now (it moved)
http://www.bitwizard.nl/sig11/.
- Manual compilation of floppy.c with the -pipe option removed
from gcc's command line solves the problem;
I was using an older setup (libc5.0.9, ld.so.1.7.12, procps-0.99,
binutils that came with SW 3.0.0) when I was getting the
gcc-pentium-enhancements-bug error (I only recently upgraded), perhaps
this explains the different behavoir you get when using -pipe? I
don't know.
*Something* about floppy.c is a good test for finding these types of
bugs. Like I always said, I don't trust floppies ...