Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: compiling modules with gcc 3.2 | From | Arjan van de Ven <> | Date | 25 Apr 2003 11:06:24 +0200 |
| |
On Fri, 2003-04-25 at 08:31, devnetfs wrote: > Hello, > > Will kernel modules compiled with gcc 3.2 load in kernel compiled with > gcc 2.96 (RH system)? The RH 8.0 release notes state that 2.96 > compiled modules can't be loaded on RH8.0 (as its compiled using gcc > 3.2). So > does the reverse also hold true?
yes
> Either way why is this so? AFAIK gcc 3.2 has abi incompatiblities > w.r.t. C++ and not C (which the kernel+modules are written in).
there are some cornercase C ABI changes but nobody except DAC960 will ever hit those. The more serious change is that the kernel contains workarounds for older compilers (the test used is major < 3) that changes the size of structures etc etc, and that breaks the module stuff. [unhandled content-type:application/pgp-signature] | ![\](/images/icornerr.gif) |