wolfssl: fix build on ARMV8
PATCH v2 1/1 wolfssl: fix build on ARMV8
Build on ARMV8 fails when hardware acceleration is enabled:
/tmp/ccmGP5RI.s: Assembler messages:/tmp/ccmGP5RI.s:532: Error: invalid addressing mode at operand 2 -- ld1 {v0.2d},[x0,256]' /tmp/ccmGP5RI.s:568: Error: invalid addressing mode at operand 2 -- st1 {v0.2d},[x0,256]' /tmp/ccmGP5RI.s:581: Error: invalid addressing mode at operand 2 -- ld1 {v0.2d},[x0,256]' /tmp/ccmGP5RI.s:621: Error: invalid addressing mode at operand 2 -- st1 {v0.2d},[x0,256]'
So let's disable ARMv8 hardware acceleration for now.
Fixes:
http://autobuild.buildroot.net/results/6080648394d09a0d382087831ee6f063c7638be9
---
Changes v1 -> v2:
- Force configure option to --disable-armasm
--- package/wolfssl/wolfssl.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/wolfssl/wolfssl.mk +1 -2
@@ -29,9 +29,8 @@ else WOLFSSL_CONF_OPTS += --disable-sslv3 endif +# build fails when ARMv8 hardware acceleration is enabled ifeq ($(BR2_ARM_CPU_ARMV8A),y) -WOLFSSL_CONF_OPTS += --enable-armasm -else WOLFSSL_CONF_OPTS += --disable-armasm endif
Signature · 1 line
1.9.1
PATCH v2 1/1 wolfssl: fix build on ARMV8
Hello,
Quoted 2 lines · Sergio Prado
+# build fails when ARMv8 hardware acceleration is enabled
ifeq ($(BR2_ARM_CPU_ARMV8A),y)
I really didn't see the need for this condition, so I just passed --disable-armasm unconditionally.
Applied with this change. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com