Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283301

Summary: [PATCH] x11-drivers/ati-drivers-9.8 should check for CONFIG_LOCKDEP and bail if present
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: normal CC: scarabeus, x11
Priority: High Keywords: InVCS
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Check for LOCKDEP, bail with sensible error if present

Description Peter Alfredsen (RETIRED) gentoo-dev 2009-08-31 07:26:51 UTC
As previously mentioned in:
https://bugs.gentoo.org/show_bug.cgi?id=212449#c3
ati-drivers fails to compile if CONFIG_LOCKDEP is set. Attached patch checks for LOCKDEP and suggests kernel options to unset if present. Untested.

I've omitted telling the users how to manually unset these options in their .config, since doing that will not unset the many sub-options that they select, including LOCKDEP. If required, the options to unset are: CONFIG_{DEBUG_LOCK_ALLOC,PROVE_LOCKING,LOCK_STAT}
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-08-31 07:27:33 UTC
Created attachment 202770 [details, diff]
Check for LOCKDEP, bail with sensible error if present
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-31 07:54:41 UTC
Confirmed.

@loki_val:
Wanna commit yourself or should I do it?
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-08-31 11:01:56 UTC
Thanks. Please commit this, since I'm debugging my kernel configuration ATM.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-31 11:33:08 UTC
In that case, commited :]
Thanks again for the patch&report