Implementation notes: amd64, spawn, crypto_kem/saber2

Computer: spawn
Microarchitecture: amd64; Zen 3 (a20f10)
Architecture: amd64
CPU ID: AuthenticAMD-00a20f10-178bfbff
SUPERCOP version: 20231215
Operation: crypto_kem
Primitive: saber2

Compiler output

Implementation: T:avx2
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xc0): multiple definition of `int45_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x40): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x120): multiple definition of `inv3_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0xa0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x100): multiple definition of `inv9_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x80): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x80): multiple definition of `int0_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xa0): multiple definition of `int30_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x20): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xe0): multiple definition of `inv15_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x60): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x140): multiple definition of `mask'; libcrypto_kem_saber2.a(kem.o):(.bss+0xc0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x198): multiple definition of `count_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x118): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x1b0): multiple definition of `clock_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x130): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x160): multiple definition of `clock2'; libcrypto_kem_saber2.a(kem.o):(.bss+0xe0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x168): multiple definition of `clock1'; libcrypto_kem_saber2.a(kem.o):(.bss+0xe8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x170): multiple definition of `clock_load'; libcrypto_kem_saber2.a(kem.o):(.bss+0xf0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x178): multiple definition of `clock_arith'; libcrypto_kem_saber2.a(kem.o):(.bss+0xf8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x180): multiple definition of `clock_samp'; libcrypto_kem_saber2.a(kem.o):(.bss+0x100): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x188): multiple definition of `matrix_vec_count'; libcrypto_kem_saber2.a(kem.o):(.bss+0x108): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x190): multiple definition of `clock_matrix_vec'; libcrypto_kem_saber2.a(kem.o):(.bss+0x110): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x1a0): multiple definition of `clock_secret'; libcrypto_kem_saber2.a(kem.o):(.bss+0x120): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x1a8): multiple definition of `clock_matrix'; libcrypto_kem_saber2.a(kem.o):(.bss+0x128): first defined here
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:avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx2

Compiler output

Implementation: T:avx2_nttmul
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x0): multiple definition of `int0_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x20): multiple definition of `int30_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x20): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x40): multiple definition of `int45_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x40): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x60): multiple definition of `inv15_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x60): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x80): multiple definition of `inv9_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0x80): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xa0): multiple definition of `inv3_avx'; libcrypto_kem_saber2.a(kem.o):(.bss+0xa0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xc0): multiple definition of `mask'; libcrypto_kem_saber2.a(kem.o):(.bss+0xc0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xe0): multiple definition of `clock_kp_temp'; libcrypto_kem_saber2.a(kem.o):(.bss+0xe0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xe8): multiple definition of `clock_dec_kex'; libcrypto_kem_saber2.a(kem.o):(.bss+0xe8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xf0): multiple definition of `clock_enc_kex'; libcrypto_kem_saber2.a(kem.o):(.bss+0xf0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0xf8): multiple definition of `clock_kp_kex'; libcrypto_kem_saber2.a(kem.o):(.bss+0xf8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x100): multiple definition of `count_enc'; libcrypto_kem_saber2.a(kem.o):(.bss+0x100): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x108): multiple definition of `clock_mv_vv_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x108): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x110): multiple definition of `count_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x110): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x118): multiple definition of `clock_secret'; libcrypto_kem_saber2.a(kem.o):(.bss+0x118): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x120): multiple definition of `clock_matrix'; libcrypto_kem_saber2.a(kem.o):(.bss+0x120): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x128): multiple definition of `clock_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x128): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x0): multiple definition of `count_enc'; libcrypto_kem_saber2.a(kem.o):(.bss+0x100): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x8): multiple definition of `clock_mv_vv_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x108): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x10): multiple definition of `count_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x110): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x18): multiple definition of `clock_secret'; libcrypto_kem_saber2.a(kem.o):(.bss+0x118): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x20): multiple definition of `clock_matrix'; libcrypto_kem_saber2.a(kem.o):(.bss+0x120): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(cbd.o):(.bss+0x28): multiple definition of `clock_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x128): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(pack_unpack.o):(.bss+0x0): multiple definition of `count_enc'; libcrypto_kem_saber2.a(kem.o):(.bss+0x100): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(pack_unpack.o):(.bss+0x8): multiple definition of `clock_mv_vv_mul'; libcrypto_kem_saber2.a(kem.o):(.bss+0x108): first defined here
try.c: ...

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

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x0): multiple definition of `clock_cl_sm'; libcrypto_kem_saber2.a(kem.o):(.bss+0x0): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x8): multiple definition of `clock_kp_sm'; libcrypto_kem_saber2.a(kem.o):(.bss+0x8): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x10): multiple definition of `clock_cl_mv'; libcrypto_kem_saber2.a(kem.o):(.bss+0x10): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x18): multiple definition of `clock_kp_mv'; libcrypto_kem_saber2.a(kem.o):(.bss+0x18): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x20): multiple definition of `clock2'; libcrypto_kem_saber2.a(kem.o):(.bss+0x20): first defined here
try.c: /usr/bin/ld: libcrypto_kem_saber2.a(SABER_indcpa.o):(.bss+0x28): multiple definition of `clock1'; libcrypto_kem_saber2.a(kem.o):(.bss+0x28): first defined here
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