Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Build fails on aarch64 with LTO #8148

Open
vifino opened this issue Nov 4, 2024 · 13 comments
Open

[Bug]: Build fails on aarch64 with LTO #8148

vifino opened this issue Nov 4, 2024 · 13 comments
Assignees
Labels

Comments

@vifino
Copy link

vifino commented Nov 4, 2024

Contact Details

Here, on GitHub, preferrably.

Version

5.7.4

Description

The build fails with error messages like the following on aarch64 Linux machines, which should compile wolfssl for -mcpu=armv8-a with LTO. 5.7.2 worked fine.

./configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/q5adnsfcgdhbcc5siq3c5v8w5d9h19dr-wolfssl-all-5.7.4 --bindir=/nix/store/q5adnsfcgdhbcc5siq3c5v8w5d9h19dr-wolfssl-all-5.7.4/bin --sbindir=/nix/store/q5adnsfcgdhbcc5siq3c5v8w5d9h19dr-wolfssl-all-5.7.4/sbin --includedir=/nix/store/l33016xyxb23f8l4v0hbw7kx086hssff-wolfssl-all-5.7.4-dev/include --oldincludedir=/nix/store/l33016xyxb23f8l4v0hbw7kx086hssff-wolfssl-all-5.7.4-dev/include --mandir=/nix/store/q5adnsfcgdhbcc5siq3c5v8w5d9h19dr-wolfssl-all-5.7.4/share/man --infodir=/nix/store/q5adnsfcgdhbcc5siq3c5v8w5d9h19dr-wolfssl-all-5.7.4/share/info --docdir=/nix/store/fjivg6dwixisnz8vs29d74mkk0ch4f6d-wolfssl-all-5.7.4-doc/share/doc/wolfssl --libdir=/nix/store/bkkhgrpb580lvqgvwr06750pk9j12sjr-wolfssl-all-5.7.4-lib/lib --libexecdir=/nix/store/bkkhgrpb580lvqgvwr06750pk9j12sjr-wolfssl-all-5.7.4-lib/libexec --localedir=/nix/store/bkkhgrpb580lvqgvwr06750pk9j12sjr-wolfssl-all-5.7.4-lib/share/locale --enable-all --enable-reproducible-build --enable-pkcs11 --enable-writedup --enable-base64encode --enable-bigcache --enable-sp=yes,asm --enable-sp-math-all --enable-harden CC=gcc

CFLAGS contain -fPIC -O2 -U_FORTIFY_SOURCE -Wformat -Wformat-security -Werror=format-security -fzero-call-used-regs=used-gpr -fstack-protector-strong --param ssp-buffer-size=4 -fno-strict-overflow -march=armv8-a
LDFLAGS contain -flto

Reproduction steps

  1. Set up Nix on an aarch64-linux machine.
  2. Clone my fork with wolfssl 5.7.4: git clone -b wolfssl-5.7.4 --depth=1 https://github.com/vifino/nixpkgs
  3. nix-build -A wolfssl
  4. Watch it fail. :(

Relevant log output

CC       tests/unit_test-quic.o
  CCLD     src/libwolfssl.la
In function 'SetObjectId',
    inlined from 'wc_PKCS12_encrypt_content' at wolfcrypt/src/pkcs12.c:2194:24:
wolfcrypt/src/asn.c:5859:21: warning: writing 1 byte into a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=8;;]
 5859 |         output[idx] = ASN_OBJECT_ID;
      |                     ^
In function 'wc_PKCS12_encrypt_content':
lto1: note: destination object is likely at address zero
In function 'SetObjectId',
    inlined from 'wc_PKCS12_encrypt_content' at wolfcrypt/src/pkcs12.c:2105:24:
wolfcrypt/src/asn.c:5859:21: warning: writing 1 byte into a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=8;;]
 5859 |         output[idx] = ASN_OBJECT_ID;
      |                     ^
In function 'wc_PKCS12_encrypt_content':
lto1: note: destination object is likely at address zero
In function 'SetHeader',
    inlined from 'SetSequence' at wolfcrypt/src/asn.c:16025:12,
    inlined from 'wc_i2d_PKCS12' at wolfcrypt/src/pkcs12.c:927:20:
wolfcrypt/src/asn.c:16010:19: warning: writing 1 byte into a region of size 0 [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=8;;]
16010 |         output[0] = tag;
      |                   ^
