-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
no method named si_pid
found for struct siginfo_t
for armv7-unknown-linux-uclibceabihf
#118190
Comments
I'm assuming that the linux kernel on that target still uses pretty much the same signal structure as most other ones so this is probably a libc issue that it lacks those accessors. |
Probably, but it's a problem in the libc that's bundled with std, not the standalone crate. And since std itself doesn't compile, it's hard to bisect the standalone crate. |
Bisecting shouldn't be needed, the uses in std were added in #117957. |
More context: |
Hi, since rust-lang/libc#3529 is merged, is this still an issue? |
@jieyouxu that only fixes the problem in the libc crate. libc is vendored within the standard library, so it's necessary to update the vendored version. |
@rustbot label +O-Arm +T-libs -needs-triage |
@jieyouxu it's been merged into |
I believe this issue has been fixed in libc v0.2.156. |
Let me give it a test on the Nix side. |
Yeah, tested on the Nix side, nix-rust/nix#2487, I think this issue can be closed now. |
Closing, since @SteveLauC confirmed it to be fixed. |
I tried this code:
I expected to see this happen: it should work
Instead, this happened: the build fails like this:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: