Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 202770 Details for
Bug 283301
[PATCH] x11-drivers/ati-drivers-9.8 should check for CONFIG_LOCKDEP and bail if present
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check for LOCKDEP, bail with sensible error if present
ati-drivers-LOCKDEP.patch (text/plain), 1.13 KB, created by
Peter Alfredsen (RETIRED)
on 2009-08-31 07:27:33 UTC
(
hide
)
Description:
Check for LOCKDEP, bail with sensible error if present
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2009-08-31 07:27:33 UTC
Size:
1.13 KB
patch
obsolete
>--- ati-drivers-9.8.ebuild.orig 2009-08-29 18:06:53.000000000 +0200 >+++ ati-drivers-9.8.ebuild 2009-08-31 09:15:29.000000000 +0200 >@@ -125,10 +125,24 @@ > eerror " Bus options (PCI etc.) --->" > eerror " [*] Message Signaled Interrupts (MSI and MSI-X)" > eerror "in the kernel config." > die "CONFIG_PCI_MSI disabled" > fi >+ >+ if linux_chkconfig_present LOCKDEP; then >+ eerror "You've enabled LOCKDEP -- lock tracking -- in the kernel." >+ eerror "Unfortunately, this option exports the symbol lock_acquire as GPL-only." >+ eerror "This prevents ${P} from compiling with an error like this:" >+ eerror "FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'lock_acquire'" >+ eerror "Please make sure the following options have been unset:" >+ eerror " Kernel hacking --->" >+ eerror " [ ] Lock debugging: detect incorrect freeing of live locks" >+ eerror " [ ] Lock debugging: prove locking correctness" >+ eerror " [ ] Lock usage statistics" >+ eerror "in 'menuconfig'" >+ die "LOCKDEP enabled" >+ fi > } > > pkg_setup() { > # Define module dir. > MODULE_DIR="${S}/common/lib/modules/fglrx/build_mod"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283301
: 202770