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
Compilation failure on OSX with M1 CPU #35
Labels
bug
Something isn't working
Comments
nmathewson
added a commit
to nmathewson/rlimit
that referenced
this issue
Apr 1, 2022
I got these by running the provided scripts/codegen.sh, with CODEGEN64 removed. They seem to match up with the contents of the resource.h from the SDK. With these defintions, rlimit now builds and passes its tests on my M1 laptop. Closes issue Nugine#35.
Nugine
pushed a commit
that referenced
this issue
Apr 1, 2022
I got these by running the provided scripts/codegen.sh, with CODEGEN64 removed. They seem to match up with the contents of the resource.h from the SDK. With these defintions, rlimit now builds and passes its tests on my M1 laptop. Closes issue #35.
Closed
Thanks for the fast response! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Since upgrading to 0.8, I've had a compilation failure when building on my m1 laptop:
This problem seems to occur because there is no entry for
target_arch="aarch64", target_os="macos"
in bindings.rs.I tried to rectify this by running "scripts/codegen.sh", but got a compilation failure from the C++ code:
As near as I can tell, my SDK does not have a separate rlim64_t or getrlimit64, so I tried running again with CODEGEN64 disabled.
I'll try writing a PR with the results.
The text was updated successfully, but these errors were encountered: