toolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC
authorVincent Fazio <vfazio@xes-inc.com>
Tue, 4 Feb 2020 21:35:48 +0000 (15:35 -0600)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 20 Apr 2020 21:36:29 +0000 (23:36 +0200)
commit20c267f2e9a9664a87a1804555dd4703e9a3665c
tree05a2a8c253bcd56a7026d17ba0beab10cb822ab6
parente2c0f234ed44d01ef5fc8a21e9d67f619e084ad0
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>
toolchain/toolchain-buildroot/Config.in