Summary: | x11-drivers/nvidia-drivers-256.53 fails to compile on release candidate kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Unspecified | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ag, jer, karl, spock |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Assign .ioctl field only if HAVE_UNLOCKED_IOCTL is not defined |
Description
Juergen Rose
2010-09-05 07:19:45 UTC
You can revert kernel commit b19dd42faf413b4705d4adb38521e82d73fa4249 or try to apply the patch I'll attach shortly. Created attachment 246256 [details, diff]
Assign .ioctl field only if HAVE_UNLOCKED_IOCTL is not defined
If I switch from vanilla-sources-2.6.36_rc3 to gentoo-sources-2.6.35-r5 for /usr/src/linux I can emerge nvidia-drivers-256.53. Yes, obviously it's a problem that happens only in 2.6.36. That deprecated field has been removed in the ongoing work to free the kernel from the BKL. FYI, x11-drivers/nvidia-drivers-260.19.06 (currently masked) compiles just fine Confirm failure with 2.6.36-rc6 Confirm success with 2.6.36-rc6 and the supplied patch from comment #2 in case of, this also confirm it for the x86 arch emerge --info nvidia-drivers Portage 2.1.9.13 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.36-rc6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-rc6-i686-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 02 Oct 2010 22:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.67 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe -mfpmath=sse" DISTDIR="/mnt/faramir/distfiles" EMERGE_DEFAULT_OPTS="--keep-going -j8" FEATURES="assume-digests binpkg-logs buildpkg distcc fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org ftp://mirror.ovh.net/gentoo-distfiles http://gentoo.mirror.sdv.fr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-Ol -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://faramir/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amarok audacious bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbase dbus device-mapper divx dri dts dvd dvdr dvdread embedded emboss encode exif extras fam fbsplash ffmpeg firefox flac fortran ftp gdbm gdu gif glitz gmedia gnome gnutls gstreamer gtk hddtemp iconv icu imap ipod java javascript jpeg jpeg2k lame lcms ldap libcaca libnotify live lm_sensors logrotate lzo mad maildir matroska mdnsresponder-compat midi mikmod mjpeg mng modplug modules moznomail moznoxft mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap musepack ncurses network nfs nls nptl nptlonly ntfs ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline reflection sdl sdl-image sensord session skins slang smp spell ssl startup-notification stream subtitles svg sysfs tcpd tga theora threads thunderbird tiff timidity truetype udev unicode usb v4l v4l2 vcd vdpau vlm vorbis webkit wma wmf wxwindows x264 x86 xcb xcomposite xine xinerama xml xorg xosd xulrunner xv xvid zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= x11-drivers/nvidia-drivers-256.53 was built with the following: USE="acpi gtk -custom-cflags (-multilib)" Had the same error. vanilla 36-r6 I unmasked the x11-drivers/nvidia-drivers-260.19.06 and was compiled without patching. We never have and never will support release candidate kernels. (In reply to comment #8) > We never have and never will support release candidate kernels. > I don't get it. When 2.6.36 will be released (in a few days) that version of nvidia-drivers, which is the current official one, won't build. (In reply to comment #9) > I don't get it. See comment #7 x11-drivers/nvidia-drivers-260.19.06 works fine (In reply to comment #10) > (In reply to comment #9) > > > I don't get it. > See comment #7 x11-drivers/nvidia-drivers-260.19.06 works fine > Also x11-drivers/nvidia-drivers-260.19.12 installed fine too. Haven't run it yet though. |