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

Bug 632227

Summary: documentation is not complete - genkernel-next with clang and gold
Product: Gentoo Hosted Projects Reporter: Hajo <h-j.nadolny>
Component: genkernel-nextAssignee: Ettore Di Giacinto (RETIRED) <mudler>
Status: RESOLVED OBSOLETE    
Severity: normal CC: h-j.nadolny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hajo 2017-09-28 13:12:31 UTC
I changed my system to clang and gold. It works well.
For the kernel I use genkernel-next and would like to use just as well. But Genkernel-Next is used by default the gcc compiler.

In /etc/genkernel.conf there are the options:

Genkernel supports the following flags which are assigned to the relevant applications when your kernel is assembled:

--kernel-as = someAssembler: This specifies to assembler which would be used for compiling your kernel.
--kernel-cc = someCompiler: This specifies a compiler which would be used for compiling your kernel.
--kernel-ld = someLinker: This specifies a linker which would be used for compiling your kernel.
--kernel-make = someMake: This specifies to alternate GNU Make your kernel.

--utils-as = someAssembler: This specifies an assembler which would be used for compiling the support utilities.
--utils-cc = someCompiler: This specifies a compiler which would be used for compiling the support utilities.
--utils-ld = someLinker: This specifies a linker, which would be used for compiling the support utilities.
--utils-make = someMake: This specifies to alternate GNU.


But, what are the "specifies" flags? I could not find anything for clang and gold. On this point the documentation is not complete.


Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-08 16:29:38 UTC
genkernel-next is gone.