Implementation notes: riscv64, riscvunleashed000, crypto_kem/bigquake1

Computer: riscvunleashed000
Microarchitecture: riscv64; U54 (sifive,u54-mc)
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20240107
Operation: crypto_kem
Primitive: bigquake1

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
error 111

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=rv64imafdc -mtune=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:ref
clang -march=rv64imafdc -mtune=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 -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x10): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x18): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x20): multiple definition of `gf_multiplicative_order'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x10): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x24): multiple definition of `gf_cardinality'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x14): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x28): multiple definition of `gf_extension_degree'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x18): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x0): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x8): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x10): multiple definition of `gf_multiplicative_order'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x10): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x18): multiple definition of `gf_cardinality'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x14): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x14): multiple definition of `gf_extension_degree'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x18): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: decode.c:(.bss+0x0): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: decode.c:(.bss+0x8): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
gcc -mcpu=sifive-u54 -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x10): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x18): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x20): multiple definition of `gf_multiplicative_order'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x10): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x24): multiple definition of `gf_cardinality'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x14): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(m2e.o): in function `.LANCHOR0':
try.c: m2e.c:(.bss+0x28): multiple definition of `gf_extension_degree'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x18): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x8): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x0): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x10): multiple definition of `gf_multiplicative_order'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x10): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x18): multiple definition of `gf_cardinality'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x14): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(poly.o): in function `.LANCHOR0':
try.c: poly.c:(.bss+0x14): multiple definition of `gf_extension_degree'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x18): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: decode.c:(.bss+0x0): multiple definition of `gf_exp'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: decode.c:(.bss+0x10): multiple definition of `gf_log'; libcrypto_kem_bigquake1.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_bigquake1.a(decode.o): in function `.LANCHOR0':
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -mcpu=sifive-u54 -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref