Skip to content
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

ucontext_t, mcontext_t is missing for powerpc64le-unknown-linux-gnu #3964

Open
mgiessing opened this issue Oct 14, 2024 · 0 comments
Open

ucontext_t, mcontext_t is missing for powerpc64le-unknown-linux-gnu #3964

mgiessing opened this issue Oct 14, 2024 · 0 comments
Labels
C-bug Category: bug

Comments

@mgiessing
Copy link

It seems ucontext_t is missing for powerpc64le-unknown-linux-gnu:

[...]
error[E0432]: unresolved import `libc::ucontext_t`
 --> unwind-sys/src/powerpc64.rs:1:5
  |
1 | use libc::ucontext_t;
  |     ^^^^^^^^^^^^^^^^ no `ucontext_t` in the root
[...]

When I check for different archs (e.g. aarch64, loongarch, riscv64) most seem to have it in their align.rs (unix/linux_like/linux/gnu/b64/<ARCH>/align.rs) file, but for Power it's missing.

System

$ rustc -vV
rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: powerpc64le-unknown-linux-gnu
release: 1.81.0
LLVM version: 18.1.7
@mgiessing mgiessing added the C-bug Category: bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant