aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Vincent Fazio <vfazio@xes-inc.com>2020-02-04 15:35:48 -0600
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-05-07 22:47:30 +0200
commit7ae1cf0b19e6110459274f40b5f9252b9e2339ff (patch)
treeee2fe08869edfa2bdae7e4c4ee2d267a854df7b1 /toolchain
parente38e29575afa4f3851044ea03b128bb38041da95 (diff)
downloadbuildroot-7ae1cf0b19e6110459274f40b5f9252b9e2339ff.tar.gz
buildroot-7ae1cf0b19e6110459274f40b5f9252b9e2339ff.tar.bz2
toolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC
musl currently assumes all PPC64(LE) CPUs support ALTIVEC instructions. However, there are exceptions (such as the e5500) for which musl builds ultimately generate illegal instructions for the targets. Disable musl if the PPC64(LE) CPU does not support ALTIVEC instructions. This patch addresses the issues seen here: https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092743 https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092744 musl mailing list thread: https://www.openwall.com/lists/musl/2020/02/03/10 Signed-off-by: Vincent Fazio <vfazio@xes-inc.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit 20c267f2e9a9664a87a1804555dd4703e9a3665c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/toolchain-buildroot/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index a980f766ac..8c33b2b4dd 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -86,6 +86,7 @@ config BR2_TOOLCHAIN_BUILDROOT_MUSL
BR2_mips64el || BR2_or1k || BR2_powerpc || BR2_powerpc64 || \
BR2_powerpc64le || BR2_RISCV_64 || BR2_sh || BR2_x86_64
depends on !BR2_powerpc_SPE # not supported, build breaks
+ depends on !(BR2_powerpc64 || BR2_powerpc64le) || BR2_POWERPC_CPU_HAS_ALTIVEC
# sh2 nommu is supported by musl, but we don't have support
# for it in Buildroot.
depends on BR2_USE_MMU