-
Notifications
You must be signed in to change notification settings - Fork 79
Failed to compile libz-ng-sys v1.1.8 on armv7-unknown-linux-gnueabihf #108
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
Comments
Just a clarification: it should be already using the hard-float ABI, but the error diagnostic asking you to use |
FYI: this seems to be fixed with a more recent toolchain (GCC 9.4.0 and glibc 2.31) and fails with an older one (GCC 5.4.0 and glibc 2.23). I'm not sure if libz-sys supports older glibc versions? |
This caused issues with cmake-rs's CI in rust-lang/cmake-rs#164. Should cmake-rs be doing something to help here? It seems semi-reasonable that we could translate a subset of |
The feature detection for a hard-float ARMv7 target seems to be fixed with a more recent GCC version, so this should hopefully be fixed with the 0.3.0 release. I'll check out the PowerPC64 issue as well, and I'll try to triage roughly loosely what toolchain versions replicate the issue. Maybe this can help either cmake-rs or ccs-rs, since this isn't exclusively a cross issue and it would be nice to ensure any fixes are significantly comprehensive, if possible. |
Hello. I am building using armv8/rust to study deno on raspberry pi. Since deno v1.36.1 my builds are failing. I was hoping that it would go away after a while, but there seems to be no improvement even after 3 months. I will share it
|
Besides that, another step could be to open a PR which adjust CI so that it runs into the same failure. From there I'd hope something can be done to fix it, either here or by contributing something to the Thanks for your help. |
Thanks for the response. The only work to be done in docker build as follows is to execute the following commands. I would like to learn more so that I can report more details. Dockerfile
|
I can't read the log. Add environment variables
execution cargo check
|
It appears the log previously was truncated, and now it seems complete claiming that
Can you try to install |
Thank you very much. I was able to complete the build. I added the following
The previous log will be the one that was not output where it entered the container and passed after the second time. I apologize for the trouble, as I was able to build without adding it before, so I don't know what is wrong. |
Uh oh!
There was an error while loading. Please reload this page.
Running cmd
on cargo-binstall v0.15.0 failed with error:
From CI failure.
and
According to this comment from @Alexhuszagh:
libz-ng should not use NEON intrinsics on armv7hf.
The text was updated successfully, but these errors were encountered: