summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-11 23:17:22 +0100
committerSam James <sam@gentoo.org>2024-09-11 23:20:19 +0100
commitd99053c9327d72eb0e13de964b0b79355caebc5b (patch)
treecc8b77da6a8c8f5b66ff464f0acfc85393748693 /eclass
parentsys-process/bottom: Stabilize 0.10.1 ppc64, #939310 (diff)
downloadgentoo-d99053c9327d72eb0e13de964b0b79355caebc5b.tar.gz
gentoo-d99053c9327d72eb0e13de964b0b79355caebc5b.tar.bz2
gentoo-d99053c9327d72eb0e13de964b0b79355caebc5b.zip
toolchain.eclass: depend on sys-devel/binutils:*
GCC doesn't build in Gentoo at least without GNU Binutils. It is possible but it requires some work. It's not clear to me if some of that work needs to happen in LLVM upstream too (see below). In commits 7011340a0f13dcada6f3be48054957035bc6e01a and a7c27596827072f586dc07e6d53531ecb2c7cd6e, I tried to get things building with Clang's assembler but didn't get it over the line. I think I remember Arfrever and I coming up with a few later drafts (?) on IRC in #gentoo-hardened but I didn't commit any of it as it didn't work in the end anyway. But see https://briancallahan.net/blog/20240122.html which tackles at least one of the issues I ended up hitting before. In any case, add the dependency for now to keep things working. Closes: https://bugs.gentoo.org/936271 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ac236f3127f9..c03312be43ad 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -353,6 +353,7 @@ fi
BDEPEND="
app-alternatives/yacc
+ sys-devel/binutils:*
>=sys-devel/flex-2.5.4
nls? ( sys-devel/gettext )
test? (