Implementation notes: amd64, gcc14, crypto_encrypt/mceliece

Computer: gcc14
Architecture: amd64
CPU ID: GenuineIntel-00010676-bfebfbff
SUPERCOP version: 20220506
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 with different sign [-Wpointer-sign]
misc.c: __inline int u8rnd() { char c; randombytes(&c,1); return 255 & (int) c; }
misc.c: ^~
misc.c: /home/djb/benchmarking/supercop-20210114/supercop-data/gcc14/amd64/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: crypto_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: crypto_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: crypto_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: crypto_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: crypto_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: 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 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: crypto_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: crypto_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: crypto_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: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref