Implementation notes: aarch64, minimac, crypto_encrypt/mceliece

Computer: minimac
Architecture: aarch64
CPU ID: unknown CPU ID
SUPERCOP version: 20211108
Operation: crypto_encrypt
Primitive: mceliece

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
misc.c: misc.c:6:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
misc.c: __inline int u8rnd() { char c; randombytes(&c,1); return 255 & (int) c; }
misc.c: ^~
misc.c: /Users/djb/supercop-20210529/supercop-data/minimac/aarch64/include/randombytes.h:8:40: note: passing argument to parameter here
misc.c: extern void randombytes(unsigned char *,unsigned long long);
misc.c: ^
misc.c: 1 warning generated.
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/knownrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/kernelrandombytes.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/cpucycles.o) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _init: registers 21 and 22 not saved contiguously in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_rng_chacha20_ref_constbranchindex-rng.o)) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_hash_sha256_ref_constbranchindex-hash.o)) was built for newer macOS version (11.3) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _crypto_hash_sha256_ref_constbranchindex: register 26 saved somewhere other than in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_stream_salsa20_e_ref_constbranchindex-api.o)) was built for newer macOS version (11.2) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _crypto_stream_salsa20_e_ref_constbranchindex: register 24 saved somewhere other than in frame
try.c: ld: warning: could not create compact unwind for _crypto_stream_salsa20_e_ref_constbranchindex_xor: registers 25 and 26 not saved contiguously in frame
try.c: ld: warning: object file (/Users/djb/supercop-20210529/supercop-data/minimac/aarch64/lib/libsupercop.a(crypto_stream_salsa20_e_ref_constbranchindex-salsa20.o)) was built for newer macOS version (11.2) than being linked (11.0)
try.c: ld: warning: could not create compact unwind for _crypto_stream_salsa20_e_ref_constbranchindex_ECRYPT_encrypt_bytes.part.0: registers 27 and 28 not saved contiguously in frame
try.c: Undefined symbols for architecture arm64:
try.c: "_u8rnd", referenced from:
try.c: _gop_supr in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: _crypto_encrypt_mceliece_ref_timingleaks_keypair in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: ld: symbol(s) not found for architecture arm64
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture arm64:
try.c: "_u8rnd", referenced from:
try.c: _gop_supr in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: _crypto_encrypt_mceliece_ref_timingleaks_keypair in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: ld: symbol(s) not found for architecture arm64
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: Undefined symbols for architecture arm64:
try.c: "_u8rnd", referenced from:
try.c: _gop_supr in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: _crypto_encrypt_mceliece_ref_timingleaks_keypair in libcrypto_encrypt_mceliece.a(keypair.o)
try.c: _fill_buf in libcrypto_encrypt_mceliece.a(misc.o)
try.c: ld: symbol(s) not found for architecture arm64
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref