Implementation notes: amd64, waldorf, crypto_dh/kumfp64e2g

Computer: waldorf
Architecture: amd64
CPU ID: GenuineIntel-000106e5-bfebfbff
SUPERCOP version: 20160715
Operation: crypto_dh
Primitive: kumfp64e2g

Test failure

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
error 111
crypto_dh_keypair writes after output

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv v01/var
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv v01/var
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv v01/var
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv v01/var

Compiler output

Implementation: crypto_dh/kumfp64e2g/v01/var
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
fp_2e064mc_x8664.c: In file included from fp_2e064mc_x8664.c:7:
fp_2e064mc_x8664.c: In file included from ./finite064.h:5:
fp_2e064mc_x8664.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
fp_2e064mc_x8664.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: fp_2e064mc_x8664.c:16:2: note: used here
fp_2e064mc_x8664.c: fp_cnt_bits(&i, n01, FP_LEN);
fp_2e064mc_x8664.c: ^
fp_2e064mc_x8664.c: 1 warning generated.
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:762:13: warning: inline function 'kum_fp_dbl_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void kum_fp_dbl_2e064mce2_g_x8664_asm(uni TMP, void *NOPARAM1, void *NOPARAM2, uni d1, void *NOPARAM3, uni CNS);
smul.c: ^
smul.c: smul.c:29:2: note: used here
smul.c: kum_fp_dbl_2e064mce2_g_x8664_asm((uni)t, NULL, NULL, (uni)d1, NULL, (uni)cn);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: In file included from ./finite128.h:5:
smul.c: ./fpx.h:23:13: warning: inline function 'fp_cnt_bits' is not defined [-Wundefined-inline]
smul.c: inline void fp_cnt_bits(int *bc, const uni an, const uni_t al);
smul.c: ^
smul.c: smul.c:30:2: note: used here
smul.c: fp_cnt_bits(&i, kn, 2*FP_LEN);
smul.c: ^
smul.c: In file included from smul.c:12:
smul.c: ./finite128.h:763:13: warning: inline function 'kum_fp_dbladd_2e064mce2_g_x8664_asm' is not defined [-Wundefined-inline]
smul.c: inline void kum_fp_dbladd_2e064mce2_g_x8664_asm(uni TMP, uni kn, uni_t i, uni d1, uni d2, uni CNS);
smul.c: ^
smul.c: smul.c:32:3: note: used here
smul.c: kum_fp_dbladd_2e064mce2_g_x8664_asm((uni)t, kn, j, (uni)d1, (uni)d2, (uni)cn);
smul.c: ^
smul.c: 3 warnings generated.
try.c: crypto_dh_kumfp64e2g.a(smul.o): In function `kum_fp_smul_2e064mce2_g':
try.c: smul.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: crypto_dh_kumfp64e2g.a(fp_2e064mc_x8664.o): In function `fp_inv_2e064mc_x8664':
try.c: fp_2e064mc_x8664.c:(.text+0x...): undefined reference to `fp_cnt_bits'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments v01/var