Processing: [default: loading data] [mlmpfr.4.2.1: dl] [mlmpfr.4.2.1: extract] [mlmpfr.4.2.1/mlmpfr_compatibility_test.c: dl] -> retrieved mlmpfr.4.2.1 (https://opam.ocaml.org/cache) [mlmpfr: cc mlmpfr_compatibility_test.c] + /usr/bin/cc "mlmpfr_compatibility_test.c" "-lmpfr" "-o" "mlmpfr_compatibility_test" (CWD=/home/opam/.opam/default/.opam-switch/build/mlmpfr.4.2.1) [mlmpfr: ./mlmpfr_compatibility_test] + /home/opam/.opam/default/.opam-switch/build/mlmpfr.4.2.1/./mlmpfr_compatibility_test (CWD=/home/opam/.opam/default/.opam-switch/build/mlmpfr.4.2.1) [mlmpfr: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "mlmpfr" "-j" "32" (CWD=/home/opam/.opam/default/.opam-switch/build/mlmpfr.4.2.1) - File "src/dune", line 8, characters 9-21: - 8 | (names mlmpfr_stubs) - ^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -Wall -Wextra -fPIC -g -I /home/opam/.opam/default/lib/ocaml -o mlmpfr_stubs.o -c mlmpfr_stubs.c) - In file included from /home/opam/.opam/default/lib/ocaml/caml/io.h:28, - from mlmpfr_stubs.h:323, - from mlmpfr_stubs.c:17: - /home/opam/.opam/default/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_is_released': - /home/opam/.opam/default/lib/ocaml/caml/platform.h:221:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration] - 221 | return atomic_load_acquire(&latch->value) == Latch_released; - | ^~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/default/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_set': - /home/opam/.opam/default/lib/ocaml/caml/platform.h:229:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration] - 229 | atomic_store_release(&latch->value, Latch_unreleased); - | ^~~~~~~~~~~~~~~~~~~~ - | atomic_store_explicit [ERROR] The compilation of mlmpfr.4.2.1 failed at "dune build -p mlmpfr -j 32". #=== ERROR while compiling mlmpfr.4.2.1 =======================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1 | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/mlmpfr.4.2.1 # command ~/.opam/default/bin/dune build -p mlmpfr -j 32 # exit-code 1 # env-file /tmp/opam-root-7/mlmpfr-7-493af2.env # output-file /tmp/opam-root-7/mlmpfr-7-493af2.out ### output ### # File "src/dune", line 8, characters 9-21: # 8 | (names mlmpfr_stubs) # ^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -Wall -Wextra -fPIC -g -I /home/opam/.opam/default/lib/ocaml -o mlmpfr_stubs.o -c mlmpfr_stubs.c) # In file included from /home/opam/.opam/default/lib/ocaml/caml/io.h:28, # from mlmpfr_stubs.h:323, # from mlmpfr_stubs.c:17: # /home/opam/.opam/default/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_is_released': # /home/opam/.opam/default/lib/ocaml/caml/platform.h:221:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration] # 221 | return atomic_load_acquire(&latch->value) == Latch_released; # | ^~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/default/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_set': # /home/opam/.opam/default/lib/ocaml/caml/platform.h:229:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration] # 229 | atomic_store_release(&latch->value, Latch_unreleased); # | ^~~~~~~~~~~~~~~~~~~~ # | atomic_store_explicit