Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upA number of tests fails with undefined references to `rust_eh_unwind_resume` when codegen-units > 1 #43095
Comments
CryZe
referenced this issue
Jul 7, 2017
Closed
wasm32-unknown-emscripten programs crash with codegen-units > 1 #43101
This comment has been minimized.
This comment has been minimized.
|
One cause of this is #43150 as we shouldn't codegen these function calls anyway, still investigating. |
This comment has been minimized.
This comment has been minimized.
|
Ok looks like this is also due to #43151. I think to paper over this issue we should just unconditionally compile compiler-builtins with I'm going to tag this as a regression as I think this won't affect just the bootstrap, but any builds with LTO that end up not using symbols from core. |
alexcrichton
added
the
regression-from-stable-to-nightly
label
Jul 10, 2017
alexcrichton
referenced this issue
Jul 10, 2017
Open
Undefined references to rust_eh_unwind_resume on x86_64-pc-windows-gnu #177
This comment has been minimized.
This comment has been minimized.
|
I've also filed rust-lang-nursery/compiler-builtins#177 to track the fix there. That includes a test which fails today and when passing should solve this issue. |
brson
added
T-compiler
I-nominated
labels
Jul 13, 2017
This comment has been minimized.
This comment has been minimized.
|
Compiler team might want to be aware of this. It seems to just impact our own bootstrap though. P-? |
petrochenkov
referenced this issue
Jul 15, 2017
Merged
Compile `compiler_builtins` with `abort` panic strategy #43258
bors
added a commit
that referenced
this issue
Jul 16, 2017
bors
added a commit
that referenced
this issue
Jul 17, 2017
This comment has been minimized.
This comment has been minimized.
|
I'll close this since the immediate problem is fixed and the underlying issues have their own issues. |
petrochenkov commentedJul 6, 2017
•
edited by sanxiyn
#42899 looks like a likely reason
cc @alexcrichton @japaric
Affected
run-passtests (there are also failing tests in other groups):Failures look like this:
This happens on Windows/GNU (which seems to be the only target using
rust_eh_unwind_resume).