Re: Module problems with gcc-3.2.x (please CC hamilton@sedsystems.ca)

From: Felipe Alfaro Solana (felipe_alfaro@linuxmail.org)
Date: Wed May 21 2003 - 17:09:23 EST


On Wed, 2003-05-21 at 23:20, Kendrick Hamilton wrote:
> Hi,
> I have been continuing the track down problems with a module I am
> making. If I compile the kernel and module with gcc-2.95.3, the module
> installs and works correctly. If I compile the kernel and module with
> gcc-3.2.3, the module finishes installation and its interrupt service
> routine runs, then the kernel crashes. I am using linux 2.4.18 and 2.4.20.
> The computers are all pentium computers (I, II, III, celeron, xeon) with
> Redhat Linux 7.3. Any suggestions would be appreciated.

Can't offer any suggestion, except that I suffered the same pain as you
with 2.5.69-mm7: if I compile 2.5.69-mm7 with gcc 3.2.3, the ymfpci
(Yamaha DS-XG PCI driver) causes a lot of problems, like oopses when
compiled as a module, or panics when built-in.

The problems went away the moment I compiled using gcc 2.96. I think
this is caused by some gcc compiler bug (in fact, I've never been able
to make gcc 3.2 compile itself and pass all tests).

-
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 : Fri May 23 2003 - 22:00:46 EST