when i try to emerge alsa-driver-0.9.3b(c).ebuild and too the latest nvidia-kernel: nvidia-kernel-1.0.4363-r1 i got from alsa ebuild: checking for GCC version... Kernel compiler: gcc-Version 3.3 (Gentoo Linux 1.4, PVR 3.3) Used compiler: gcc (GCC) 3.3 (Gentoo Linux 1.4, PVR 3.3) Fatal error: Compiler type does not match kernel was emerged. configured and compiled with the same gcc version. nvidia-kernel: /bin/sh: -c: line 1: syntax error near unexpected token `Gentoo' /bin/sh: -c: line 1: `if [ -z yes ]; then if [ (Gentoo != (Gentoo ]; then echo " "; echo "You appear to be compiling the NVIDIA kernel module with "; echo "a compiler different from the one that was used to compile "; echo "the running kernel. This may be perfectly fine, but there "; echo "are cases where this can lead to unexpected behaviour and "; echo "system crashes. "; echo " "; echo "If you know what you are doing and want to override this "; echo "check, you can do so by setting IGNORE_CC_MISMATCH. "; echo " "; echo "In any other case, set the CC environment variable to the "; echo "name of the compiler that was used to compile the kernel. "; echo " "; echo -en "\033[1;31m"; echo -e "*** Failed cc sanity check. Bailing out! ***"; echo -en "\033[0m"; exit 1; fi fi' make: *** [gcc-check] Fehler 2 !!! ERROR: media-video/nvidia-kernel-1.0.4363-r1 failed. !!! Function src_compile, Line 104, Exitcode 2 !!! (no error message) obvious the problem is the same like above surprisingly alsa-driver-0.9.3a configured and compiled correctly Reproducible: Always Steps to Reproduce: 1. emerge alsa-driver-0.9.3b or 2. emerge nvidia-kernel 3. Actual Results: see details Expected Results: see details Portage 2.0.48 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2,2.3.2-r1) ================================================================= System uname: 2.4.20-wolk4.0s i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline aalib svga tcltk java X sdl gpm tcpd pam ssl perl python imlib oggvorbis gtk motif opengl mozilla dvd fbcon gtk2 gtkhtml jikes tiff xfs xinerama xml xosd -apm -arts -cups -kde -qt -esd -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="ccache sandbox distcc cvs"
Pretty much have the same things installed. Works fine this side. I will have a look however tonight.
i have no idea why, but i can emerge alsa-driver-0.9.3c-r1 without having any problems. too when i compile the kernel with gcc-3.2.3-r1 and alsa-driver with gcc-3.3. also nvidia-kernel has no problem anymore. so i think this is too related to the hammer patch of gcc-3.3
Resolving as FIXED, as per Comment #2, the issue may have been related to the Hammer patch found in gcc-3.3, and we are now on gcc-3.3.1, where that patch isn't used anymore.