Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127836 - emerge nvidia-kernel-1.0.8178-r3 fails
Summary: emerge nvidia-kernel-1.0.8178-r3 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 02:48 UTC by Giorgio
Modified: 2006-03-28 03:15 UTC (History)
0 users

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 Giorgio 2006-03-28 02:48:50 UTC
The ebuild fails with the following error:

  ld -m elf_x86_64  -r -o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nvidia.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-kernel.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-vm.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-agp.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.o /var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-registry.o
ld: Relocatable linking with relocations from format elf32-i386 (/var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-kernel.o) to format elf64-x86-64 (/var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nvidia.o) is not supported
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nvidia.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.8178-r3/work/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.8178-r3 failed.
!!! Function linux-mod_src_compile, Line 509, 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.

The installer from nvidia site works as expected building the nvidia.ko module.

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdio cdr cli cpudetection crypt ctype cups curl dba dbus dlloader dpms dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg fftw foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imlib iproute2 ipv6 jpeg kde kerberos kernel_linux lcms libg++ libwww lm_sensors lua lzo lzw lzw-tiff mad mbox memlimit mikmod mime mng motif mp3 mpeg mysql mysqli ncurses nls nptl nsplugin nvidia ogg opengl oss pam pcre pdflib perl php png posix python qt quicktime readline samba sdl session simplexml snmp soap sockets spell spl sqlite ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb userland_GNU userlocales vhosts vim vorbis x86 xml xml2 xmms xpm xsl xv xvid zip zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-28 03:15:15 UTC
Remove x86 from your use flags!