1

(3 replies, posted in wolfSSL)

If someone finds themselves here with a similar problem, these configuration flags fixed it for me:

./configure CFLAGS="-march=armv8-a" --disable-asm

2

(3 replies, posted in wolfSSL)

Hey,

I am trying to build wolfSSL 5.7.0 for OSX 14.4 but running into errors at the make step.

Here is a snippet of my errors:

wolfcrypt/src/sp_int.c:6299:9: error: invalid operand for instruction
        SP_ASM_MUL_ADD_NO(l, h, a->dp[i], d);
        ^
wolfcrypt/src/sp_int.c:1164:9: note: expanded from macro 'SP_ASM_MUL_ADD_NO'
        "umlal  %[l], %[h], %[a], %[b]  \n\t"            \
        ^
<inline asm>:1:8: note: instantiated into assembly here
        umlal   x11, x10, x13, x1   

If anyone can help me out with what could potentially be causing this and if there are any config flags that could help, it would be a huge help!

Running on:
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix