-
Notifications
You must be signed in to change notification settings - Fork 382
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
arm-unknown-linux-gnueabihf generates dependency on GLIBC_2.28 #712
Comments
The ARM toolchain referenced in the dockerfile explicitly says it contains 2.28 so maybe best to update the table from 2.27 -> 2.28. I have a user who'd like to use our ARM cross builds on Ubuntu 18.04 which only has 2.27 and is LTS until 2028. |
@Emilgardis Thanks for these.
My project has ring as an indirect dependency which has a complicated, platform-dependent build script.
I'll take this issue over to the cargo-zigbuild project for suggestions to see if they can help. Regardless of outcome with zigbuild, is rust-cross interested in supporting older GLIBC for this architecture?. Not supporting Ubuntu 18.04 doesn't seem portable. |
It looks like I'm hamstrung by ziglang/zig#4911 and unable to use cargo-zigbuild until that resolves. |
Yes, as hinted in #680, we want to try to do that |
This has actually been fixed: we've lowered this (for this target only) to glibc 2.17 (see supported targets). This was part of another bug fix (reported in #426 and fixed in #734). While moving to crosstool for this image build to correctly target ARMv6 rather than ARMv7, we were able to build for a much older glibc so we can have compatibility with RHEL7. |
That's great! How often are releases done? Does it matter if the referenced docker image are updated more frequently? I guess I'm just wondering when this fix would show up if I'm using Github actions with |
You can try it out already if you add
|
Hi,
We're using rust-cross in our CI to generate FFI libraries for a number of targets:
https://github.com/stepfunc/dnp3/blob/refactor/jni-ci-gen/.github/workflows/ci.yml#L274
The generated GLIBC dependencies are as advertised with the exception of
arm-unknown-linux-gnueabihf
. The table in the README says 2.27 for this target, whereas we have the following two 2.28 dependencies in the .so:The full objdump.txt
Is this expected? Can the minimum required GLIBC be lowered for this target?
thanks!
Adam
The text was updated successfully, but these errors were encountered: