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

Panic => hang with -C codegen-units=2 #540

Closed
kmcallister opened this issue Dec 24, 2014 · 1 comment
Closed

Panic => hang with -C codegen-units=2 #540

kmcallister opened this issue Dec 24, 2014 · 1 comment

Comments

@kmcallister
Copy link
Contributor

Building src/test/compile-fail/asm-src-loc-codegen-units.rs, I get

$ RUST_BACKTRACE=1 x86_64-unknown-linux-gnu/stage1/bin/rustc /home/keegan/rust/src/test/compile-fail/asm-src-loc-codegen-units.rs -L x86_64-unknown-linux-gnu/test/compile-fail --target=x86_64-unknown-linux-gnu -L x86_64-unknown-linux-gnu/test/compile-fail/asm-src-loc-codegen-units.stage1-x86_64-unknown-linux-gnulibaux -C prefer-dynamic -o x86_64-unknown-linux-gnu/test/compile-fail/asm-src-loc-codegen-units.stage1-x86_64-unknown-linux-gnu --cfg rtopt --cfg debug -C rpath -O -L x86_64-unknown-linux-gnu/rt -C codegen-units=2  
thread 'codegen-1' panicked at 'Box<Any>', /home/keegan/rust/src/libsyntax/diagnostic.rs:144  
stack backtrace:  
   1:     0x7fa4c3cc6160 - sys::backtrace::write::h65ec9c5123795f5a7Et  
   2:     0x7fa4c3ce1560 - failure::on_fail::h57fab0e8dcfaeb44q5z  
   3:     0x7fa4c3c64d30 - rt::unwind::begin_unwind_inner::hfb3e098e3005b453qJz  
   4:     0x7fa4bf1b71d0 - rt::unwind::begin_unwind::h10618648795271420137  
   5:     0x7fa4bf1b7c70 - diagnostic::Handler::fatal::h4880a8481789b123GZF  
   6:     0x7fa4bf1b7e70 - diagnostic::Handler::abort_if_errors::h67ec7bdbe130dc33m1F  
   7:     0x7fa4c2b9b470 - thunk::F.Invoke<A,$u{20}R$GT$::invoke::h6510616859115949120  
   8:     0x7fa4c2b9a250 - rt::unwind::try::try_fn::h2108817931159087488  
   9:     0x7fa4c3d50080 - rust_try_inner  
  10:     0x7fa4c3d50070 - rust_try  
  11:     0x7fa4c2b9a4f0 - thunk::F.Invoke<A,$u{20}R$GT$::invoke::h6356295493119065651  
  12:     0x7fa4c3cd3870 - sys::thread::thread_start::h343c9a18cc8a2c6fxDw  
  13:     0x7fa4be9d0fe0 - start_thread  
  14:     0x7fa4c3911c99 - __clone  
  15:                0x0 - <unknown>  

at which point rustc hangs.

@kmcallister
Copy link
Contributor Author

Wrong repo :(

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