-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross-compilation regression on mirage #9199
Labels
Comments
While diffing the logs, it looks like it picks the wrong context ( binary ocamldoc: found in /home/runner/work/dune/dune/_opam/bin
binary x86_64-solo5-none-static-cc: found in /home/runner/work/dune/dune/_opam/bin
binary ocamlopt: found in /home/runner/work/dune/dune/_opam/bin
-checking compilation with x86_64-solo5-none-static-cc -I/home/runner/work/dune/dune/_opam/solo5-sysroot/include/nolibc/ -include _solo5/overrides.h -O2 -fno-strict-aliasing -fwrapv -I/home/runner/work/dune/dune/mirage/_build/solo5/duniverse/Zarith/../../../install/solo5/lib/gmp/: working
+checking compilation with x86_64-solo5-none-static-cc -I/home/runner/work/dune/dune/_opam/solo5-sysroot/include/nolibc/ -include _solo5/overrides.h -O2 -fno-strict-aliasing -fwrapv -I/home/runner/work/dune/dune/mirage/_build/solo5/duniverse/Zarith/../../../install/default/lib/gmp/: working
include caml/mlvalues.h: found
library dynlink.cmxa: found
binary ocamlfind: found in /home/runner/work/dune/dune/_opam/bin |
I think that the crux of the issue is that in this dune file:
We resolve -$ (cd _build/solo5/duniverse/Zarith && ../../../default/duniverse/Zarith/configure_env.exe --cc 'x86_64-solo5-none-static-cc -I/tmp/repro/_opam/solo5-sysroot/include/nolibc/ -include _solo5/overrides.h -O2 -fno-strict-aliasing -fwrapv' --with-gmp=../../../install/solo5/lib/gmp/libgmp.a) > _build/solo5/duniverse/Zarith/gmp.true
+$ (cd _build/solo5/duniverse/Zarith && ../../../default/duniverse/Zarith/configure_env.exe --cc 'x86_64-solo5-none-static-cc -I/tmp/repro/_opam/solo5-sysroot/include/nolibc/ -include _solo5/overrides.h -O2 -fno-strict-aliasing -fwrapv' --with-gmp=../../../install/default/lib/gmp/libgmp.a) > _build/solo5/duniverse/Zarith/gmp.true |
emillon
added a commit
to emillon/dune
that referenced
this issue
Nov 16, 2023
Signed-off-by: Etienne Millon <[email protected]>
emillon
added a commit
to emillon/dune
that referenced
this issue
Nov 16, 2023
Signed-off-by: Etienne Millon <[email protected]>
Repro in #9200 |
emillon
added a commit
to emillon/dune
that referenced
this issue
Nov 16, 2023
Fixes ocaml#9199 Signed-off-by: Etienne Millon <[email protected]>
rgrinberg
pushed a commit
that referenced
this issue
Nov 16, 2023
Signed-off-by: Etienne Millon <[email protected]>
rgrinberg
pushed a commit
that referenced
this issue
Nov 16, 2023
Fixes #9199 Signed-off-by: Etienne Millon <[email protected]>
emillon
added a commit
to emillon/dune
that referenced
this issue
Nov 17, 2023
Fixes ocaml#9199 Signed-off-by: Etienne Millon <[email protected]>
emillon
added a commit
that referenced
this issue
Nov 17, 2023
Fixes #9199 Signed-off-by: Etienne Millon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our mirage CI run is broken. The linking step fails with:
I bisected that to #8740. I'll try to isolate a repro case.
The text was updated successfully, but these errors were encountered: