-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Adjust for newer glibc on sparc64 #1187
Conversation
This commit removes special cases for sparc64 which caused test failures on a sparc64 system (Debian, glibc 2.28). With these changes, the ABI tests pass except for the known test failure from rust-lang#1080
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@bors: r+ |
📌 Commit 86e6311 has been approved by |
Adjust for newer glibc on sparc64 This commit removes special cases for sparc64 which caused test failures on a sparc64 system (Debian, glibc 2.28). With these changes, the ABI tests pass except for the known test failure from #1080
💔 Test failed - status-travis |
The CI failure is most likely due to an older libc version (Debian libc6-dev-sparc64-cross 0.24.x) compared to the host I created this patch for (Debian libc6-dev 0.28-3). How do we decide the target libc version for the libc crate? |
Do we need this commit to fix any failures on Debian sparc64 unstable with glibc 2.28? |
Yes, as I said, it fixes all test failures (compiler warning that purposedfully gets escalated to an error for a member of utmpx and several outdated constants for netfilter stuff) that currently occur on Debian sparc64 unstable, except for one netfilter-related test failure that already has its own issue: #1080. |
Well, this is about libc ABI tests, not about rustc tests. AFAIK libc ABI tests are not part of |
Historically we have chosen it "as old as possible" to be as compatible with as many libc versions as possible, but we have slowly moved to "as new as possible" because some things like If you need a newer libc version here, just update it as part of this PR. |
Any progress on this? |
@gnzlbg I'll take care of this. I just recently built fresh installation images for Debian sparc64. I'm actually the one who is responsible for the installation images in Debian Ports :). We can update the ones for |
☔ The latest upstream changes (presumably #1217) made this pull request unmergeable. Please resolve the merge conflicts. |
@gnzlbg I think what needs to be done first is switching the CI to use a newer Debian sparc64 image from https://cdimage.debian.org/cdimage/ports/. I'm the person at Debian responsible for creating these images, so it's probably best when I send the PR for that to avoid pointing to links that might get moved. |
That would be awesome. |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
This needs rebasing |
I'll take care of that. |
The 25 is verified against the debian version used in CI, which is technically the only one that we fully-support. It should be forward compatible with newer kernel versions, but not with older versions. |
FYI I'm closing this PR, it appears that most changes are in. Feel free to reopen or submit a new PR for newer changes. |
Okay, makes sense then. Thanks for having taken care of this. |
This commit removes special cases for sparc64 which caused test failures on a sparc64
system (Debian, glibc 2.28). With these changes, the ABI tests pass except for the
known test failure from #1080