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

Build Fails (misaligned thread local) #52114

Closed
TheDarkula opened this issue Jul 6, 2018 · 4 comments
Closed

Build Fails (misaligned thread local) #52114

TheDarkula opened this issue Jul 6, 2018 · 4 comments
Labels
A-libtest Area: `#[test]` / the `test` library T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@TheDarkula
Copy link
Contributor

@oli-obk and @kennytm

Using rustc 1.27.0 (3eda71b00 2018-06-19) on Arch Linux, x86_84.

Building with ./x.py test --stage 1 src/test/{ui,compile-fail,run-pass} --bless causes one test failure.

Relevant error bits:

---- [run-pass] run-pass/issue-44056.rs stdout ----

error: test run failed!
status: signal: 4
command: "rustc/build/x86_64-unknown-linux-gnu/test/run-pass/issue-44056/a"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[run-pass] run-pass/issue-44056.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:3140:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
    [run-pass] run-pass/issue-44056.rs

test result: FAILED. 0 passed; 1 failed; 3039 ignored; 0 measured; 0 filtered out
@stokhos stokhos added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-libtest Area: `#[test]` / the `test` library labels Jul 7, 2018
@atsampson
Copy link

I'm seeing the same single test failure with rustc-1.29.1. This test is built with -Ctarget-feature=+avx, and I'm building on a CPU that doesn't have AVX (Xeon E5520); it dies with an illegal instruction error when it hits the first AVX instruction (a VPXOR). Should it be disabled on non-AVX machines?

@nnethercote
Copy link
Contributor

nnethercote commented Nov 5, 2018

I was getting this late last week after updating. It went away after I deleted my build directory and rebuilt.

(Or something similar; LLVM was segfaulting. I don't remember if it was manifesting as a panic.)

@RalfJung
Copy link
Member

RalfJung commented Nov 6, 2018

Related to #55537?

@RalfJung
Copy link
Member

I am going to assume this got fixed when #55537 got fixed. If anybody sees this issue again, please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-libtest Area: `#[test]` / the `test` library T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

5 participants