From: Thomas Petazzoni Date: Tue, 6 Jun 2017 21:44:57 +0200 Subject: [Buildroot] [PATCH 1/1] Botan: Disable AltiVec if the CPU does not support it In-Reply-To: References: Message-ID: <20170606214457.16bc49c4@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > --- > 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