-
Notifications
You must be signed in to change notification settings - Fork 12
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
Bytecode build failure #29
Comments
Update: the problem is only with
Not sure if it is a platform-specific issue. |
@nojb do you know if there is an alternative way for the fix from #27? I am pinging also the relative dune thread: ocaml/dune#3908 |
Did you try adding a |
I am doing that locally in a branch, seems to work but still testing. But then I am quite confused by the difference between the compiler/preprocessor flags and the link flags |
@ryanrhymes @mseri thanks for your hints. That explains the „movement“ of linking flags. I will also test the fix on Windows when merged. |
For info, in the future |
Thanks! |
I am going to keep this open until we move to a dune with the new feature. |
Thanks for your work! Here is my feedback so far, first for Linux (Ubuntu 20.04, WSL2, OCaml 4.11.1):
-> Installation of
It looks like support for RTTI (runtime type info, if I am not mistaken) is missing. Are you relying on that? If not, one might disable this by adding Another question is, whether I am tho only one observing this error, e.g., do I have a special setup (not that I am aware of)? |
.. and here the feedback for Windows10 (mingw toolchain in a Cygwin environment):
Here installation of eigen already fails. Unfortunately, I don't really have an idea what's going wrong here. Maybe it is related to this issue: link |
Thanks for the report. Looks like these we can test here: #31 |
Sounds good to me. Currently, I pin |
I can reproduce the issue on a linux VM and on the GH Actions worker in the new PR |
Just for completeness: "Linux" issue: "Windows" issue: |
i tried on macos. i pinned eigen to a local copy of master at commit a80f9a0 . then opam upgrade completes without complaints (no owl installed in this 4.11 switch)
|
@code-ghalib I have marked eigen 0.4.0 as unavailable on the opam-repository, it breaks too many workflows (surprising that it was not failing in the opam-repository CI revdeps, but I guess it is because it only tested the direct dependencies). You can still use that version by pinning dev-repo. We will release a version that fixes both linking and cmxs as soon as we find a way to have both (probably using a new version of dune) |
Thank you @mseri , just left this open just for awareness - the native build was sufficient for my needs. |
I'm trying to build an empty dune project depending on
owl
, created usingdune init proj test --libs owl
, and I get this error:My system information is:
Additionally,
CC
,CXX
,LD_LIBRARY_PATH
are all unset in my environment.ldd
shows this:Looks like
libstdc++
is not there which seems surprising considering these arecpp
stubs. Am I doing something wrong? Read some of the other issues that seemed related - is there a workaround short of attempting to build from source? I'm also not sure how to build from source and have it replaced inside the opam directory (not a heavy opam user). There doesn't seem to be a dockerfile for arch-linux here - is this platform not supported? Any help would be appreciated - thanks.The text was updated successfully, but these errors were encountered: