Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861677 - sys-kernel/gentoo-kernel feature request: USE=clang
Summary: sys-kernel/gentoo-kernel feature request: USE=clang
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-28 08:36 UTC by Lauri Wefer
Modified: 2022-07-28 09:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.