andrenth / ocaml-stdint

Various signed and unsigned integers for OCaml
Other
85 stars 16 forks source link

Linking with OCaml 4.13.1 musl+static+flambda lib/float_conv.c:90: undefined reference to `get_int128' #67

Open XVilka opened 2 years ago

XVilka commented 2 years ago

Attaching the simple test project and Dockerfile with Alpine 3.15 for easy reproducer.

ocaml-static-problem.zip

STEP 16/16: RUN eval "$(opam env)" && dune build
    ocamlopt test.exe (exit 2)
(cd _build/default && /home/test/.opam/4.13.1+musl+static+flambda/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test.exe /home/test/.opam/4.13.1+musl+static+flambda/lib/base/base_internalhash_types/base_internalhash_types.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/base/base_internalhash_types /home/test/.opam/4.13.1+musl+static+flambda/lib/base/caml/caml.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib0/sexplib0.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/base/shadow_stdlib/shadow_stdlib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/base/base.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/base /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_here/runtime-lib/ppx_here_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_inline_test/config/inline_test_config.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/jane-street-headers/jane_street_headers.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_compare/runtime-lib/ppx_compare_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_enumerate/runtime-lib/ppx_enumerate_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_hash/runtime-lib/ppx_hash_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/time_now/time_now.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/time_now /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_bench/runtime-lib/ppx_bench_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_assert/runtime-lib/ppx_assert_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/splittable_random/splittable_random.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/fieldslib/fieldslib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/base_quickcheck/base_quickcheck.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/base/md5/md5_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/unix.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/bigarray.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml /home/test/.opam/4.13.1+musl+static+flambda/lib/variantslib/variantslib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot/shape/bin_shape_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot/bin_prot.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot /home/test/.opam/4.13.1+musl+static+flambda/lib/stdio/stdio.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_module_timer/runtime/ppx_module_timer_runtime.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/typerep/typerep_lib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/common/expect_test_common.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/config_types/expect_test_config_types.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/collector/expect_test_collector.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/collector /home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/config/expect_test_config.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/base_bigstring/base_bigstring.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/base_bigstring /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/base_for_tests/base_for_tests.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/parsexp/parsexp.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib/sexplib.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/core_kernel.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/threads/threads.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml /home/test/.opam/4.13.1+musl+static+flambda/lib/core/error_checking_mutex/error_checking_mutex.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/core/error_checking_mutex /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/caml_unix/caml_unix.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/flags/flags.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/version_util/version_util.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/version_util /home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib/unix/sexplib_unix.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/spawn/spawn.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/spawn /home/test/.opam/4.13.1+musl+static+flambda/lib/timezone/timezone.cmxa /home/test/.opam/4.13.1+musl+static+flambda/lib/core/core.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/core /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/stdint.cmxa -I /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint .test.eobjs/native/dune__exe__Test.cmx -verbose -linkall)
+ as  -o '/tmp/build324dc5.dune/camlstartupd557ab.o' '/tmp/build324dc5.dune/camlstartupc5f397.s'
+ gcc -O2 -fno-strict-aliasing -fwrapv -pthread -Wall -Wdeclaration-after-statement -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -Os -Wl,-E  -o 'test.exe'  '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/base/base_internalhash_types' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/base' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/time_now' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/collector' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/base_bigstring' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/core/error_checking_mutex' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/version_util' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/spawn' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/core' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/stdint' '-L/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml'  '/tmp/build324dc5.dune/camlstartupd557ab.o' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/std_exit.o' '.test.eobjs/native/dune__exe__Test.o' '/home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/stdint.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core/core.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/timezone/timezone.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/spawn/spawn.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib/unix/sexplib_unix.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/version_util/version_util.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/flags/flags.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/caml_unix/caml_unix.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core/error_checking_mutex/error_checking_mutex.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/threads/threads.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/core_kernel.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib/sexplib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/parsexp/parsexp.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/core_kernel/base_for_tests/base_for_tests.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base_bigstring/base_bigstring.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/config/expect_test_config.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/collector/expect_test_collector.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/config_types/expect_test_config_types.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_expect/common/expect_test_common.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/typerep/typerep_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_module_timer/runtime/ppx_module_timer_runtime.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/stdio/stdio.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot/bin_prot.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/bin_prot/shape/bin_shape_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/variantslib/variantslib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/bigarray.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/unix.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base/md5/md5_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base_quickcheck/base_quickcheck.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/fieldslib/fieldslib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/splittable_random/splittable_random.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_assert/runtime-lib/ppx_assert_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_bench/runtime-lib/ppx_bench_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_inline_test/runtime-lib/ppx_inline_test_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/time_now/time_now.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_hash/runtime-lib/ppx_hash_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_enumerate/runtime-lib/ppx_enumerate_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_compare/runtime-lib/ppx_compare_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/jane-street-headers/jane_street_headers.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_inline_test/config/inline_test_config.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_here/runtime-lib/ppx_here_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base/base.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base/shadow_stdlib/shadow_stdlib.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/sexplib0/sexplib0.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base/caml/caml.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/base/base_internalhash_types/base_internalhash_types.a' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/stdlib.a' '-lstdint_stubs' '-lcore_stubs' '-lspawn_stubs' '-lversion_util_stubs' '-lerror_checking_mutex_stubs' '-lthreadsnat' '-lpthread' '-lcore_kernel_stubs' '-lrt' '-lbase_bigstring_stubs' '-lexpect_test_collector_stubs' '-lbin_prot_stubs' '-lunix' '-ltime_now_stubs' '-lbase_stubs' '-lbase_internalhash_types_stubs' '/home/test/.opam/4.13.1+musl+static+flambda/lib/ocaml/libasmrun.a' -lm 
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(float_conv.o): in function `float_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/float_conv.c:90: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(float_conv.o): in function `float_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/float_conv.c:158: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_conv.o): in function `int128_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_conv.c:262: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_stubs.o): in function `int128_cmp':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:69: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:70: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_stubs.o): in function `int128_hash':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:84: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_stubs.o): in function `int128_serialize':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:103: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_stubs.o): in function `int128_div':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:195: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int128_stubs.o):/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int128_stubs.c:199: more undefined references to `get_int128' follow
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int16_conv.o): in function `int16_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int16_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int24_conv.o): in function `int24_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int24_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int24_conv.o): in function `int24_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int24_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int32_conv.o): in function `int32_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int32_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int32_conv.o): in function `int32_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int32_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int40_conv.o): in function `int40_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int40_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int40_conv.o): in function `int40_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int40_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int48_conv.o): in function `int48_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int48_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int48_conv.o): in function `int48_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int48_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int56_conv.o): in function `int56_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int56_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int56_conv.o): in function `int56_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int56_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int64_conv.o): in function `int64_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int64_conv.c:104: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int64_conv.o): in function `int64_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int64_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int8_conv.o): in function `int8_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int8_conv.c:106: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int8_conv.o): in function `int8_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int8_conv.c:174: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int_conv.o): in function `int_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int_conv.c:90: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(int_conv.o): in function `int_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/int_conv.c:158: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(nativeint_conv.o): in function `nativeint_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/nativeint_conv.c:90: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(nativeint_conv.o): in function `nativeint_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/nativeint_conv.c:158: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_conv.o): in function `uint128_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_conv.c:166: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_stubs.o): in function `uint128_cmp':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:111: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:112: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_stubs.o): in function `uint128_hash':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:126: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_stubs.o): in function `uint128_serialize':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:145: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_stubs.o): in function `suint128_add':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:219: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint128_stubs.o):/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint128_stubs.c:219: more undefined references to `get_uint128' follow
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint16_conv.o): in function `uint16_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint16_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint16_conv.o): in function `uint16_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint16_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint24_conv.o): in function `uint24_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint24_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint24_conv.o): in function `uint24_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint24_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint32_conv.o): in function `uint32_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint32_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint32_conv.o): in function `uint32_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint32_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint40_conv.o): in function `uint40_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint40_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint40_conv.o): in function `uint40_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint40_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint48_conv.o): in function `uint48_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint48_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint48_conv.o): in function `uint48_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint48_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint56_conv.o): in function `uint56_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint56_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint56_conv.o): in function `uint56_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint56_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint64_conv.o): in function `uint64_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint64_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint64_conv.o): in function `uint64_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint64_conv.c:172: undefined reference to `get_uint128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint8_conv.o): in function `uint8_of_int128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint8_conv.c:111: undefined reference to `get_int128'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/test/.opam/4.13.1+musl+static+flambda/lib/stdint/libstdint_stubs.a(uint8_conv.o): in function `uint8_of_uint128':
/home/test/.opam/4.13.1+musl+static+flambda/.opam-switch/build/stdint.0.7.0/_build/default/lib/uint8_conv.c:172: undefined reference to `get_uint128'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
Error: error building at STEP "RUN eval "$(opam env)" && dune build": error while running runtime: exit status 1
anchpop commented 2 years ago

Also running into this issue :(