In function 'wc_i2d_PKCS12':
lto1: note: destination object is likely at address zero
/build/ccfEpj3u.s: Assembler messages:
/build/ccfEpj3u.s:49: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:50: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:52: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:53: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:64: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:65: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:68: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:69: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:72: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:73: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:74: Error: selected processor does not support `aese v15.16b,v1.16b'
/build/ccfEpj3u.s:75: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:76: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:77: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:78: Error: selected processor does not support `aese v15.16b,v2.16b'
/build/ccfEpj3u.s:79: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:80: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:81: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:82: Error: selected processor does not support `aese v15.16b,v3.16b'
/build/ccfEpj3u.s:83: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:84: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:85: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:86: Error: selected processor does not support `aese v15.16b,v4.16b'
/build/ccfEpj3u.s:87: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:88: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:89: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:90: Error: selected processor does not support `aese v15.16b,v5.16b'
/build/ccfEpj3u.s:91: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:92: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:93: Error: selected processor does not support `aese v15.16b,v6.16b'
/build/ccfEpj3u.s:94: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:96: Error: selected processor does not support `aese v15.16b,v7.16b'
/build/ccfEpj3u.s:97: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:99: Error: selected processor does not support `aese v15.16b,v8.16b'
/build/ccfEpj3u.s:100: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:102: Error: selected processor does not support `aese v15.16b,v9.16b'
/build/ccfEpj3u.s:103: Error: selected processor does not support `aesmc v15.16b,v15.16b'
/build/ccfEpj3u.s:105: Error: selected processor does not support `aese v15.16b,v10.16b'
/build/ccfEpj3u.s:113: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:114: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:116: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:117: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:119: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:120: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:125: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:126: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:128: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:129: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:131: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:132: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:134: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:135: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:136: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:137: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:138: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:139: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:140: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:207: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:208: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:210: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:211: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:222: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:223: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:226: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:227: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:230: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:231: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:232: Error: selected processor does not support `aese v19.16b,v1.16b'
/build/ccfEpj3u.s:233: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:234: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:235: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:236: Error: selected processor does not support `aese v19.16b,v2.16b'
/build/ccfEpj3u.s:237: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:238: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:239: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:240: Error: selected processor does not support `aese v19.16b,v3.16b'
/build/ccfEpj3u.s:241: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:242: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:243: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:244: Error: selected processor does not support `aese v19.16b,v4.16b'
/build/ccfEpj3u.s:245: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:246: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:247: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:248: Error: selected processor does not support `aese v19.16b,v5.16b'
/build/ccfEpj3u.s:249: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:250: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:251: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:252: Error: selected processor does not support `aese v19.16b,v6.16b'
/build/ccfEpj3u.s:253: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:254: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:255: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:256: Error: selected processor does not support `aese v19.16b,v7.16b'
/build/ccfEpj3u.s:257: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:258: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:259: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:260: Error: selected processor does not support `aese v19.16b,v8.16b'
/build/ccfEpj3u.s:261: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:262: Error: selected processor does not support `aese v0.16b,v13.16b'
/build/ccfEpj3u.s:263: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:264: Error: selected processor does not support `aese v19.16b,v9.16b'
/build/ccfEpj3u.s:265: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:266: Error: selected processor does not support `aese v0.16b,v14.16b'
/build/ccfEpj3u.s:267: Error: selected processor does not support `aese v19.16b,v10.16b'
/build/ccfEpj3u.s:268: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:270: Error: selected processor does not support `aese v19.16b,v11.16b'
/build/ccfEpj3u.s:271: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:273: Error: selected processor does not support `aese v19.16b,v12.16b'
/build/ccfEpj3u.s:274: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:276: Error: selected processor does not support `aese v19.16b,v13.16b'
/build/ccfEpj3u.s:277: Error: selected processor does not support `aesmc v19.16b,v19.16b'
/build/ccfEpj3u.s:279: Error: selected processor does not support `aese v19.16b,v14.16b'
/build/ccfEpj3u.s:288: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:289: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:291: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:292: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:294: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:295: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:300: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:301: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:302: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:303: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:305: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:306: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:308: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:309: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:310: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:311: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:312: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:313: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:314: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:315: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:316: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:317: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:318: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:319: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:320: Error: selected processor does not support `aese v0.16b,v13.16b'
/build/ccfEpj3u.s:321: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:322: Error: selected processor does not support `aese v0.16b,v14.16b'
/build/ccfEpj3u.s:388: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:389: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:391: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:392: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:403: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:404: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:407: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:408: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:411: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:412: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:413: Error: selected processor does not support `aese v17.16b,v1.16b'
/build/ccfEpj3u.s:414: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:415: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:416: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:417: Error: selected processor does not support `aese v17.16b,v2.16b'
/build/ccfEpj3u.s:418: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:419: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:420: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:421: Error: selected processor does not support `aese v17.16b,v3.16b'
/build/ccfEpj3u.s:422: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:423: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:424: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:425: Error: selected processor does not support `aese v17.16b,v4.16b'
/build/ccfEpj3u.s:426: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:427: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:428: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:429: Error: selected processor does not support `aese v17.16b,v5.16b'
/build/ccfEpj3u.s:430: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:431: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:432: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:433: Error: selected processor does not support `aese v17.16b,v6.16b'
/build/ccfEpj3u.s:434: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:435: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:436: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:437: Error: selected processor does not support `aese v17.16b,v7.16b'
/build/ccfEpj3u.s:438: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:439: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:440: Error: selected processor does not support `aese v17.16b,v8.16b'
/build/ccfEpj3u.s:441: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:443: Error: selected processor does not support `aese v17.16b,v9.16b'
/build/ccfEpj3u.s:444: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:446: Error: selected processor does not support `aese v17.16b,v10.16b'
/build/ccfEpj3u.s:447: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:449: Error: selected processor does not support `aese v17.16b,v11.16b'
/build/ccfEpj3u.s:450: Error: selected processor does not support `aesmc v17.16b,v17.16b'
/build/ccfEpj3u.s:452: Error: selected processor does not support `aese v17.16b,v12.16b'
/build/ccfEpj3u.s:461: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:462: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:464: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:465: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:467: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:468: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:473: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:474: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:476: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:477: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:479: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:480: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:482: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:483: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:484: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:485: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:486: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:487: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:488: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:489: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:490: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:491: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:492: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:4394: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4438: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4460: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4525: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:4608: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4897: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4898: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4899: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:4900: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4901: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:4902: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4903: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:4904: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4906: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4907: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4908: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:4909: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4910: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:4911: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4912: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:4913: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4915: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4916: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4917: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:4923: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4924: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4925: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4926: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:4930: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4931: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:4932: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:4933: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:5001: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:5002: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5003: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:5004: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5005: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:5006: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5007: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:5008: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5009: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:5010: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5011: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:5012: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5013: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:5014: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5015: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:5016: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5017: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:5018: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5019: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:5079: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:5080: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5081: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:5082: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5083: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:5084: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5085: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:5086: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5087: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:5088: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5089: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:5090: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5091: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:5092: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5093: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:5094: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5095: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:5096: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5097: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:5098: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5099: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:5100: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5101: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:5102: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5103: Error: selected processor does not support `aese v0.16b,v13.16b'
/build/ccfEpj3u.s:5104: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5105: Error: selected processor does not support `aese v0.16b,v14.16b'
/build/ccfEpj3u.s:5147: Error: selected processor does not support `aese v0.16b,v1.16b'
/build/ccfEpj3u.s:5148: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5149: Error: selected processor does not support `aese v0.16b,v2.16b'
/build/ccfEpj3u.s:5150: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5151: Error: selected processor does not support `aese v0.16b,v3.16b'
/build/ccfEpj3u.s:5152: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5153: Error: selected processor does not support `aese v0.16b,v4.16b'
/build/ccfEpj3u.s:5154: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5155: Error: selected processor does not support `aese v0.16b,v5.16b'
/build/ccfEpj3u.s:5156: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5157: Error: selected processor does not support `aese v0.16b,v6.16b'
/build/ccfEpj3u.s:5158: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5159: Error: selected processor does not support `aese v0.16b,v7.16b'
/build/ccfEpj3u.s:5160: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5161: Error: selected processor does not support `aese v0.16b,v8.16b'
/build/ccfEpj3u.s:5162: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5163: Error: selected processor does not support `aese v0.16b,v9.16b'
/build/ccfEpj3u.s:5164: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5165: Error: selected processor does not support `aese v0.16b,v10.16b'
/build/ccfEpj3u.s:5166: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5167: Error: selected processor does not support `aese v0.16b,v11.16b'
/build/ccfEpj3u.s:5168: Error: selected processor does not support `aesmc v0.16b,v0.16b'
/build/ccfEpj3u.s:5169: Error: selected processor does not support `aese v0.16b,v12.16b'
/build/ccfEpj3u.s:5272: Error: selected processor does not support `aesd v0.16b,v1.16b'
/build/ccfEpj3u.s:5273: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5274: Error: selected processor does not support `aesd v0.16b,v2.16b'
/build/ccfEpj3u.s:5275: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5276: Error: selected processor does not support `aesd v0.16b,v3.16b'
/build/ccfEpj3u.s:5277: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5278: Error: selected processor does not support `aesd v0.16b,v4.16b'
/build/ccfEpj3u.s:5279: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5280: Error: selected processor does not support `aesd v0.16b,v5.16b'
/build/ccfEpj3u.s:5281: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5282: Error: selected processor does not support `aesd v0.16b,v6.16b'
/build/ccfEpj3u.s:5283: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5284: Error: selected processor does not support `aesd v0.16b,v7.16b'
/build/ccfEpj3u.s:5285: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5286: Error: selected processor does not support `aesd v0.16b,v8.16b'
/build/ccfEpj3u.s:5287: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5288: Error: selected processor does not support `aesd v0.16b,v9.16b'
/build/ccfEpj3u.s:5289: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5290: Error: selected processor does not support `aesd v0.16b,v10.16b'
/build/ccfEpj3u.s:5350: Error: selected processor does not support `aesd v0.16b,v1.16b'
/build/ccfEpj3u.s:5351: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5352: Error: selected processor does not support `aesd v0.16b,v2.16b'
/build/ccfEpj3u.s:5353: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5354: Error: selected processor does not support `aesd v0.16b,v3.16b'
/build/ccfEpj3u.s:5355: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5356: Error: selected processor does not support `aesd v0.16b,v4.16b'
/build/ccfEpj3u.s:5357: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5358: Error: selected processor does not support `aesd v0.16b,v5.16b'
/build/ccfEpj3u.s:5359: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5360: Error: selected processor does not support `aesd v0.16b,v6.16b'
/build/ccfEpj3u.s:5361: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5362: Error: selected processor does not support `aesd v0.16b,v7.16b'
/build/ccfEpj3u.s:5363: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5364: Error: selected processor does not support `aesd v0.16b,v8.16b'
/build/ccfEpj3u.s:5365: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5366: Error: selected processor does not support `aesd v0.16b,v9.16b'
/build/ccfEpj3u.s:5367: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5368: Error: selected processor does not support `aesd v0.16b,v10.16b'
/build/ccfEpj3u.s:5369: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5370: Error: selected processor does not support `aesd v0.16b,v11.16b'
/build/ccfEpj3u.s:5371: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5372: Error: selected processor does not support `aesd v0.16b,v12.16b'
/build/ccfEpj3u.s:5373: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5374: Error: selected processor does not support `aesd v0.16b,v13.16b'
/build/ccfEpj3u.s:5375: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5376: Error: selected processor does not support `aesd v0.16b,v14.16b'
/build/ccfEpj3u.s:5418: Error: selected processor does not support `aesd v0.16b,v1.16b'
/build/ccfEpj3u.s:5419: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5420: Error: selected processor does not support `aesd v0.16b,v2.16b'
/build/ccfEpj3u.s:5421: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5422: Error: selected processor does not support `aesd v0.16b,v3.16b'
/build/ccfEpj3u.s:5423: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5424: Error: selected processor does not support `aesd v0.16b,v4.16b'
/build/ccfEpj3u.s:5425: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5426: Error: selected processor does not support `aesd v0.16b,v5.16b'
/build/ccfEpj3u.s:5427: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5428: Error: selected processor does not support `aesd v0.16b,v6.16b'
/build/ccfEpj3u.s:5429: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5430: Error: selected processor does not support `aesd v0.16b,v7.16b'
/build/ccfEpj3u.s:5431: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5432: Error: selected processor does not support `aesd v0.16b,v8.16b'
/build/ccfEpj3u.s:5433: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5434: Error: selected processor does not support `aesd v0.16b,v9.16b'
/build/ccfEpj3u.s:5435: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5436: Error: selected processor does not support `aesd v0.16b,v10.16b'
/build/ccfEpj3u.s:5437: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5438: Error: selected processor does not support `aesd v0.16b,v11.16b'
/build/ccfEpj3u.s:5439: Error: selected processor does not support `aesimc v0.16b,v0.16b'
/build/ccfEpj3u.s:5440: Error: selected processor does not support `aesd v0.16b,v12.16b'
make[3]: *** [/build/cca8wKCq.mk:14: /build/ccPSdxbB.ltrans4.ltrans.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/build/ccpHHaN6.s: Assembler messages:
/build/ccpHHaN6.s:47: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:48: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:49: Error: selected processor does not support `sha256su0 v4.4s,v1.4s'
/build/ccpHHaN6.s:52: Error: selected processor does not support `sha256su1 v4.4s,v2.4s,v3.4s'
/build/ccpHHaN6.s:53: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:54: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:55: Error: selected processor does not support `sha256su0 v1.4s,v2.4s'
/build/ccpHHaN6.s:58: Error: selected processor does not support `sha256su1 v1.4s,v3.4s,v4.4s'
/build/ccpHHaN6.s:59: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:60: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:61: Error: selected processor does not support `sha256su0 v2.4s,v3.4s'
/build/ccpHHaN6.s:64: Error: selected processor does not support `sha256su1 v2.4s,v4.4s,v1.4s'
/build/ccpHHaN6.s:65: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:66: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:67: Error: selected processor does not support `sha256su0 v3.4s,v4.4s'
/build/ccpHHaN6.s:70: Error: selected processor does not support `sha256su1 v3.4s,v1.4s,v2.4s'
/build/ccpHHaN6.s:71: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:72: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:73: Error: selected processor does not support `sha256su0 v4.4s,v1.4s'
/build/ccpHHaN6.s:76: Error: selected processor does not support `sha256su1 v4.4s,v2.4s,v3.4s'
/build/ccpHHaN6.s:77: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:78: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:79: Error: selected processor does not support `sha256su0 v1.4s,v2.4s'
/build/ccpHHaN6.s:82: Error: selected processor does not support `sha256su1 v1.4s,v3.4s,v4.4s'
/build/ccpHHaN6.s:83: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:84: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:85: Error: selected processor does not support `sha256su0 v2.4s,v3.4s'
/build/ccpHHaN6.s:88: Error: selected processor does not support `sha256su1 v2.4s,v4.4s,v1.4s'
/build/ccpHHaN6.s:89: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:90: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:91: Error: selected processor does not support `sha256su0 v3.4s,v4.4s'
/build/ccpHHaN6.s:94: Error: selected processor does not support `sha256su1 v3.4s,v1.4s,v2.4s'
/build/ccpHHaN6.s:95: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:96: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:97: Error: selected processor does not support `sha256su0 v4.4s,v1.4s'
/build/ccpHHaN6.s:100: Error: selected processor does not support `sha256su1 v4.4s,v2.4s,v3.4s'
/build/ccpHHaN6.s:101: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:102: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:103: Error: selected processor does not support `sha256su0 v1.4s,v2.4s'
/build/ccpHHaN6.s:106: Error: selected processor does not support `sha256su1 v1.4s,v3.4s,v4.4s'
/build/ccpHHaN6.s:107: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:108: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:109: Error: selected processor does not support `sha256su0 v2.4s,v3.4s'
/build/ccpHHaN6.s:112: Error: selected processor does not support `sha256su1 v2.4s,v4.4s,v1.4s'
/build/ccpHHaN6.s:113: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:114: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:115: Error: selected processor does not support `sha256su0 v3.4s,v4.4s'
/build/ccpHHaN6.s:118: Error: selected processor does not support `sha256su1 v3.4s,v1.4s,v2.4s'
/build/ccpHHaN6.s:119: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:120: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:123: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:124: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:127: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:128: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:131: Error: selected processor does not support `sha256h q12,q13,v0.4s'
/build/ccpHHaN6.s:132: Error: selected processor does not support `sha256h2 q13,q11,v0.4s'
/build/ccpHHaN6.s:417: Error: selected processor does not support `sha256su0 v4.4s,v1.4s'
/build/ccpHHaN6.s:421: Error: selected processor does not support `sha256su1 v4.4s,v2.4s,v3.4s'
/build/ccpHHaN6.s:422: Error: selected processor does not support `sha256h q16,q17,v0.4s'
/build/ccpHHaN6.s:423: Error: selected processor does not support `sha256h2 q17,q18,v0.4s'
/build/ccpHHaN6.s:424: Error: selected processor does not support `sha256su0 v5.4s,v2.4s'
/build/ccpHHaN6.s:428: Error: selected processor does not support `sha256su1 v5.4s,v3.4s,v4.4s'
/build/ccpHHaN6.s:429: Error: selected processor does not support `sha256h q16,q17,v1.4s'
/build/ccpHHaN6.s:430: Error: selected processor does not support `sha256h2 q17,q18,v1.4s'
/build/ccpHHaN6.s:431: Error: selected processor does not support `sha256su0 v6.4s,v3.4s'
/build/ccpHHaN6.s:435: Error: selected processor does not support `sha256su1 v6.4s,v4.4s,v5.4s'
/build/ccpHHaN6.s:436: Error: selected processor does not support `sha256h q16,q17,v2.4s'
/build/ccpHHaN6.s:437: Error: selected processor does not support `sha256h2 q17,q18,v2.4s'
/build/ccpHHaN6.s:438: Error: selected processor does not support `sha256su0 v7.4s,v4.4s'
/build/ccpHHaN6.s:442: Error: selected processor does not support `sha256su1 v7.4s,v5.4s,v6.4s'
/build/ccpHHaN6.s:443: Error: selected processor does not support `sha256h q16,q17,v3.4s'
/build/ccpHHaN6.s:444: Error: selected processor does not support `sha256h2 q17,q18,v3.4s'
/build/ccpHHaN6.s:446: Error: selected processor does not support `sha256su0 v8.4s,v5.4s'
/build/ccpHHaN6.s:450: Error: selected processor does not support `sha256su1 v8.4s,v6.4s,v7.4s'
/build/ccpHHaN6.s:451: Error: selected processor does not support `sha256h q16,q17,v4.4s'
/build/ccpHHaN6.s:452: Error: selected processor does not support `sha256h2 q17,q18,v4.4s'
/build/ccpHHaN6.s:453: Error: selected processor does not support `sha256su0 v9.4s,v6.4s'
/build/ccpHHaN6.s:457: Error: selected processor does not support `sha256su1 v9.4s,v7.4s,v8.4s'
/build/ccpHHaN6.s:458: Error: selected processor does not support `sha256h q16,q17,v5.4s'
/build/ccpHHaN6.s:459: Error: selected processor does not support `sha256h2 q17,q18,v5.4s'
/build/ccpHHaN6.s:460: Error: selected processor does not support `sha256su0 v10.4s,v7.4s'
/build/ccpHHaN6.s:464: Error: selected processor does not support `sha256su1 v10.4s,v8.4s,v9.4s'
/build/ccpHHaN6.s:465: Error: selected processor does not support `sha256h q16,q17,v6.4s'
/build/ccpHHaN6.s:466: Error: selected processor does not support `sha256h2 q17,q18,v6.4s'
/build/ccpHHaN6.s:467: Error: selected processor does not support `sha256su0 v11.4s,v8.4s'
/build/ccpHHaN6.s:471: Error: selected processor does not support `sha256su1 v11.4s,v9.4s,v10.4s'
/build/ccpHHaN6.s:472: Error: selected processor does not support `sha256h q16,q17,v7.4s'
/build/ccpHHaN6.s:473: Error: selected processor does not support `sha256h2 q17,q18,v7.4s'
/build/ccpHHaN6.s:475: Error: selected processor does not support `sha256su0 v12.4s,v9.4s'
/build/ccpHHaN6.s:479: Error: selected processor does not support `sha256su1 v12.4s,v10.4s,v11.4s'
/build/ccpHHaN6.s:480: Error: selected processor does not support `sha256h q16,q17,v8.4s'
/build/ccpHHaN6.s:481: Error: selected processor does not support `sha256h2 q17,q18,v8.4s'
/build/ccpHHaN6.s:482: Error: selected processor does not support `sha256su0 v13.4s,v10.4s'
/build/ccpHHaN6.s:486: Error: selected processor does not support `sha256su1 v13.4s,v11.4s,v12.4s'
/build/ccpHHaN6.s:487: Error: selected processor does not support `sha256h q16,q17,v9.4s'
/build/ccpHHaN6.s:488: Error: selected processor does not support `sha256h2 q17,q18,v9.4s'
/build/ccpHHaN6.s:489: Error: selected processor does not support `sha256su0 v14.4s,v11.4s'
/build/ccpHHaN6.s:492: Error: selected processor does not support `sha256su1 v14.4s,v12.4s,v13.4s'
/build/ccpHHaN6.s:493: Error: selected processor does not support `sha256h q16,q17,v10.4s'
/build/ccpHHaN6.s:494: Error: selected processor does not support `sha256h2 q17,q18,v10.4s'
/build/ccpHHaN6.s:495: Error: selected processor does not support `sha256su0 v15.4s,v12.4s'
/build/ccpHHaN6.s:498: Error: selected processor does not support `sha256su1 v15.4s,v13.4s,v14.4s'
/build/ccpHHaN6.s:499: Error: selected processor does not support `sha256h q16,q17,v11.4s'
/build/ccpHHaN6.s:500: Error: selected processor does not support `sha256h2 q17,q18,v11.4s'
/build/ccpHHaN6.s:504: Error: selected processor does not support `sha256h q16,q17,v12.4s'
/build/ccpHHaN6.s:505: Error: selected processor does not support `sha256h2 q17,q18,v12.4s'
/build/ccpHHaN6.s:508: Error: selected processor does not support `sha256h q16,q17,v13.4s'
/build/ccpHHaN6.s:509: Error: selected processor does not support `sha256h2 q17,q18,v13.4s'
/build/ccpHHaN6.s:512: Error: selected processor does not support `sha256h q16,q17,v14.4s'
/build/ccpHHaN6.s:513: Error: selected processor does not support `sha256h2 q17,q18,v14.4s'
/build/ccpHHaN6.s:516: Error: selected processor does not support `sha256h q16,q17,v15.4s'
/build/ccpHHaN6.s:517: Error: selected processor does not support `sha256h2 q17,q18,v15.4s'
/build/ccpHHaN6.s:594: Error: selected processor does not support `sha256su0 v4.4s,v1.4s'
/build/ccpHHaN6.s:598: Error: selected processor does not support `sha256su1 v4.4s,v2.4s,v3.4s'
/build/ccpHHaN6.s:599: Error: selected processor does not support `sha256h q16,q17,v0.4s'
/build/ccpHHaN6.s:600: Error: selected processor does not support `sha256h2 q17,q18,v0.4s'
/build/ccpHHaN6.s:601: Error: selected processor does not support `sha256su0 v5.4s,v2.4s'
/build/ccpHHaN6.s:605: Error: selected processor does not support `sha256su1 v5.4s,v3.4s,v4.4s'
/build/ccpHHaN6.s:606: Error: selected processor does not support `sha256h q16,q17,v1.4s'
/build/ccpHHaN6.s:607: Error: selected processor does not support `sha256h2 q17,q18,v1.4s'
/build/ccpHHaN6.s:608: Error: selected processor does not support `sha256su0 v6.4s,v3.4s'
/build/ccpHHaN6.s:612: Error: selected processor does not support `sha256su1 v6.4s,v4.4s,v5.4s'
/build/ccpHHaN6.s:613: Error: selected processor does not support `sha256h q16,q17,v2.4s'
/build/ccpHHaN6.s:614: Error: selected processor does not support `sha256h2 q17,q18,v2.4s'
/build/ccpHHaN6.s:615: Error: selected processor does not support `sha256su0 v7.4s,v4.4s'
/build/ccpHHaN6.s:619: Error: selected processor does not support `sha256su1 v7.4s,v5.4s,v6.4s'
/build/ccpHHaN6.s:620: Error: selected processor does not support `sha256h q16,q17,v3.4s'
/build/ccpHHaN6.s:621: Error: selected processor does not support `sha256h2 q17,q18,v3.4s'
/build/ccpHHaN6.s:623: Error: selected processor does not support `sha256su0 v8.4s,v5.4s'
/build/ccpHHaN6.s:627: Error: selected processor does not support `sha256su1 v8.4s,v6.4s,v7.4s'
/build/ccpHHaN6.s:628: Error: selected processor does not support `sha256h q16,q17,v4.4s'
/build/ccpHHaN6.s:629: Error: selected processor does not support `sha256h2 q17,q18,v4.4s'
/build/ccpHHaN6.s:630: Error: selected processor does not support `sha256su0 v9.4s,v6.4s'
/build/ccpHHaN6.s:634: Error: selected processor does not support `sha256su1 v9.4s,v7.4s,v8.4s'
/build/ccpHHaN6.s:635: Error: selected processor does not support `sha256h q16,q17,v5.4s'
/build/ccpHHaN6.s:636: Error: selected processor does not support `sha256h2 q17,q18,v5.4s'
/build/ccpHHaN6.s:637: Error: selected processor does not support `sha256su0 v10.4s,v7.4s'
/build/ccpHHaN6.s:641: Error: selected processor does not support `sha256su1 v10.4s,v8.4s,v9.4s'
/build/ccpHHaN6.s:642: Error: selected processor does not support `sha256h q16,q17,v6.4s'
/build/ccpHHaN6.s:643: Error: selected processor does not support `sha256h2 q17,q18,v6.4s'
/build/ccpHHaN6.s:644: Error: selected processor does not support `sha256su0 v11.4s,v8.4s'
/build/ccpHHaN6.s:648: Error: selected processor does not support `sha256su1 v11.4s,v9.4s,v10.4s'
/build/ccpHHaN6.s:649: Error: selected processor does not support `sha256h q16,q17,v7.4s'
/build/ccpHHaN6.s:650: Error: selected processor does not support `sha256h2 q17,q18,v7.4s'
/build/ccpHHaN6.s:652: Error: selected processor does not support `sha256su0 v12.4s,v9.4s'
/build/ccpHHaN6.s:656: Error: selected processor does not support `sha256su1 v12.4s,v10.4s,v11.4s'
/build/ccpHHaN6.s:657: Error: selected processor does not support `sha256h q16,q17,v8.4s'
/build/ccpHHaN6.s:658: Error: selected processor does not support `sha256h2 q17,q18,v8.4s'
/build/ccpHHaN6.s:659: Error: selected processor does not support `sha256su0 v13.4s,v10.4s'
/build/ccpHHaN6.s:663: Error: selected processor does not support `sha256su1 v13.4s,v11.4s,v12.4s'
/build/ccpHHaN6.s:664: Error: selected processor does not support `sha256h q16,q17,v9.4s'
/build/ccpHHaN6.s:665: Error: selected processor does not support `sha256h2 q17,q18,v9.4s'
/build/ccpHHaN6.s:666: Error: selected processor does not support `sha256su0 v14.4s,v11.4s'
/build/ccpHHaN6.s:669: Error: selected processor does not support `sha256su1 v14.4s,v12.4s,v13.4s'
/build/ccpHHaN6.s:670: Error: selected processor does not support `sha256h q16,q17,v10.4s'
/build/ccpHHaN6.s:671: Error: selected processor does not support `sha256h2 q17,q18,v10.4s'
/build/ccpHHaN6.s:672: Error: selected processor does not support `sha256su0 v15.4s,v12.4s'
/build/ccpHHaN6.s:675: Error: selected processor does not support `sha256su1 v15.4s,v13.4s,v14.4s'
/build/ccpHHaN6.s:676: Error: selected processor does not support `sha256h q16,q17,v11.4s'
/build/ccpHHaN6.s:677: Error: selected processor does not support `sha256h2 q17,q18,v11.4s'
/build/ccpHHaN6.s:681: Error: selected processor does not support `sha256h q16,q17,v12.4s'
/build/ccpHHaN6.s:682: Error: selected processor does not support `sha256h2 q17,q18,v12.4s'
/build/ccpHHaN6.s:685: Error: selected processor does not support `sha256h q16,q17,v13.4s'
/build/ccpHHaN6.s:686: Error: selected processor does not support `sha256h2 q17,q18,v13.4s'
/build/ccpHHaN6.s:689: Error: selected processor does not support `sha256h q16,q17,v14.4s'
/build/ccpHHaN6.s:690: Error: selected processor does not support `sha256h2 q17,q18,v14.4s'
/build/ccpHHaN6.s:693: Error: selected processor does not support `sha256h q16,q17,v15.4s'
/build/ccpHHaN6.s:694: Error: selected processor does not support `sha256h2 q17,q18,v15.4s'
make[3]: *** [/build/cca8wKCq.mk:2: /build/ccPSdxbB.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/nix/store/wj7hxrvf8jqipkdry7x6ii1ds1ry2hd5-binutils-2.43.1/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
@kareem-wolfssl
Copy link
Contributor

Hi @vifino ,

Please try rebuilding with your mcpu/march args set to armv8-a+crypto and let me know if it helps.

@vifino
Copy link
Author

vifino commented Nov 6, 2024

Hey @kareem-wolfssl, it probably would compile, except then it would require the crypto extensions, no?
We need this to run on plain armv8-a.

@kareem-wolfssl
Copy link
Contributor

If you are trying to build for a system without crypto ASM extensions, you will need to remove asm from your --enable-sp line and add --disable-asm.

@vifino
Copy link
Author

vifino commented Nov 7, 2024

To be clear: Building 5.7.2 for armv8-a with assembly speedups worked fine.
5.7.4 does not.

Disabling all of the previous optimized implementations because of a new implementation does not seem like a good solution to me but rather like a big regression.

Please gate the part requiring +crypto extensions. I would really appreciate it.

@dgarske
Copy link
Contributor

dgarske commented Nov 7, 2024

Hi @vifino ,

I think the difference between the versions is that we try and enable --enable-armasm by default. Can you please try with --disable-armasm?

Thanks,
David Garske, wolfSSL

@vifino
Copy link
Author

vifino commented Nov 15, 2024

Hey @dgarske.

Yes, the code now compiles without error.

I find the naming of the armasm options very confusing. Is this specifically the option to enable the crypto extension? Does it enable more? Can I only enable parts that would use, say, the NEON instructions but not the +crypto extensions?

What options would yield the fastest code on aarch64 armv8-a machines like the Raspberry Pi 4 (that lack +crypto extensions)?

@dgarske
Copy link
Contributor

dgarske commented Nov 15, 2024

Hi @vifino ,

Yes for the aarch64 the --enable-armasm option enables the aes/sha256 crypto assembly instruction speedups.

As of right now the only way to use the aarch64 speedups is with the crypto extensions, however I believe it is possible to enable the aarch32 assembly speedups, which would still be significantly faster than the C implementation.

Which algorithms are you interested in improving performance for? Based on that feedback I can make a recommendation for Raspberry Pi 4 build options to use.

Thanks,
David Garske, wolfSSL

@vifino
Copy link
Author

vifino commented Nov 15, 2024

Hey @dgarske,

I maintain the wolfSSL derivation for NixOS and would like to ship the most optimal general configuration for our users. No specific benchmarks I'm tuning for, but we're not storage-bound.

For x86-64 machines, --enable intelasm and --enable-aesni is nice, since it is gated at runtime and hence doesn't break if AES-NI and such is not available.

For aarch64, our target is plain armv8-a (armv8-a+fp+simd), without the crypto extensions. Since that isn't gated at runtime, we're unfortunately stuck without.

@SparkiDev
Copy link
Contributor

Hi @vifino,

Unfortunately we don't support assembly for Aarch64 armv8-a. That is, there is only assembly when the crypto extensions are available.

Is it possible to have different builds for different versions of ARMv8-A?

Sean

@vifino
Copy link
Author

vifino commented Dec 3, 2024

Hey @SparkiDev,

it's complicated. While there is the possibility of building the Nix derivations targeting armv8-a+crypto or similar, those are rarely used on anything but Darwin/Apple Silicon, as the supported linux target is plain armv8-a.

So, realistically, the answer is "no" - 99% of armv8-a+crypto capable Linux machines will only run the build that has the armv8-a baseline.

@SparkiDev
Copy link
Contributor

Hi @vifino,

I understand.
I have started working on a solution for this.
Basically, I'm making sure that there is a software implementation used when the cryptographic instructions are not available.

I'll let you know when I have a PR for this work.

Sean

@SparkiDev
Copy link
Contributor

SparkiDev commented Dec 12, 2024

Hi @vifino

There is a PR up that supports builds for Aarch64 when hardware crypto instructions are not available: #8277
You can specify WOLFSSL_ARMASM_NO_HW_CRYPTO and it will use a software implementation.

Let us know if this is what you need.

Sean

@SparkiDev
Copy link
Contributor

Hi @vifino

The PR has been merged.

Let us know id this fixes your issue.

Thanks,
Sean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants