Bug#285909: kernel-image-2.6.8-9-amd64-k8-smp: kernel compiled with gcc 3.4.2 but now gcc 3.4.3 is in unstable
Package: kernel-image-2.6.8-9-amd64-k8-smp
Version: 2.6.8-5
Severity: normal
I try to compile de nvidia module with the command
module-assistant auto-install nvidia
They are a problem with gcc-3.4 version
the command fail with this log file
Build log starting, file: /var/cache/modass/nvidia-kernel-source.buildlog.2.6.8-9-amd64-k8-smp.1103191390
Date: Thu, 16 Dec 2004 11:03:11 +0100
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 3.4.2
Detected compiler version : 3.4.3
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly alright and you
may be building this module for another kernel in which case
you may ignore this message.
The compiler that will be used to compile this module has been
determined from:
1) the CC environment variable
2) that specified in
/usr/src/kernel-headers-2.6.8-9-amd64-k8-smp/include/linux/compile.h
3) gcc
Using compiler gcc-3.4 version 3.4.3
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-3.4" /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv -f Makefile SYSSRC=/usr/src/kernel-headers-2.6.8-9-amd64-k8-smp KBUILD_PARAMS="-C /usr/src/kernel-headers-2.6.8-9-amd64-k8-smp SUBDIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
*** Failed rivafb module sanity check, but continuing! ***
NVIDIA: calling KBUILD...
make CC=gcc-3.4 -C /usr/src/kernel-headers-2.6.8-9-amd64-k8-smp SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
make[3]: Entering directory `/usr/src/kernel-headers-2.6.8-9-amd64-k8-smp'
echo \#define NV_COMPILER \"`gcc-3.4 -v 2>&1 | tail -n 1`\" > /usr/src/modules/nvidia-kernel/nv/nv_compiler.h
CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o
/usr/src/modules/nvidia-kernel/nv/nv.c:1: erreur: model de code « kernel » n'est pas supporté dans le mode 32 bits
make[4]: *** [/usr/src/modules/nvidia-kernel/nv/nv.o] Erreur 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Erreur 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.6.8-9-amd64-k8-smp'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Erreur 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Erreur 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Erreur 2
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.8-9-amd64-k8-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages kernel-image-2.6.8-9-amd64-k8-smp depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii initrd-tools 0.1.74 tools to create initrd image for p
ii module-init-tools 3.1-rel-2 tools for managing Linux kernel mo
-- no debconf information
Reply to: