[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334348: kernel-kbuild-2.6-3: Warning for mismatched gcc versions suggested

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


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-kbuild-2.6-3 depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

-- no debconf information

Reply to: