Summary: | x11-drivers/ati-drivers-8.501: allow compiling with realtime RCU preemption enabled in kernel >= 2.6.25 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey Vul <andrey.vul> |
Component: | New packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | CC: | carlo, je_fro, x11-drivers |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fixed ebuild
fixed ebuild (version 2) fixed ebuild (version 2) |
Description
Andrey Vul
2008-07-19 23:35:15 UTC
Created attachment 160885 [details]
fixed ebuild
Created attachment 160893 [details] fixed ebuild (version 2) The original ebuild that I uploaded had one missing "_" in the //s///, which caused kernels to miscompile (D'oh!). I was unable to detect this since I patched kernel/rcupreempt.c by hand. In short, original -r1 ebuild i.e., attachment 1 [details], breaks unpatched rt- kernels. Created attachment 160894 [details]
fixed ebuild (version 2)
Rebised diff: --- /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.501.ebuild 2008-07-19 17:19:24.102859737 -0400 +++ /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.501-r1.ebuild 2008-07-19 16:46:01.345860800 -0400 @@ -75,7 +75,7 @@ fi if kernel_is ge 2 6 25 && linux_chkconfig_present PREEMPT_RCU; then - die "${P} is not compatible RCU Preemption, please disable it" + sed '/EXPORT_SYMBOL/s/_GPL//g' -i /usr/src/linux/kernel/rcupreempt.c fi if kernel_is ge 2 6 24 && ! linux_chkconfig_present PCI_LEGACY; then fix is kinda buggy more help would be nice :) *** Bug 232385 has been marked as a duplicate of this bug. *** The x11 herd does not maintain binary blobs that call themselves drivers Upstream will workaround in other ways, what you want to do is fine for single users but illegal otherwise. |