Implementation notes: amd64, samba, crypto_hash/lux256

Computer: samba
Microarchitecture: amd64; Skylake (506e3)
Architecture: amd64
CPU ID: GenuineIntel-000506e3-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_hash
Primitive: lux256

Compiler output


LUX.c: LUX.c:264:5: warning: implicit declaration of function 'LUX25664' is invalid in C99 [-Wimplicit-function-declaration]
LUX.c:                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
LUX.c:                          ^
LUX.c: LUX.c:286:4: warning: implicit declaration of function 'LUX51264' is invalid in C99 [-Wimplicit-function-declaration]
LUX.c:                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
LUX.c:                         ^
LUX.c: 2 warnings generated.
hash.c: In file included from hash.c:2:
hash.c: ./LUX.c:264:5: warning: implicit declaration of function 'LUX25664' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
hash.c:                          ^
hash.c: ./LUX.c:286:4: warning: implicit declaration of function 'LUX51264' is invalid in C99 [-Wimplicit-function-declaration]
hash.c:                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
hash.c:                         ^
hash.c: 2 warnings generated.
try.c: /usr/bin/ld: libcrypto_hash_lux256.a(LUX256-64.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:asmclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:asmclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


LUX.c: LUX.c: In function 'Update':
LUX.c: LUX.c:264:26: warning: implicit declaration of function 'LUX25664' [-Wimplicit-function-declaration]
LUX.c:   264 |                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
LUX.c:       |                          ^~~~~~~~
LUX.c: LUX.c:286:25: warning: implicit declaration of function 'LUX51264' [-Wimplicit-function-declaration]
LUX.c:   286 |                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
LUX.c:       |                         ^~~~~~~~
hash.c: In file included from hash.c:2:
hash.c: LUX.c: In function 'Update':
hash.c: LUX.c:264:26: warning: implicit declaration of function 'LUX25664' [-Wimplicit-function-declaration]
hash.c:   264 |                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
hash.c:       |                          ^~~~~~~~
hash.c: LUX.c:286:25: warning: implicit declaration of function 'LUX51264' [-Wimplicit-function-declaration]
hash.c:   286 |                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
hash.c:       |                         ^~~~~~~~
try.c: /usr/bin/ld: libcrypto_hash_lux256.a(LUX256-64.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE
try.c: /usr/bin/ld: failed to set dynamic section sizes: bad value
try.c: collect2: error: ld returned 1 exit status

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

Compiler output


LUX.c: LUX.c: In function 'Update':
LUX.c: LUX.c:264:26: warning: implicit declaration of function 'LUX25664' [-Wimplicit-function-declaration]
LUX.c:   264 |                          LUX25664(&Te0,state->core,state->buffer,data,doneLength);
LUX.c:       |                          ^~~~~~~~
LUX.c: LUX.c:286:25: warning: implicit declaration of function 'LUX51264' [-Wimplicit-function-declaration]
LUX.c:   286 |                         LUX51264(&T640,state->core64,state->buffer64,data,doneLength);
LUX.c:       |                         ^~~~~~~~
LUX.c: LUX.c:300:41: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
LUX.c:   300 |                         state->remSeq[i]=data[doneLength+i];
LUX.c:       |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
LUX.c: In file included from LUX.c:7:
LUX.c: LUX.h:14:21: note: at offset 8 into destination object 'remSeq' of size 8
LUX.c:    14 |         BitSequence remSeq[8];
LUX.c:       |                     ^~~~~~
LUX.c: LUX.c:300:41: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
LUX.c:   300 |                         state->remSeq[i]=data[doneLength+i];
LUX.c:       |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
LUX.c: In file included from LUX.c:7:
LUX.c: LUX.h:14:21: note: at offset 9 into destination object 'remSeq' of size 8
LUX.c:    14 |         BitSequence remSeq[8];
LUX.c:       |                     ^~~~~~
LUX.c: LUX.c:300:41: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
LUX.c:   300 |                         state->remSeq[i]=data[doneLength+i];
LUX.c:       |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
LUX.c: In file included from LUX.c:7:
LUX.c: ...

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