Skip to content

Conversation

@usamoi
Copy link
Contributor

@usamoi usamoi commented Jan 24, 2026

Description

Followup of #4882.

Thanks to @de-vri-es for the reminder, I noticed that due to changes in the termios structure, mips(64) and sparc(64) gained new versions of the tcgetattr and tcsetattr symbols in GLIBC 2.42. This PR also binds versions for the tcgetattr and tcsetattr symbols on mips(64) and sparc(64). This PR fixes tests on mips(64) and sparc(64).

In addition, I noticed that Rust also supports several tier-3 targets with target_arch set to mips32r6 and mips64r6. This PR applies the previous fix to these two architectures as well.

Sources

https://github.com/bminor/glibc

Checklist

  • Tested locally (on sparc64 and mips64, with qemu and crosstool-ng)

@rustbot label +stable-nominated

@rustbot rustbot added O-unix stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Jan 24, 2026
@tgross35
Copy link
Contributor

@usamoi I haven't taken a super close look here yet but it appears fine, any reason this is marked as a draft?

@usamoi
Copy link
Contributor Author

usamoi commented Jan 28, 2026

any reason this is marked as a draft?

I need some time to set up the toolchain, so this PR will be marked as draft before testing

@usamoi usamoi marked this pull request as ready for review January 28, 2026 13:11
@usamoi
Copy link
Contributor Author

usamoi commented Jan 28, 2026

It's ready for review now.

@tgross35 tgross35 self-assigned this Jan 28, 2026
@tgross35 tgross35 changed the title followup of #4882 glibc: Update symbol versions for tc{get,set}attr Jan 29, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 29, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-unix S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants