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

libstd initializaton on sparc64-unknown-linux-gnu fails #55204

Open
gnzlbg opened this issue Oct 19, 2018 · 1 comment
Open

libstd initializaton on sparc64-unknown-linux-gnu fails #55204

gnzlbg opened this issue Oct 19, 2018 · 1 comment
Labels
C-bug Category: This is a bug. O-SPARC Target: SPARC processors T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Oct 19, 2018

Trying to run jemallocator tests on sparc64-unknown-linux-gnu I run into this error:

 Running `qemu-sparc64 /target/sparc64-unknown-linux-gnu/debug/deps/ffi-3572dfd160eda606`
thread '<unnamed>' panicked at 'assertion failed: signal(libc::SIGPIPE, libc::SIG_IGN) != libc::SIG_ERR', libstd/sys/unix/mod.rs:86:9
error: process didn't exit successfully: `qemu-sparc64 /target/sparc64-unknown-linux-gnu/debug/deps/ffi-3572dfd160eda606` (signal: 4, SIGILL: illegal instruction)

which points here: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/mod.rs#L86

This check seems to only depend on the target_os, so I find it weird that it fails for sparc64-unknown-linux-gnu given that it works on other linux targets.

@gnzlbg gnzlbg changed the title running tests on sparc64-unknown-linux-gnu fails libstd initializaton on sparc64-unknown-linux-gnu fails Oct 19, 2018
@jonas-schievink jonas-schievink added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. O-SPARC Target: SPARC processors C-bug Category: This is a bug. labels Jan 27, 2019
@Enselic
Copy link
Member

Enselic commented Oct 13, 2023

Triage: Do the tests still fail? Wanted to check since 5 years have passed and circumstances might have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-SPARC Target: SPARC processors T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants