Bug#334348: kernel-kbuild-2.6-3: Warning for mismatched gcc versions suggested
tags 334348 + wontfix
thanks
On Mon, Oct 17, 2005 at 02:13:40PM -0400, Marv Stodolsky wrote:
> Package: kernel-kbuild-2.6-3
> Version: 2.6.8-2
> Severity: wishlist
> Tags: patch
>
> kernel-kbuild is used for building modem drivers and others.
> But a properly compiled module will under 2.6.n fail to load if the
> gcc versions of driver and host kernel are not adequately matched.
> Perhaps put a warning in kernel-kbuild like:
>
> The Major.Minor versions differ in the designated compiler $GCC and the
> $GCC_PC used in kernel assembly!!"
> But there must be a match on the target for driver installation,
> of gcc Major.Minor versions of kernel and drivers!!
> Otherwise the drivers will fail to load with warning:
> Invalid module format!!"
> See http://linmodems.technion.ac.il/archive-fifth/msg04252.html
>
> marvstod@comcast.net
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (990, 'testing')
2.6.8 kernels and kernel-kbuild-2.6-3 are fully obsoleted for testing, which
is what you are running, you should run 2.6.12 kernels there, which should
allow to build modules just fine with just the
linux-headers-<version>-<abi>-<flavour> packages. Upcoming 2.6.14 packages
should have an updated external modules policy which will explain this and
make everything much easier.
Friendly,
Sven Luther
Reply to: