Implementation notes: riscv64, hifiveunleashedriscv, crypto_dh/ed448goldilocks

Computer: hifiveunleashedriscv
Architecture: riscv64
CPU ID: unknown CPU ID
SUPERCOP version: 20191221
Operation: crypto_dh
Primitive: ed448goldilocks

Test failure

Implementation: 32
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_dh_keypair returns nonzero

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE 32
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE 32
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE 32
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE 32
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE 64
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE 64
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE 64
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE 64

Compiler output

Implementation: 32
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
ec_point.c: In file included from /usr/include/endian.h:21,
ec_point.c: from word.h:17,
ec_point.c: from p448.h:7,
ec_point.c: from ec_point.h:13,
ec_point.c: from ec_point.c:12:
ec_point.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
ec_point.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from /usr/include/endian.h:21,
p448.c: from word.h:17,
p448.c: from p448.c:5:
p448.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
p448.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c: | ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: | ^~~~~~~
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: | ^~~~~~~

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

Compiler output

Implementation: 64
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: | ^~~~~~~
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: | ^~~~~~~

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

Compiler output

Implementation: amd64
Security model: unknown
Compiler: gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: x86-64-arith.h: In function 'p448_mul':
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
gcc -march=rv64gc -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64
gcc -march=rv64gc -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64
gcc -march=rv64gc -O -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64

Compiler output

Implementation: amd64
Security model: unknown
Compiler: gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: In file included from p448.c:6:
p448.c: x86-64-arith.h: In function 'mac':
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rdx' in 'asm'
p448.c: 94 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:94:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac_rm':
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rdx' in 'asm'
p448.c: 153 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:153:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'mac2':
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rdx' in 'asm'
p448.c: 181 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:181:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'msb':
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rdx' in 'asm'
p448.c: 208 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: x86-64-arith.h:208:3: error: unknown register name 'rax' in 'asm'
p448.c: x86-64-arith.h: In function 'p448_sqr':
p448.c: x86-64-arith.h:234:3: error: unknown register name 'rdx' in 'asm'
p448.c: 234 | __asm__ volatile
p448.c: | ^~~~~~~
p448.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=rv64gc -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE amd64