Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184593 - x11-drivers/nvidia-drivers-1.0.9631-r1 fails with GPL-only symbol paravirt_ops
Summary: x11-drivers/nvidia-drivers-1.0.9631-r1 fails with GPL-only symbol paravirt_ops
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.20
  Show dependency tree
 
Reported: 2007-07-08 11:07 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2008-02-15 17:11 UTC (History)
1 user (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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-07-08 11:07:02 UTC
Pending the planned ~ masking of GCC-4.2 this week (gentoo-dev thread) i thought I'd get an early start. 

I got this little sucker during my emerge -eND system    ( hey, 244 out of 433 packages ain't bad ;) )

  Building modules, stage 2.
make -f /usr/src/linux-2.6.21-gentoo/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-2.6.21-gentoo/Module.symvers -I /tmp/..var/portage/x11-drivers/nvidia-drivers-1.0.9631-r1/work/NVIDIA-Linux-x86-1.0-9631-pkg0/usr/src/nv/Module.symvers -o /tmp/..var/portage/x11-drivers/nvidia-drivers-1.0.9631-r1/work/NVIDIA-Linux-x86-1.0-9631-pkg0/usr/src/nv/Module.symvers -w vmlinux /tmp/..var/portage/x11-drivers/nvidia-drivers-1.0.9631-r1/work/NVIDIA-Linux-x86-1.0-9631-pkg0/usr/src/nv/nvidia.o
WARNING: could not find /tmp/..var/portage/x11-drivers/nvidia-drivers-1.0.9631-r1/work/NVIDIA-Linux-x86-1.0-9631-pkg0/usr/src/nv/.nv-kernel.o.cmd for /tmp/..var/portage/x11-drivers/nvidia-drivers-1.0.9631-r1/work/NVIDIA-Linux-x86-1.0-9631-pkg0/usr/src/nv/nv-kernel.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
 *
 * ERROR: x11-drivers/nvidia-drivers-1.0.9631-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   nvidia-drivers-1.0.9631-r1.ebuild, line 186:   Called linux-mod_src_compile
 *   linux-mod.eclass, line 516:   Called die
 *
 * 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, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-drivers:nvidia-drivers-1.0.9631-r1:20070708-074233.log'.

I know I've seen this error before somewhere, but I'm buggered If i can find it here on b.g.o 

Just so you know, I cant use any of the more recent drivers, im one of those poor bastards with a GF4 ti4200 which Nvidia have told they don't love any more.


Reproducible: Always

Steps to Reproduce:
I dont think you can get more repeatable than 'happens during emerge -eND system'




Portage 2.1.3_rc6 (default-linux/x86/2007.0, gcc-4.2.0/vanilla, glibc-2.6-r0, 2.6.21-gentookz i686)
=================================================================
System uname: 2.6.21-gentookz i686 AMD Athlon(TM) XP 2000+
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 08 Jul 2007 01:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
DISTDIR="/mnt/fission/distfiles/distfiles"
FEATURES="autoaddcvs cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1,-z,combreloc,--sort-common,--enable-new-dtags"
LINGUAS="en_NZ en_GB en en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mysql-testing /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/enlightenment /usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/toolchain /usr/portage/local/layman/php-experimental /usr/portage/local/layman/php-testing /usr/local/portage /usr/src/musicbrainz-overlay_svn /usr/src/xgl/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-08 11:10:44 UTC
Unrelated to gcc/glibc; disable CONFIG_PARAVIRT in your kernel.
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-07-08 11:23:28 UTC
Ah, knew it looked familiar. 

I thought I had already turned that off -last- time i had this problem. 

However, problem solved. Thanks again Jakub.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-08 11:24:32 UTC
Well, the ebuild should check for this at least, until there's a better fix. Reopening.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-07-14 10:58:39 UTC
please re-test with 9639
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-04 01:13:03 UTC
See above and get back to us, please.
Comment 6 SpanKY gentoo-dev 2007-10-03 21:15:46 UTC
latest one is broken (100.14.19) and lacks a test/notice

i just made paravirt_opts EXPORT_SYMBOL() in my kernel to workaround it ;)
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-02-15 17:11:55 UTC
now we die on it.