Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sparc64-unknown-linux-gnu fails #177

Closed
gnzlbg opened this issue Jan 30, 2018 · 3 comments
Closed

sparc64-unknown-linux-gnu fails #177

gnzlbg opened this issue Jan 30, 2018 · 3 comments
Labels

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Jan 30, 2018

With error (see here):

thread '<unnamed>' panicked at 'assertion failed: signal(libc::SIGPIPE, libc::SIG_IGN) != libc::SIG_ERR', libstd/sys/unix/mod.rs:85:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: process didn't exit successfully: `qemu-sparc64 /target/sparc64-unknown-linux-gnu/release/deps/slice_deque-5da7fc08593c2b4e` (signal: 4, SIGILL: illegal instruction)

It doesn't look like cross tests are periodically run against travis (e.g. every 24-h), is that so? If so running the test suite periodically might help discover breakage introduced upstream.

@malbarbo
Copy link
Contributor

The same error for i686-android #140

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Oct 19, 2018

I've reported this upstream: rust-lang/rust#55204

This appears to happen when the libstd runtime is initialized.

@Alexhuszagh
Copy link
Contributor

This doesn't reproduce anymore as of cross 2f24bd4.

Sample code demonstrating it works is as of Rust 1.61.0 stable.

tmp_dir=$(mktemp -d)
cd "$tmp_dir"
git clone https://github.com/cross-rs/cross
cd cross
# checkout specific version known to work: latest commit on main tested.
git checkout 2f24bd4a81fcb375bc0acf9d0aa6a80d8f4123a0
cargo build

cd ..
git clone https://github.com/gnzlbg/slice_deque
cd slice_deque
"$tmp_dir"/cross/target/debug/cross test --target sparc64-unknown-linux-gnu

cd ~
rm -r "$tmp_dir"

All the tests pass, suggesting the issue has been fixed upstream.

@Alexhuszagh Alexhuszagh added the A-sparc Area: sparc targets label May 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants