Re: Massive e2fs corruption with 2.2.9/10?

ron flory (rjflory@feist.com)
Mon, 21 Jun 1999 21:15:08 -0500


Horst von Brand wrote:
>
> ron flory <rjflory@feist.com> said:

> > It seems memcmp() is returning false miscompare status.

> Note that the latest egcs snapshots by default enable optimizations
> based on the assumption that only pointers to the same type can
> create aliases (this according to ANSI C). The in-kernel mem*
> functions break this assumption big time, probably other
> implementations do so too...
>
> Try -fno-strict-aliasing

Hi-

I gave it a shot (egcs 2.91.66). Same false miscompares. But then I
wonder, unless I recompile libc, this option might not help.

Thanks for the info tho-

ron

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/