[Buildroot] [PATCH 1/1] Botan: Disable AltiVec if the CPU does not support it
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jun 6 19:44:57 UTC 2017
Hello,
On Tue, 6 Jun 2017 16:29:11 +0200, Tobias.Blass at rohde-schwarz.com wrote:
> Botan compiles all PowerPC code with AltiVec support and only determines
> at runtime
> whether the CPU even supports it. If the target CPU uses the older SPE
> extensions, though,
> this is too late; since SPE and AltiVec are incompatible, gcc aborts the
> compilation.
> This patch explicitly disables AltiVec support unless
> BR2_POWERPC_CPU_HAS_ALTIVEC is defined
>
> Signed-off-by: Tobias Blass <tobias.blass at rohde-schwarz.com>
> ---
> package/botan/botan.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied to master, thanks. Peter: since it apparently fixes a runtime
issue, I guess we could backport to LTS branch.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list