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

Bug 861677

Summary: sys-kernel/gentoo-kernel feature request: USE=clang
Product: Gentoo Linux Reporter: Lauri Wefer <lauri22>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lauri Wefer 2022-07-28 08:36:50 UTC
To build the Linux Kernel with link-time optimization, it must be built with clang. This request entails the addition of a USE flag that selects clang for building the Kernel, as opposed to GCC.

Thank you for considering.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-28 08:37:51 UTC
Why not just use package.env and/or /etc/kernel/config.d?

https://wiki.gentoo.org/wiki/Project:Distribution_Kernel#Using_.2Fetc.2Fkernel.2Fconfig.d
Comment 2 Lauri Wefer 2022-07-28 09:40:23 UTC
(In reply to Sam James from comment #1)
> Why not just use package.env and/or /etc/kernel/config.d?
> 
> https://wiki.gentoo.org/wiki/Project:Distribution_Kernel#Using_.2Fetc.
> 2Fkernel.2Fconfig.d

package.env seems to actually be working. Not the solution I'd prefer, but I'll mark this bug as resolved.

Thank you.