musl libc (alpine linux) doesn't like sqrt
It's vaguely reminiscent of an oddity that we encountered on openbsd
With the files that are attached, the following command line segfaults on alpine linux, with either clang-10.0.1 or gcc 10.2.1 20201203 (Alpine 10.2.1_pre1). It's not compiler related, I'm tempted to blame this on the C library, musl libc in the case of alpine linux.
$CADO_BUILD/sqrt/sqrt -poly c60.poly -prefix ./c60.dep.gz -dep 0 -t 2 -side0 -side1 -gcd
c60.dep.000.gz c60.dep.side0.000.gz c60.dep.side1.000.gz c60.poly
Output excerpt:
Alg(1): using p=17 for lifting
Alg(1): target_size=205085
Alg(0): reducing A mod p^50433 took 0.02s (wct 0.01s)
Segmentation fault (core dumped)
It might well be a fairly stupid bug, but I can't see it right now.
However, the same q&d kludge that worked with openbsd works here as well (do all tasks sequentially in calculateTaskN
).
I'm keeping this as an issue just to have a permanent tracker.