ATI proprietary drivers fail to compile with Linux kernel 2.6.34-rc4 (or higher). Reproducible: Always Steps to Reproduce: 1. emerge -av ati-drivers Actual Results: The following emerge log snippet show the build errors: /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c:52: error: implicit declaration of function 'kmalloc' /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c:52: warning: initialization makes pointer from integer without a cast /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c: In function 'KCL_WAIT_Remove': /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c:77: error: implicit declaration of function 'kfree' /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c: In function 'KCL_WAIT_CreateObject': /var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.c:94: warning: initialization makes pointer from integer without a cast make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-10.4/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.34-rc5' make: *** [kmod_build] Error 2 * ERROR: x11-drivers/ati-drivers-10.4 failed: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.34-rc5 KDIR=/usr/src/linux kmod_build Expected Results: Successful build Patch from archlinux: http://aur.archlinux.org/packages.php?ID=29111 Bug was mentioned here: http://bbs.archlinux.org/viewtopic.php?pid=742767#p742767
Created attachment 229835 [details, diff] Fixed comilation errors for >=2.6.34-rc4
gentoo-sources-2.6.34 is available in portage now. Would it make sense to include then the patch for ati-drivers-10.4 in portage as well?
(In reply to comment #2) > gentoo-sources-2.6.34 is available in portage now. > Would it make sense to include then the patch for ati-drivers-10.4 in portage > as well? > Currently packet x11-drivers/ati-drivers-10.4 fails to emerge with gentoo-sources-2.6.34. So I think that it makes sence to include this patch in portage. Or should I report a new bug?
Fixed now =)