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.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tgross35 tgross35 added this pull request to the merge queue Feb 9, 2026
Merged via the queue into rust-lang:main with commit 44b709c Feb 9, 2026
50 of 51 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 9, 2026
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 9, 2026
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 9, 2026
(backport <rust-lang#4938>)
(cherry picked from commit 36bd27a)
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Feb 9, 2026
(backport <rust-lang#4938>)
(cherry picked from commit 44b709c)
@tgross35 tgross35 mentioned this pull request Feb 9, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 9, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 9, 2026
(backport <#4938>)
(cherry picked from commit 49acdc6)
github-merge-queue bot pushed a commit that referenced this pull request Feb 9, 2026
(backport <#4938>)
(cherry picked from commit 36bd27a)
github-merge-queue bot pushed a commit that referenced this pull request Feb 9, 2026
(backport <#4938>)
(cherry picked from commit 44b709c)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Feb 9, 2026
@usamoi usamoi deleted the termios branch February 10, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-unix stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants