[Top] [All Lists]

How reliable is GCC-3.3.1 wrt building mipsel-linux kernel?

Subject: How reliable is GCC-3.3.1 wrt building mipsel-linux kernel?
From: David Daney <>
Date: Tue, 18 Nov 2003 17:40:31 -0800
Original-recipient: rfc822;
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
The subject line kind of says it all.

We are running linux 2.4.18 on a mips4Kc core (ATI Xilleon 225) and find it to be quite stable when compiled with gcc 2.96/binutils

When the kernel is compiled with gcc 3.3.1/binutils it also seems to be quite stable, except for when one certian driver is used (basically an mpeg decoder driver). Under certian conditions the system seems to "freeze" (no messages printed anywhere and only a hard reset will recover).

Yeah that is a good bug report...

But my main question is this: Have other people experienced miscompilation (ie bad code generation) with gcc 3.3.1?

One thing I am aware of is that if -fno-common is not used, bad code is generated for accessing some large structures. But I we use -fno-common for all compilation.

I am trying to figrue out if I should be looking more at bugs in the driver, or if I should give up on gcc 3.3.1 and be done with it.

Thanks in advance for any insight.

David Daney.

<Prev in Thread] Current Thread [Next in Thread>