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

memory sanitizer fails at the build-std stage #243

Open
g2p opened this issue Nov 21, 2020 · 5 comments
Open

memory sanitizer fails at the build-std stage #243

g2p opened this issue Nov 21, 2020 · 5 comments

Comments

@g2p
Copy link

g2p commented Nov 21, 2020

Looking at CI runs, this failed between 2020-09-14 and 2020-10-07 and is still broken.
This seems to relate to building avx512f instructions, which it might be possible to skip on most machines.
I'll try to investigate further by bisecting nightlies.

@g2p
Copy link
Author

g2p commented Nov 23, 2020

Regression appeared on 2020-09-28.

RUST_SRC_REPO=~/src/github.com/rust-lang/rust cargo install cargo-bisect-rustc
echo $'#!/bin/sh\ncargo test run_with_msan_with_crash' >> test-msan.sh
chmod +x test-msan.sh
cargo bisect-rustc --with-src --start 2020-09-14 --end 2020-10-07 --script ./test-msan.sh 

Getting it down to a bors commit was harder since the msan test has false failures with these builds (possibly they are less optimised).

cargo bisect-rustc --preserve --by-commit --with-src --start 2020-09-27 --end 2020-09-28 --script ./test-msan.sh --preserve-target --prompt

This is the culprit:
rust-lang/rust@1d216fe

@g2p
Copy link
Author

g2p commented Nov 23, 2020

rust-lang/rust#77259

@g2p
Copy link
Author

g2p commented Nov 23, 2020

This can be worked around by reverting #193.

@g2p
Copy link
Author

g2p commented Nov 24, 2020

Introduced in rust-lang/stdarch@3fa0f6a
Unsquashed version is at rust-lang/stdarch#907

@g2p
Copy link
Author

g2p commented Nov 24, 2020

rust-lang/stdarch#957

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

No branches or pull requests

1 participant