Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317927 - x11-drivers/ati-drivers-10.4 and kernel >=2.6.34-rc4
Summary: x11-drivers/ati-drivers-10.4 and kernel >=2.6.34-rc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 20:01 UTC by Nawwar Kabbani
Modified: 2010-05-21 09:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed comilation errors for >=2.6.34-rc4 (ati-drivers-2.6.34-rc4.patch,358 bytes, patch)
2010-04-30 20:07 UTC, Nawwar Kabbani
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nawwar Kabbani 2010-04-30 20:01:33 UTC
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
Comment 1 Nawwar Kabbani 2010-04-30 20:07:42 UTC
Created attachment 229835 [details, diff]
Fixed comilation errors for >=2.6.34-rc4
Comment 2 rainer 2010-05-20 00:37:49 UTC
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?
Comment 3 Tvin 2010-05-21 03:55:59 UTC
(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?
Comment 4 Luca Barbato gentoo-dev 2010-05-21 09:05:00 UTC
Fixed now =)