Skip to content

musl: powerpc64: Fix definition of EDEADLK #4517

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

Merged
merged 1 commit into from
Jul 3, 2025

Conversation

Gelbpunkt
Copy link
Contributor

Description

musl defines EDEADLK to be 35 on powerpc64 and EDEADLOCK to be 58.

This has always been the case since the introduction of powerpc64 support in musl.

Sources

https://git.musl-libc.org/cgit/musl/tree/arch/powerpc64/bits/errno.h#n35
https://git.musl-libc.org/cgit/musl/tree/arch/powerpc64/bits/errno.h#n58

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

musl defines EDEADLK to be 35 on powerpc64 and EDEADLOCK to be 58.

This has always been the case since the introduction of powerpc64
support in musl.

See:
https://git.musl-libc.org/cgit/musl/tree/arch/powerpc64/bits/errno.h#n35
https://git.musl-libc.org/cgit/musl/tree/arch/powerpc64/bits/errno.h#n58

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
@tgross35 tgross35 enabled auto-merge July 3, 2025 02:00
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jul 3, 2025
@tgross35 tgross35 added this pull request to the merge queue Jul 3, 2025
Merged via the queue into rust-lang:main with commit 3f8a0e3 Jul 3, 2025
47 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-linux O-musl O-unix 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