All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] wolfssl: fix build on ARMV8
@ 2018-01-15 14:48 Sergio Prado
  2018-01-15 20:24 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Sergio Prado @ 2018-01-15 14:48 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
Changes v1 -> v2:
  - Force configure option to --disable-armasm
---
 package/wolfssl/wolfssl.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk
index c8ef50a9bc6e..a2e60532f342 100644
--- a/package/wolfssl/wolfssl.mk
+++ b/package/wolfssl/wolfssl.mk
@@ -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
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v2] wolfssl: fix build on ARMV8
  2018-01-15 14:48 [Buildroot] [PATCH v2] wolfssl: fix build on ARMV8 Sergio Prado
@ 2018-01-15 20:24 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-15 20:24 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 15 Jan 2018 12:48:10 -0200, Sergio Prado wrote:

> +# 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-15 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-15 14:48 [Buildroot] [PATCH v2] wolfssl: fix build on ARMV8 Sergio Prado
2018-01-15 20:24 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.