* [gentoo-user] Clang/LLVM system profile
@ 2021-11-29 2:02 99% 2b57
0 siblings, 0 replies; 1+ results
From: 2b57 @ 2021-11-29 2:02 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]
Hello all,
I'm in the middle of development a proof-of-concept "native" Clang/LLVM profile – such profile, that stage3 produced by it will not even contain GCC and binutils at all (but of course you can install them later if needed). Why? Well, because Clang is in pretty good shape lately, you can compile kernel and elfutils even. Also just for fun!
The approach I've decided to take is to create virtual/toolchain and virtual/binutils packages with RDEPEND attributes set to gcc || clang and binutils || llvm. I've reached a point where modifications to ::gentoo/scripts/bootstrap.sh are needed, and currently I've solved it with making an OverlayFS overlay, which combines both ::gentoo repo and my custom script. General idea is that once LLVM toolchain is in place (stage1), custom profile for stage2 masks gcc/binutils and virtuals get resolved by LLVM stuff. However, that is not the case; something goes wrong and it seems that binutils package is deeply embedded somewhere else...
Anyway, I'd appreciate any feedback and suggestions, since I'm sure I'm not the only one interested in this topic.
Grab the src here: https://github.com/2b57/toolchain-clang
Forums thread: https://forums.gentoo.org/viewtopic-t-1145722.html
[-- Attachment #2: Type: text/html, Size: 1793 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-11-29 2:02 99% [gentoo-user] Clang/LLVM system profile 2b57
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox