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

Cargo Build hangs forever with recent nighlies #75074

Closed
jamesmunns opened this issue Aug 2, 2020 · 2 comments · Fixed by #75076
Closed

Cargo Build hangs forever with recent nighlies #75074

jamesmunns opened this issue Aug 2, 2020 · 2 comments · Fixed by #75076
Labels
A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jamesmunns
Copy link
Member

With the following steps, I see the build hang indefinitely. This caused a 6 hour CI timeout for the nrf-rs organization. This does not happen with the stable/beta CI jobs, and did not happen previously with nightly. The following is a minimal repro of the CI steps of nrf-rs/nrf-hal#189.

git clone https://github.com/kalkyl/nrf-hal.git
cd nrf-hal
git checkout comp
rustup override set nightly-2020-08-02-x86_64-unknown-linux-gnu
rustup target add thumbv7em-none-eabihf
cargo build --manifest-path examples/rtic-demo/Cargo.toml
@jamesmunns jamesmunns added the C-bug Category: This is a bug. label Aug 2, 2020
@jonas-schievink jonas-schievink added the regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. label Aug 2, 2020
@rustbot rustbot added the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Aug 2, 2020
@jonas-schievink
Copy link
Contributor

#0  0x00007ffff53b4ea6 in rustc_mir::transform::simplify::CfgSimplifier::simplify ()
   from /home/jonas/.rustup/toolchains/nightly-2020-08-02-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-edb22b7dff97b8bd.so
#1  0x00007ffff53b4728 in rustc_mir::transform::simplify::simplify_cfg ()
   from /home/jonas/.rustup/toolchains/nightly-2020-08-02-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-edb22b7dff97b8bd.so

yep, same issue as #75051

@jonas-schievink
Copy link
Contributor

Reduced to just:

fn main() {
    loop {
        continue;
    }
}

@jonas-schievink jonas-schievink added A-mir-opt Area: MIR optimizations T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 2, 2020
@bors bors closed this as completed in dbc2ef2 Aug 3, 2020
@Dylan-DPC-zz Dylan-DPC-zz removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mir-opt Area: MIR optimizations C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants