-
Notifications
You must be signed in to change notification settings - Fork 46
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
Segmentation fault using Apple Silicon & Docker #182
Comments
Is there any update about this? Is this crate still maintained? |
This is not an error with typenum. You should report it to the Rust compiler team instead. It may even be a bug in QEMU. |
@novacrazy do you have any insight as to why the issue only happens with typenum? I've not been able to reproduce with other packages. Building that extra context (or finding a minimal reproducible example) might make sense before taking it to the compiler team. |
No idea, nor am I able to test it. The segfault appears inside the compiler, though, possibly libc. It would be best to just open the issue on Rust’s repo. |
I know some projects are waiting on more from |
When compiling typenum I get:
The full output
Duplication
Using a mac with Apple Silicon (this one has an M1),
cd
into a new checkout of typenum (currently at 1.15.0) and run:Note that
--platform linux/amd64
is important otherwise when run on the target env will get error:Why build it like this?
because the project is deployed to a Debian environment and I am unable to build the project on the server.
I've verified building this way works when using an Intel Mac.
I'm not sure how to debug this, help / thoughts?
The text was updated successfully, but these errors were encountered: