I'm not sure that it's the right fix but according to ocaml/ocaml#944, we need to provide some float operations and it seems that they are not available in the Alpine context. This float operations are builtins on gcc and -ffreestanding delete them (even if openlibm implements them).
I don't know why such error appears only on Alpine but this option seems needed now (4.14 fails too).
I'm not sure that it's the right fix but according to ocaml/ocaml#944, we need to provide some float operations and it seems that they are not available in the Alpine context. This float operations are builtins on
gcc
and-ffreestanding
delete them (even ifopenlibm
implements them).I don't know why such error appears only on Alpine but this option seems needed now (4.14 fails too).
/cc @hannesm