-
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
Native libs compiled against 2.29 instead of 2.24 glibc. #354
Comments
This is not all native libs, just maybe the the ARM 64 ones. I checked the x86_64 one and it is correct. |
No, they are not. The ARM targets use cross to cross-compile the lib on an Intel agent. Cross uses it's own docker image to build the lib. |
Ah, I see. |
We are using the latest build from main for cross, over the released version of 0.2.5 due to errors in the build process There are quite a few changes, one notes glibc explicitly although for an arm image There is an issue pointing to spurious glibc versions, depending on ordering of builds, with a suggestion of a cargo clean between building for different targets, and one mentioning that the x86_64 is building with too new a version of glibc This might be relevant too, which shows that main branch vs 0.2.5 has additional changes included which update the docker images, but there is also a suggestion that we can control the glibc version used in the build process |
Thanks for that cookie trail. Seems like a |
i think you can specify in the Cross.toml |
Ah! |
so
There is a centos image, which results in glibc 2.17 only problem we have is ring was recently updated to ring 0.17.x and it fails to build with earlier versions of the image other than the main tag which is using glibc 2.31
For ref, we can control the images via Cross.toml
published images https://github.com/cross-rs/cross/pkgs/container/aarch64-unknown-linux-gnu edit: looks like the glibc failures for ring are due to hanging around cache, sorted with a cargo clean |
As per #202, the native library should be compiled against a glibc version 2.24. However, as discovered in pact-foundation/pact-js-core#472 it appears to be 2.29, which makes it incompatible with a lot of common base images.
The text was updated successfully, but these errors were encountered: