This has apparently already been fixed, but the fix has not been published as a release. I copied
cl_low_div.cc and
cl_low_mul.cc from the git sources and after that was able to build successfully (but only with the NO_ASM flag defined).
=====================================
cln 1.3.6: tests/test-suite.log
=====================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: tests
===========
Testing test_I_abs...
Testing test_I_compare...
Testing test_I_plus...
Testing test_I_minus...
Testing test_I_plus1...
Testing test_I_minus1...
Testing test_I_mul...
Testing test_I_div...
Testing test_I_gcd...
Testing test_I_xgcd...
Testing test_I_ash...
Testing test_I_evenp...
Testing test_I_oddp...
Testing test_I_lognot...
Testing test_I_logand...
Testing test_I_logandc1...
Testing test_I_logandc2...
Testing test_I_logior...
Testing test_I_logorc1...
Testing test_I_logorc2...
Testing test_I_logxor...
Testing test_I_lognand...
Testing test_I_lognor...
Testing test_I_logeqv...
Testing test_I_boole...
Testing test_I_logbitp...
Testing test_I_logtest...
Testing test_I_ldb...
Testing test_I_ldb_test...
Testing test_I_mask_field...
Testing test_I_dpb...
Testing test_I_deposit_field...
Testing test_I_logcount...
Testing test_I_integer_length...
Testing test_I_ord2...
Testing test_I_power2p...
Testing test_I_isqrt...
Testing test_I_sqrtp...
Testing test_I_io...
FAIL tests (exit status: 134)