-
Notifications
You must be signed in to change notification settings - Fork 29
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
Port to FreeBSD #80
Comments
Hi @web-vertalo The first tidbit would be to fix
If the ABI calling conventions differ between FreeBSD and Linux, then we need figure out how to generate a fourth variant of the assembly Hope this helps! Ideally we'd love to have a complete PR including CI for FreeBSD to make sure we keep things working. Cheers, Jonathan |
Pursuing the first suggestion from @msprotz, I cleaned up some Linuxisms (e.g. /bin/bash) and added flag setting for FreeBSD, and added -thread to hacl-star to get past the first error in quackyducky builds. Now I'm stuck here:
I don’t understand the -traverse option, but imagine that is not the issue if this code builds on other systems. The standard advice for inconsistent interface assumptions seems to be to rebuild the .mli file. I’m using ctypes.0.18.0, and there is no .ml file corresponding to ctypes_types.mli. Can someone point me in the right direction? |
The quackyducky/3d Makefile does not pass the clean target down to 3d/ocaml, so the 3d/ocaml/_build directory was not removed, resulting in a dirty build. |
Hi @web-vertalo perhaps it'd be helpful to break down this discussion into individual pull requests and/or issues on each project. For instance, I don't know that @tahina-pro keeps an eye on this discussion -- maybe separating the EverParse issues in https://github.com/project-everest/everparse/issues and the HACL* one on its respective bug tracker might be helpful? We can keep this discussion for the specific issues of the Thanks! |
This particular issue should be (coincidentally) solved by project-everest/everparse#45 . Thank you @web-vertalo for reporting! (That said, yes, I agree with Jonathan that EverParse-specific issues should be reported to the EverParse issue tracker.) |
I thought one conversation thread and separate PRs per project was the way to go, and stand corrected. Happy to oblige. |
I ported enough of the project to FreeBSD to build hacl-star and would like to find help to complete the remainder. Next step, how does one extend coverage for the assembly routines in hacl-star to a new OS? Is anyone interested in helping with this work?
The text was updated successfully, but these errors were encountered: