gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ?

From: Rob van Nieuwkerk (robn@verdi.et.tudelft.nl)
Date: Tue Jun 17 2003 - 07:37:45 EST


Hi,

I found out that O_DIRECT does not work correctly on 2.4 kernels
compiled with the RH gcc-3.2.2-5 on RH9. It is working fine with
kernels compiled with the RH gcc-2.96-113 on RH 7.3.

The sympton is that read() only returns zeroes (as data). No errors.
It happens with several 2.4 kernels I have tried, including 2.4.21-ac1.

I don't know if this is a RH9 gcc specific bug or if it is a generic
gcc3 problem. That's why I post here: to find out if more people
have seen this.

I also filed a bug in RH's bugzilla. See this for more details:

        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97529

        greetings,
        Rob van Nieuwkerk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:20 EST