-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix zlib-ng compilation on Raspberry Pi ARM32 #106586
Conversation
The windows-arm64 build failure is unrelated. It was fixed yesterday by #106578. |
nit: it's a community-supported platform, not unsupported. 😉 |
We were already blocking armv6 here, so I am wondering why it is not working: https://github.com/dotnet/runtime/blob/main/eng/native/configureplatform.cmake#L511-L516 |
This is ARMv7 system though, so it is (correctly) not blocked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanations. The comment seems to be descriptive enough about the mismatch.
If this is not an upstream issue in zlib-ng as you mentioned, but rather an issue in runtime, could you please then open an issue for us to continue the discussion around this mismatch and make sure we get it fixed when the time comes?
/ba-g The CI failure in crossaot is unrelated to your PR and has already been fixed in main: #106578 |
I can open an issue but I don't think there's anything else to fix. ARMv6 is community supported platform that uses system Zlib. There's no degradation from disabling this code path on the supported ARMv7 platforms since they have NEON available and zlib-ng thus gets the fast paths. We may want to double check what happens when cross-compiling but the PR should certainly not make it worse. Using thumb instruction set in CoreCLR is conscious choice that is unlikely to be changed. |
Alright, no problem, I trust your assessment. Do you have permission to hit the merge button or would you like me to do it? |
Please merge it, I don’t have the permissions. Thanks! |
I also forgot to ask: do you know if the |
It should be covered by the regular runtime tests for linux-arm. If you want to be extra cautious then |
All the linux-arm legs passed. I think that should be enough. Thanks. |
Fixes #106584
Note that we don't lose any optimized code paths since NEON is enabled:
On the unsupported ARMv6 Mono builds the system Zlib is used instead.