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
re2.v0.11.0 build fails on armv6l because gcc doesn't have the -m32 flag #26
Comments
@diml @trefis Maybe one of you can help with this?
Also, we now prefer ocaml-re over re2. If you are able to switch, we recommend that instead. https://github.com/ocaml/ocaml-re
|
Thanks dwang. To give some more context, opam was installing re2 as a dependency of patdiff. |
I suppose we can change the script to say to check the output of |
This is also happening on The lines mentioned above are now https://github.com/janestreet/re2/blob/master/src/re2_c/dune#L18-L20 - I've worked around the issue by getting the v0.13.0 tarball and deleting those lines. |
If some can provide a patch to fix armv6l compilation, we'll integrate it. |
Does this mean that re2 is no longer used/recommended even by Jane Street? Edit: Just saw this article: https://blog.janestreet.com/what-the-interns-have-wrought-2020/. I guess it isn't being used anymore. |
This package uses JaneStreet's Re2 bindings. Re2 is not currently working on x86_32. For more info, see here: janestreet/re2#26.
While compiling this package on my armv6 (32-bit) Raspberry Pi, gcc gave this error:
The
-m32
and-m64
flags aren't available on ARM because (unlike on Intel), there are separate 32/64-bit gcc toolchains. (source)I tracked down where the flag gets added in src/re2_c/jbuild:
But I wasn't sure what the best way to exclude ARM without breaking the existing functionality. Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: