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

Compiler test asm-misplaced-option fails on AArch64 Linux #33737

Closed
mmatyas opened this issue May 19, 2016 · 1 comment · Fixed by #33753
Closed

Compiler test asm-misplaced-option fails on AArch64 Linux #33737

mmatyas opened this issue May 19, 2016 · 1 comment · Fixed by #33753

Comments

@mmatyas
Copy link
Contributor

mmatyas commented May 19, 2016

I've managed to run make check on a Juno AArch64 development board using Rust 310d899.
The only test that fails is asm-misplaced-option.rs:

---- [compile-fail] compile-fail/asm-misplaced-option.rs stdout ----

error: /home/mmatyas/rustc_autoteszt/rust/src/test/compile-fail/asm-misplaced-option.rs:20: expected error not found: compilation successful

error: /home/mmatyas/rustc_autoteszt/rust/src/test/compile-fail/asm-misplaced-option.rs:25: expected warning not found: unrecognized option

error: /home/mmatyas/rustc_autoteszt/rust/src/test/compile-fail/asm-misplaced-option.rs:32: expected warning not found: expected a clobber, found an option

error: 0 unexpected errors found, 3 expected errors not found
status: exit code: 101
command: aarch64-unknown-linux-gnu/stage2/bin/rustc /home/mmatyas/rustc_autoteszt/rust/src/test/compile-fail/asm-misplaced-option.rs -L aarch64-unknown-linux-gnu/test/compile-fail/ --target=aarch64-unknown-linux-gnu --error-format json -Z unstable-options -L aarch64-unknown-linux-gnu/test/compile-fail/asm-misplaced-option.stage2-aarch64-unknown-linux-gnu.compile-fail.libaux -C prefer-dynamic -o aarch64-unknown-linux-gnu/test/compile-fail/asm-misplaced-option.stage2-aarch64-unknown-linux-gnu --cfg rtopt -C rpath -O -L aarch64-unknown-linux-gnu/rt
actual errors (from JSON output): []

Here's the full log, and a shorter one here.

@nagisa
Copy link
Member

nagisa commented May 19, 2016

This is supposed to be x86-only test. I’m surprised it fails on your target but doesn’t fail on our ARMs (or, perhaps, we don’t run any). Either way, you may ignore/delete/etc the test.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue May 27, 2016
Fix `asm-misplaced-option` on ARM/AArch64

This fixes rust-lang#33737. Of course, since we don't run `make check` for ARM cross builds, you probably won't notice it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants