Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31360

Summary: nvidia-kernel-1.0.4499.ebuild fails to compile
Product: Gentoo Linux Reporter: Joshua Lambert <lambej>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joshua Lambert 2003-10-17 09:31:09 UTC
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4499 to /
>>> md5 src_uri ;-) NVIDIA_kernel-1.0-4499.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-4499.tar.gz to
/var/tmp/portage/nvidia-kernel-1.0.4499/work
 * Linux kernel 2.6.0
  [ ok ]ing 2.6.x patch ...
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d
NVdriver nvidia.o nvidia.ko nvidia.mod.c nvidia.mod.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wno-cast-qual -Wno-multichar  -O2 -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4499     -DNV_UNIX   -DNV_LINUX  
-DNV_INT64_OK   -DNVCPU_X86_64 -DNV_64_BITS -DREMAP_PAGE_RANGE_5
-DKBUILD_MODNAME=nvidia -DREMAP_PAGE_RANGE_5  -I. -I/usr/src/linux/include
-I/usr/src/linux/include/asm/mach-default -Wno-cast-qual -mcmodel=kernel
-nostdinc -iwithprefix include -fno-strict-aliasing -fno-common -mno-red-zone
-mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare
-fno-asynchronous-unwind-tables -fomit-frame-pointer
-Wdeclaration-after-statement -Wno-trigraphs -Wno-strict-prototypes  nv.c
cc1: unrecognized option `-Wdeclaration-after-statement'
make: *** [nv.o] Error 1

!!! ERROR: media-video/nvidia-kernel-1.0.4499 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! (no error message)


This occurs with gcc-3.2.3-r2.

Reproducible: Always
Steps to Reproduce:
1.emerge nvidia-kernel-1.0.4499.ebuild
2.
3.

Actual Results:  
Check details.

Expected Results:  
emerged successfully.

gcc-3.2.3-r2 used to compile.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-17 10:08:53 UTC
emerge info ?
Comment 2 Joshua Lambert 2003-10-17 10:26:39 UTC
emerge info is:

Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test7-bk7)
=================================================================
System uname: 2.6.0-test7-bk7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs fixpackages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
motif mpeg ncurses nls pdflib png qt quicktime spell truetype xml2 xmms xv
zlib gdbm berkdb slang readline svga tcltk java sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis gtk opengl -cups X -arts -kde gtk2 -gnome alsa"


Anything else you need, or if this isn't what you wanted I'd be happy to
provide anything further.  (I'm kind of new at this)
Comment 3 Joshua Lambert 2003-10-19 23:34:44 UTC
Quite clearly didn't realize this was AMD64 only.  I'm really sorry about
this.  I'll leave it alone though in case it is an issue for AMD64, but do
please realize that I was compiling it on a 32bit x86 system.  Once again,
sorry for the inconvenience.
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2003-10-20 10:24:44 UTC
No problem :) Yep, it's amd64 only. Soon they'll be an itanium-only version
as well.