mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ?
@ 2003-06-17 12:37 Rob van Nieuwkerk
  2003-06-17 14:01 ` Felipe Alfaro Solana
  0 siblings, 1 reply; 3+ messages in thread
From: Rob van Nieuwkerk @ 2003-06-17 12:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: robn, Arjan van de Ven, Alan Cox

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ?
  2003-06-17 12:37 gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ? Rob van Nieuwkerk
@ 2003-06-17 14:01 ` Felipe Alfaro Solana
  2003-06-17 16:29   ` Rob van Nieuwkerk
  0 siblings, 1 reply; 3+ messages in thread
From: Felipe Alfaro Solana @ 2003-06-17 14:01 UTC (permalink / raw)
  To: Rob van Nieuwkerk; +Cc: LKML, Arjan van de Ven, Alan Cox

On Tue, 2003-06-17 at 14:37, Rob van Nieuwkerk wrote:
> 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.

Could you please try with gcc 3.3? I had similar problems when compiling
2.5 kernels with gcc 3.2. Compiling them with gcc 3.3 or 2.96 fixed the
problems.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ?
  2003-06-17 14:01 ` Felipe Alfaro Solana
@ 2003-06-17 16:29   ` Rob van Nieuwkerk
  0 siblings, 0 replies; 3+ messages in thread
From: Rob van Nieuwkerk @ 2003-06-17 16:29 UTC (permalink / raw)
  To: Felipe Alfaro Solana; +Cc: Rob van Nieuwkerk, LKML, Arjan van de Ven, Alan Cox


Felipe Alfaro Solana wrote:
> On Tue, 2003-06-17 at 14:37, Rob van Nieuwkerk wrote:
> > 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.
> 
> Could you please try with gcc 3.3? I had similar problems when compiling
> 2.5 kernels with gcc 3.2. Compiling them with gcc 3.3 or 2.96 fixed the
> problems.

I compiled a 2.4.21-ac1 kernel with the gcc-3.3-7 packages from RH
Rawhide.  This solves the problem: O_DIRECT working correctly again.

	greetings,
	Rob van Nieuwkerk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-17 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 12:37 gcc-3.2.2 miscompiles kernel 2.4.* O_DIRECT code ? Rob van Nieuwkerk
2003-06-17 14:01 ` Felipe Alfaro Solana
2003-06-17 16:29   ` Rob van Nieuwkerk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®