-
Notifications
You must be signed in to change notification settings - Fork 394
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
s390x toolchain generates binaries for GLIBC 2.18 which is incompatible with RHEL 7 #451
Comments
Seems similar to #455 |
This might be an issue for a few reasons:
This means compiling glibc from source, which means we'd probably be better off using crosstool-ng entirely, which is quite a lot of work. It's definitely not impossible, and I'll add a section to the wiki about how to use older toolchain versions, but I don't think we can support this out-of-the-box: it's too much new code, a new dependency, and too much maintenance long term. |
This is relatively more complex than desired, because there's a lot of bugs in |
Update: we're going to be using |
Thanks for the feedback. With docker and cargo cross it's certainly easier; we are currently using a custom crosstool-ng toolchain for s390x which implies some additional setup with cargo config, environment variables, etc. |
Sounds perfect, I'll document it in the wiki and create my own repository with config and Dockerfiles for these, so others can plug-and-play to use them. It'd slow down our CI by a lot, and also it's a lot of maintenance for so many builds long term, but I think it's a good idea since most of our infra is already done here. EDIT: I've gotten approval to make it on cross-rs proper in a separate repo, so this should be a little more official. |
Sorry for the large number of notifications. I've tried this build and there's issues compiling for glibc versions <= 2.19, due to missing definitions for I really don't have time to patch glibc to do this, or find a way to fix this preprocessor definition, so if you have a working config file or patch, I'd be happy to use it. In the meantime, we'll show how to support newer glibc versions, but older ones like 2.17 can't be easily supported right now. |
No problem, thanks for your efforts and help. |
In the zLinux world the Red Hat Interprise Linux 7 is a very common distro. Unfortunately it comes with GLIBC 2.17 so the binaries created with the cross tool cannot be run due to some missing symbols.
The text was updated successfully, but these errors were encountered: