~ # emerge -1av ati-drivers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/ati-drivers-14.12-r3:1::gentoo [14.12-r3:1::x11] USE="modules qt4 -debug -pax_kernel -static-libs (-gdm-hack%)" ABI_X86="32 (64)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Running pre-merge checks for x11-drivers/ati-drivers-14.12-r3 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.19.3-gentoo/build * Found sources for kernel version: * 3.19.3-gentoo * Checking for suitable kernel configuration options... [ ok ] * Checking for suitable kernel configuration options... [ ok ] >>> Emerging (1 of 1) x11-drivers/ati-drivers-14.12-r3::gentoo * amd-catalyst-omega-14.12-linux-run-installers.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * xvba-sdk-0.74-404001.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.19.3-gentoo/build * Found sources for kernel version: * 3.19.3-gentoo * * Please note that this driver only supports graphic cards based on * Evergreen chipset and newer. * This includes the AMD Radeon HD 5400+ series at this moment. * * If your card is older then use x11-drivers/xf86-video-ati * For migration informations please refer to: * http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml * >>> Unpacking source... >>> Unpacking amd-catalyst-omega-14.12-linux-run-installers.zip to /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work >>> Unpacking xvba-sdk-0.74-404001.tar.gz to /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/xvba_sdk >>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/extra /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/extra >>> Preparing source in /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work ... * Applying ati-powermode-opt-path-3.patch ... [ ok ] * Applying ati-drivers-x32_something_something.patch ... [ ok ] * Applying ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch ... [ ok ] * Applying ati-drivers-13.8-beta-include-seq_file.patch ... [ ok ] * Applying fgl_glxgears-do-not-include-glATI.patch ... [ ok ] * Applying fix-the-linux-3.17-no_hotplug-error.patch ... [ ok ] * Applying use-kernel_fpu_begin.patch ... [ ok ] * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work ... * Preparing fglrx module make -j9 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.3-gentoo KDIR=/lib/modules/3.19.3-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.3-gentoo/build M=/var/tmp/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.3-gentoo' CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c: In function ‘KCL_IOMMU_CheckInfo’: /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c:237:21: warning: unused variable ‘pdev’ [-Wunused-variable] struct pci_dev* pdev = (struct pci_dev*)pcidev; ^ /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c: In function ‘KCL_IOMMU_RestoreCBs’: /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘kasSetExecutionLevel’: /var/tmp/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); ^ /var/tmp/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; ^ /var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level: /var/tmp/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 '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed make[2]: *** [/var/tmp/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_/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x' failed make[1]: *** [_module_/var/tmp/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.3-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): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/ati-drivers-14.12-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/ati-drivers-14.12-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x' * S: '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work' >>> Failed to emerge x11-drivers/ati-drivers-14.12-r3, Log file: >>> '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/temp/build.log' * Messages for package x11-drivers/ati-drivers-14.12-r3: * * Please note that this driver only supports graphic cards based on * Evergreen chipset and newer. * This includes the AMD Radeon HD 5400+ series at this moment. * * If your card is older then use x11-drivers/xf86-video-ati * For migration informations please refer to: * http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml * ERROR: x11-drivers/ati-drivers-14.12-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-drivers/ati-drivers-14.12-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-drivers/ati-drivers-14.12-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/temp/environment'. * Working directory: '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work/common/lib/modules/fglrx/build_mod/2.6.x' * S: '/var/tmp/portage/x11-drivers/ati-drivers-14.12-r3/work'