x11-drivers/ati-drivers is picky: it needs a bunch of kernel options in various non-obvious positions. In order to help people fix theri problems without going to google or looking at the ebuild, I propose the following format for things of this nature: eerror "${P} requires whatever() in the kernel." eerror "Please enable it:" eerror " CONFIG_WHATEVER=y" eerror "in /usr/src/linux/.config or" eerror " Config category --->" eerror " [*] Enable whatever" eerror "in 'menuconfig'" die "CONFIG_WHATEVER not enabled" It's similar to how CONFIG_PARAVIRT works in the same ebuild currently. Reproducible: Always Steps to Reproduce: Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r0, 2.6.27-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r7-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.2.5 Timestamp of tree: Mon, 23 Feb 2009 14:30:01 +0000 distcc 3.0 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.3.4 sys-devel/autoconf: 2.13, 2.63 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.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en ja" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/portage/local/layman/d /usr/portage/local/layman/pro-audio /usr/portage/local/layman/Spring /usr/portage/local/layman/jbrout /usr/portage/local/layman/kde-testing /usr/portage/local/layman/qting-edge /usr/portage/local/layman/gnustep /usr/portage/local/layman/voyageur /usr/portage/local/layman/gentoojp /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi aim alsa amd64 anthy bash-completion berkdb branding bzip2 cairo ccache cddb cdinstall cdparanoia cdr cjk cli console cpudetection cracklib crypt css cups d dbus dio divx divx4linux dmi dri dvd dvdnav dvdr dvdread enca encode erandom exif fat ffmpeg firefox fortran freewnn ftp fuse gdbm gif glitz gmedia gphoto2 gpm gstreamer hal hddtemp hfs high-ints highlight history hpn iconv ieee1394 imagemagick imlib immqt inherit-graph inkjar ipod ipv6 isdnlog jabber jack java javascript jingle joystick jpeg jpeg2k kde kdeenablefinal kdeprefix kdrive ladspa lame lm_sensors logrotate matroska maya-shaderlibrary midi mikmod mime mmap mmx mmx2 mmxext mng mp3 mpeg msql mtp mudflap multilib musepack musicbrainz ncurses nls nocd nptl nptlonly nsplugin nxclient offensive ogg openal opengl openmp oscar pam pcre pdf perl pertty png posix postgres pppd python qt qt3support qt4 readline samba sasl sdl semantic-desktop server session sharedmem simplexml smp sndfile soap sockets spell spl sqlite sqlite3 sse sse2 ssl ssse3 svg sysfs tcpd theora threads tiff timidity truetype unicode usb vcd verbose videos vorbis wifi wmf wmp wxwindows x264 xcomposite xine xinerama xml xorg xpm xprint xv xvid yahoo zlib" ALSA_CARDS="intel8x0m" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="fglrx radeonhd radeon tdfx voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 183209 [details] diff against ati-drivers-8.573-r1.ebuild Here's a diff against my local copy that I whipped out with a lot of copy/paste effecting the changes I propose (and a couple minor grammar tweaks).
Reassigning to/CCing maintainers, CCing x11-drivers herd as well.
The patch looks fine, time to address 2.6.29 issues and I'll add it to the ebuild for the new release
I disabled "Enable unused/obsolete exported symbols" in Kernel hacking section of kernel config for quite some time and it worked fine with Catalyst 9.3 and 9.5 (the latter just tested with NWN and Neverball). Probably I used some older versions too, but I don't remember which ones. I have a 64bits environment with kernel version 2.6.28.
Fixed in cvs. Thanks for nice and descriptive comments.