Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87848 - nvidia 6629 and 7174 do not build on linux 2.6.11-r3
Summary: nvidia 6629 and 7174 do not build on linux 2.6.11-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 15:59 UTC by Michael Labhard
Modified: 2005-07-10 22:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Labhard 2005-04-03 15:59:51 UTC
This is the output for 7174, but it is identical for 6629.

I have tried 

          USE="amd64" emerge --deep nvidia-kernel

That does not help.

This began after upgrading to linux-2.6.11-r3.  Have tried emerging linux-headers, glibc and gcc without relief.

Calculating dependencies   [32;01m*[0m Determining the location of the kernel source code
 [32;01m*[0m Found kernel source directory:
 [32;01m*[0m     /usr/src/linux
 [32;01m*[0m Found sources for kernel version:
 [32;01m*[0m     2.6.11-gentoo-r3
 [32;01m*[0m Checking for MTRR support...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-1.0-6629-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6629.........................................................................
 [32;01m*[0m Applying nv-amd64-shutup-warnings.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1155389.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1162524.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1165235.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1171869.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1175225.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1182399.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying 2.6 kernel patches
 [32;01m*[0m Applying conftest_koutput_includes.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying nv-disable-preempt-on-smp_processor_id.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying NVIDIA_kernel-1.0-6629-1161283.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Converting NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS=...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
 [32;01m*[0m Preparing nvidia module
Can't exec "cc": No such file or directory at /bin/cc line 268.
Couldn't exec at /bin/cc line 268.
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directorys _PARENT_ with the KBUILD_OUTPUT_PREFIX
environment variable, (or see /etc/env.d/05kernel)

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1

!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 418, Exitcode 2
!!! Unable to make 				    IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, NOT this status message.

  ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6629-r1 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6629-pkg2.run


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Opteron(tm) Processor 246
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 05:19:58)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fPIC"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts cdr crypt cups curl doc esd fam
flac font-server fortran gdbm gif gphoto2 gpm gtk imagemagick imlib ipv6 java
jp2 jpeg junit kde ldap libg++ libwww log4cpp lzw lzw-tiff mikmod motif mozilla
mp3 multilib mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl
plotutils png postgres python qt readline ruby sdl slang spell ssl svg tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales wxwindows
xinerama xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Kris Kersey (RETIRED) gentoo-dev 2005-07-07 07:54:49 UTC
Are you still having this problem emerging the latest nvidia driver?  1.0.7664
or 1.0.7667
Comment 2 Michael Labhard 2005-07-07 15:55:42 UTC
Yes, the error is identical with the 7667 version. 
Comment 3 Michael Labhard 2005-07-10 21:35:47 UTC
After dealing with the "hardened gcc" issue with xorg-x11, X does not start
because "no screens found".  I suspect that emerging nvidia-kernel would solve
this, but I cannot do that because of this bug.  This bug is leaving me without
an X system.  Any suggestions would be appreciated.
Comment 4 Michael Labhard 2005-07-10 22:12:29 UTC
After unmerging colorgcc the problem went away.