Implementation notes: amd64, hydra7, crypto_sign/sphincss192sha256simple

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_sign
Primitive: sphincss192sha256simple

Compiler output


sha256avx.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
sha256avx.c:                  from sha256avx.h:3,
sha256avx.c:                  from sha256avx.c:5:
sha256avx.c: sha256avx.c: In function 'transpose':
sha256avx.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:1084:1: error: inlining failed in call to 'always_inline' '_mm256_permute2x128_si256': target specific option mismatch
sha256avx.c:  1084 | _mm256_permute2x128_si256 (__m256i __X, __m256i __Y, const int __M)
sha256avx.c:       | ^~~~~~~~~~~~~~~~~~~~~~~~~
sha256avx.c: sha256avx.c:34:12: note: called from here
sha256avx.c:    34 |     s[7] = _mm256_permute2x128_si256(tmp1[3], tmp1[7], 0x31);
sha256avx.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha256avx.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
sha256avx.c:                  from sha256avx.h:3,
sha256avx.c:                  from sha256avx.c:5:
sha256avx.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:1084:1: error: inlining failed in call to 'always_inline' '_mm256_permute2x128_si256': target specific option mismatch
sha256avx.c:  1084 | _mm256_permute2x128_si256 (__m256i __X, __m256i __Y, const int __M)
sha256avx.c:       | ^~~~~~~~~~~~~~~~~~~~~~~~~
sha256avx.c: sha256avx.c:33:12: note: called from here
sha256avx.c:    33 |     s[6] = _mm256_permute2x128_si256(tmp1[2], tmp1[6], 0x31);
sha256avx.c:       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha256avx.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
sha256avx.c:                  from sha256avx.h:3,
sha256avx.c:                  from sha256avx.c:5:
sha256avx.c: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:1084:1: error: inlining failed in call to 'always_inline' '_mm256_permute2x128_si256': target specific option mismatch
sha256avx.c:  1084 | _mm256_permute2x128_si256 (__m256i __X, __m256i __Y, const int __M)
sha256avx.c:       | ^~~~~~~~~~~~~~~~~~~~~~~~~
sha256avx.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(hash_sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(hash_sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(hash_sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(hash_sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: /usr/bin/ld: libcrypto_sign_sphincss192sha256simple.a(sha256.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: multiple definition of `state_seeded'; libcrypto_sign_sphincss192sha256simple.a(thash_sha256_simple.o):.../supercop-data/hydra7/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_sign/sphincss192sha256simple/ref/work/sha256.h:26: first defined here
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)