failed to compile ati-drivers-14.12-r3 with kernel 3.19 topic http://forums.gentoo.org/viewtopic-p-7705076.html?sid=3e2e431302e2f485e4eaa40692471063 said there is no problem with kernel 3.18.1 (I try only with kernel 3.19) Reproducible: Always Actual Results: >>> Source prepared. >>> Configuring source in /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work ... >>> Source configured. >>> Compiling source in /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work ... * Preparing fglrx module make -j3 -l3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' GCC_VER_MAJ=4 KVER=3.19.0-gentoo KDIR=/lib/modules/3.19.0-gentoo/build 'CFLAGS_MODULE+=-DMODULE -DATI -DFGL' CFLAGS_MODULE+=-DCOMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space kmod_build make -C /lib/modules/3.19.0-gentoo/build M=/mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory '/usr/src/linux-3.19.0-gentoo' CC [M] /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘kasSetExecutionLevel’: /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4821:5: error: implicit declaration of function ‘__get_cpu_var’ [-Werror=implicit-function-declaration] orig_level = __get_cpu_var(kasExecutionLevel); ^ /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4822:38: error: lvalue required as left operand of assignment __get_cpu_var(kasExecutionLevel) = level; ^ /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level: /mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6398:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function] static int KCL_fpu_save_init(struct task_struct *tsk) ^ cc1: some warnings being treated as errors scripts/Makefile.build:257: recipe for target '/mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed make[2]: *** [/mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 Makefile:1382: recipe for target '_module_/mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x' failed make[1]: *** [_module_/mnt/iscsi/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory '/usr/src/linux-3.19.0-gentoo' Makefile:88: recipe for target 'kmod_build' failed make: *** [kmod_build] Error 2 * ERROR: x11-drivers/ati-drivers-14.12-r3::gentoo failed (compile phase):
Created attachment 397116 [details] emerge --info
Created attachment 397118 [details] build.log
Has been fixed in x11 overlay.
I can confirm the problem exists for ati-drivers-14.12-r3 with kernel 3.19 on ~amd64 on AMD FX(tm)-8150 Processor and A10-6800. I can confirm that the gdm hack in the overlay solves the problem; however, as the version in the overlay is still 14.12-r3 it was not picked up with a simple emerge -av ati-drivers. I replaced the 14.12-r3 ebuild in portage with the 14.12-r3 ebuild from the overlay, rebuilt the digest and manifest, emerged ati-drivers successfully, rebooted kernel 3.19, ran startx, and write this from gnome.
status: ???? 19 Feb 2015; Agostino Sarubbo <ago@gentoo.org> ati-drivers-14.12-r3.ebuild: Stable for x86, wrt bug #530652 18 Feb 2015; Agostino Sarubbo <ago@gentoo.org> ati-drivers-14.12-r3.ebuild: Stable for amd64, wrt bug #530652 doesn't look to broken to me. Yet this is all prior to Reported: 2015-02-21 08:29 UTC by bdouxx Is there any plan to get this fix revbumped into a ati-drivers-14.12-r4? Does this require closing with (WHAT form) of resolution??
still 3.19.3 fails with ati-drivers-14.12-r3 where and how to get the x11 overlay ?
Created attachment 400630 [details] emerge -1av ati-drivers results current results (after a new sync after the old ebuild and x11 overlay were deleted) "emerge -1av ati-drivers" results are attached showing current problems in the third or fourth update of x11-drivers/ati-drivers-14.12-r3. the -gdm-hack use flag caused an attempt to remerge of ati-drivers-14.12-r3 which had been edited without a revision number change. as in the attachment this version of the r3 version fails to build.
Happens to me since last emerge --sync / kernel update Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64) ================================================================= System uname: Linux-4.0.5-gentoo-x86_64-AMD_C-60_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2 KiB Mem: 3644464 total, 1479288 free KiB Swap: 16383992 total, 16383992 free Timestamp of repository gentoo: Thu, 23 Jul 2015 12:30:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv mmx mmxext modules ncurses nls nptl openmp pam pcre readline session sse sse2 sse4a ssl ssse3 tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 ssse3 sse4a" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON