Implementation notes: aarch64, gcc185, crypto_encrypt/mceliece

Computer: gcc185
Microarchitecture: aarch64; Skylark (503f0002)
Architecture: aarch64
CPU ID: 503f0002
SUPERCOP version: 20240107
Operation: crypto_encrypt
Primitive: mceliece

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=native -O2 -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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
misc.c: 6 | __inline int u8rnd() { char c; randombytes(&c,1); return 255 & (int) c; }
misc.c: | ^~
misc.c: /home/djb/benchmarking/supercop-20231212/supercop-data/cfarm185/aarch64/include/randombytes.h:8:40: note: passing argument to parameter here
misc.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
misc.c: | ^
misc.c: 1 warning generated.
try.c: libcrypto_encrypt_mceliece.a(poly.o):(.bss+0x1000): multiple definition of `gf_log'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x1000): first defined here
try.c: libcrypto_encrypt_mceliece.a(poly.o):(.bss+0x0): multiple definition of `gf_exp'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x0): first defined here
try.c: libcrypto_encrypt_mceliece.a(decrypt.o):(.bss+0x1118): multiple definition of `gf_log'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x1000): first defined here
try.c: libcrypto_encrypt_mceliece.a(decrypt.o):(.bss+0x118): multiple definition of `gf_exp'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x0): first defined here
try.c: libcrypto_encrypt_mceliece.a(gf.o):(.bss+0x0): multiple definition of `gf_exp'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x0): first defined here
try.c: libcrypto_encrypt_mceliece.a(gf.o):(.bss+0x1000): multiple definition of `gf_log'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):(.bss+0x1000): first defined here
try.c: libcrypto_encrypt_mceliece.a(keypair.o): In function `gop_supr':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: libcrypto_encrypt_mceliece.a(keypair.o): In function `crypto_encrypt_mceliece_ref_timingleaks_keypair':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):keypair.c:(.text+0x...): more undefined references to `u8rnd' follow
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
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: libcrypto_encrypt_mceliece.a(keypair.o): In function `gop_supr':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: libcrypto_encrypt_mceliece.a(keypair.o): In function `crypto_encrypt_mceliece_ref_timingleaks_keypair':
try.c: keypair.c:(.text+0x...): undefined reference to `u8rnd'
try.c: libcrypto_encrypt_mceliece.a(keypair.o):keypair.c:(.text+0x...): more undefined references to `u8rnd' follow
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, 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
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref