-
Notifications
You must be signed in to change notification settings - Fork 376
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
openssl-sys compilation segfaults for arm-unknown-linux-gnueabihf #1097
Comments
The error
suggests this is segmentation fault is in the make build and could be due to qemu. |
I'm unable to reproduce this on my Mac M1. The example given successfully completes
What's the output of the following command for you? (edit: this is not a reliable way to query the qemu version)
|
$ docker run --privileged --rm tonistiigi/binfmt -version
binfmt/a161c41 qemu/v7.0.0 go/1.18.5
$ cargo --version
cargo 1.66.0-nightly (9210810d1 2022-10-25) |
Yeah, upgrading to Try downgrading
this might be tonistiigi/binfmt#109 |
qemu 7.1.0 exhibits the same issue
|
@eliabieri were you able to solve this with #1097 (comment) ? |
Yes it did 🥳 |
It's still an upstream issue so I think it should remain to track when this is fixed. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
the issue upstream has been closed and tonistiigi/binfmt#122 has been opened instead @ShaneMurphy2 in #1238 (comment)_ what error code did you get? |
|
that's pretty much the error I got here :/ |
Checklist
Describe your issue
arm-unknown-linux-gnueabihf-gcc
segfaults when compilingopenssl-sys
forarm-unknown-linux-gnueabihf
What target(s) are you cross-compiling for?
arm-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.4 (a8082de 2022-10-26)
Example
git clone https://github.com/eliabieri/cross-openssl-segfault-demo cd cross-openssl-segfault-demo cross build --target armv7-unknown-linux-gnueabihf
generates
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: