github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
MasterDuke ah ha! rakudo now builds with libtommath v1.2.0 without disabling the jit. turns out i'd changed the signature of a function that the jit was calling manually and i just needed to make the necessary change there too 09:45
and passes `make m-test`, now to see about a spectest...
only one failure in t/spec/S32-num/expmod.rakudo.moar (expected, we can't pass negative values to the libtommath function any more), one in t/spec/S32-num/expmod.rakudo.moar (don't understand this one)! 09:59
MasterDuke ha! jaeckel over in #libtom pointed out that the expmod error was probably pre-existing. i tested on master and it was. the libtommath mp_exptmod() function was failing with a "value out of range error" when passed a negative number for G, but we were silently ignoring it 10:41
MasterDuke G is the first argument 10:42
odd thing though. `make m-test` and `./nqp-m t/nqp/060-bigint.t` both report the error (i.e., die because an exception is thrown), but `make t/nqp/060-bigint.t` says 'ok' for the failing test and result is pass 10:45
MasterDuke huh. `./libmoar.so: undefined reference to `s_read_wincsp'./libmoar.so: undefined reference to `s_read_getrandom'./libmoar.so: undefined reference to `s_read_arc4random'./libmoar.so: undefined reference to `s_read_ltm_rng'clang-7: error: linker command failed with exit code 1 (use -v to see invocation)` in travis when building with clang. but i 12:45
don't get that locally when i use clang
japhb MasterDuke: Wrong version of a crypto lib? 16:58
MasterDuke japhb: don't think so, works with gcc in travis, but not clang 17:03