diff options
author | 2024-08-19 18:54:35 +0200 | |
---|---|---|
committer | 2024-08-19 18:54:35 +0200 | |
commit | a075ebb0f6e2b47034e3d69fdf30a06e6f61af8a (patch) | |
tree | e42750a8a569072b7af983abd358900de00de228 | |
parent | scripts/bootstrap-prefix: workaround binutils being dep-cleaned (diff) | |
download | prefix-master.tar.gz prefix-master.tar.bz2 prefix-master.zip |
the host compiler used may not support CET, causing binutils to fail, so
wait for that later when we got our own compiler
Thanks hsk17 for the analysis and proposed fix.
Bug: https://bugs.gentoo.org/936629
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 928a789603..e51c4783e5 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -2027,6 +2027,10 @@ bootstrap_stage2() { echo "sys-devel/gcc -pie" >> "${ROOT}"/tmp/etc/portage/package.use fi + # don't use CET, we don't know if the host compiler supports it + echo "sys-devel/binutils -cet" >> \ + "${ROOT}"/tmp/etc/portage/profile/package.use.force + emerge_pkgs --nodeps "${pkgs[@]}" || return 1 # Debian multiarch supported by RAP needs ld to support sysroot. |