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

AddressSanitizer does not work on the aarch64-unknown-linux-gnu target #73038

Closed
pietroalbini opened this issue Jun 5, 2020 · 3 comments
Closed
Labels
A-sanitizers Area: Sanitizers for correctness and code quality C-enhancement Category: An issue proposing an enhancement or a PR with one. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state

Comments

@pietroalbini
Copy link
Member

When running the rustc test suite on AArch64, the codegen/sanitizer-no-sanitize.rs fails with the following message:

error: AddressSanitizer only works with the `x86_64-unknown-linux-gnu` or `x86_64-apple-darwin` or `x86_64-fuchsia` or `aarch64-fuchsia` target
@jonas-schievink jonas-schievink added A-sanitizers Area: Sanitizers for correctness and code quality C-enhancement Category: An issue proposing an enhancement or a PR with one. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state labels Jun 5, 2020
@pietroalbini
Copy link
Member Author

The src/test/rustdoc/sanitizer-option.rs test also fails because of this.

@pietroalbini
Copy link
Member Author

cc @Stammark @JamieCunliffe @vigoux @joaopaulocarreiro @raw-bin, this is one of the tests that are failing on AArch64.

There is a PR open #73058 that apparently should fix this.

@pietroalbini
Copy link
Member Author

This was fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sanitizers Area: Sanitizers for correctness and code quality C-enhancement Category: An issue proposing an enhancement or a PR with one. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
Projects
None yet
Development

No branches or pull requests

2 participants