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.
This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:20 EST