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
genkernel-next is gone.