--=_courier-3894-1051261659-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Fri, 2003-04-25 at 08:31, devnetfs wrote:
> Hello,
>=20
> 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.
--=_courier-3894-1051261659-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+qPqQxULwo51rQBIRAnHgAJ9sU4hbucbSQJqc3qDIiUxLUF61ZgCfdRuG
zkiJ6yNSK5goWbJv87sHotc=
=0Asr
-----END PGP SIGNATURE-----
--=_courier-3894-1051261659-0001-2--