File "src/bin/dune", line 2, characters 7-11:
2 | (name main)
^^^^
/usr/bin/ld: /home/opam/.opam/4.14/lib/luv/c/libuv.a(libuv_la-dl.o): in function `uv_dlopen':
/home/opam/.opam/4.14/.opam-switch/build/luv.0.5.11/_build/default/src/c/vendor/libuv/src/unix/dl.c:36: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/ocaml/libunix.a(initgroups.o): in function `unix_initgroups':
/home/opam/.opam/4.14/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/unix/initgroups.c:35: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/ocaml/libunix.a(getgr.o): in function `unix_getgrgid':
/home/opam/.opam/4.14/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/unix/getgr.c:65: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/ocaml/libunix.a(getgr.o): in function `unix_getgrnam':
/home/opam/.opam/4.14/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/unix/getgr.c:50: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_get_pw_gr_nam_id_job.o): in function `worker_getgrgid':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_get_pw_gr_nam_id_job.c:132: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_get_pw_gr_nam_id_job.o): in function `worker_getgrnam':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_get_pw_gr_nam_id_job.c:126: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/ocaml/libunix.a(getpw.o): in function `unix_getpwnam':
/home/opam/.opam/4.14/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/unix/getpw.c:57: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/ocaml/libunix.a(getpw.o): in function `unix_getpwuid':
/home/opam/.opam/4.14/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/unix/getpw.c:72: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_get_pw_gr_nam_id_job.o): in function `worker_getpwnam':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_get_pw_gr_nam_id_job.c:123: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_get_pw_gr_nam_id_job.o): in function `worker_getpwuid':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_get_pw_gr_nam_id_job.c:129: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_getaddrinfo_job.o): in function `worker_getaddrinfo':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_getaddrinfo_job.c:66: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_gethostbyaddr_job.o): in function `worker_gethostbyaddr':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_gethostbyaddr_job.c:41: warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_gethostbyname_job.o): in function `worker_gethostbyname':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_gethostbyname_job.c:42: warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_getprotoby_getservby_job.o): in function `worker_getprotobynumber':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_getprotoby_getservby_job.c:234: warning: Using 'getprotobynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_getprotoby_getservby_job.o): in function `worker_getprotobyname':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_getprotoby_getservby_job.c:231: warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_getprotoby_getservby_job.o): in function `worker_getservbyname':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_getprotoby_getservby_job.c:237: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /home/opam/.opam/4.14/lib/lwt/unix/liblwt_unix_stubs.a(unix_getprotoby_getservby_job.o): in function `worker_getservbyport':
/home/opam/.opam/4.14/.opam-switch/build/lwt.5.6.1/_build/default/src/unix/unix_getprotoby_getservby_job.c:241: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libc.a(abort.o): in function `abort':
(.text.unlikely+0x24): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `__stack_chk_guard' defined in .data.rel.ro section in /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libc.a(libc-start.o)
/usr/bin/ld: (.text.unlikely+0x24): warning: too many GOT entries for -fpic, please recompile with -fPIC
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
From https://ci.ocamllabs.io/github/moby/vpnkit/commit/d91517547a11f97700d544387a6d292651db37d1/variant/debian-11-4.14_arm64_opam-2.1