Closed
Description
Error produced:
EH pad must be jumped to via an unwind edge
%cleanuppad13 = cleanuppad within none []
br i1 %1927, label %bb99, label %bb102_cleanup_trampoline_bb99, !dbg !719592
As seen here: https://ci.appveyor.com/project/NikolayVolf/parity-g802m/build/1.3.0+1997#L640
Triggered by this update from 1.10.0 to 1.12.0: https://github.com/ethcore/parity/pull/2423
Either LLVM is broken or the generated IR is.
Feel free to change the title to something more descriptive. Unfortunately I haven't got a windows machine for testing, just the one broken appveyor build.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]Rustc 1.12.0 Windows build of `ethcore` crate [/-][+]Rustc 1.12.0 Windows build of `ethcore` crate fails with LLVM error[/+]alexcrichton commentedon Oct 3, 2016
Historically most of these have been LLVM bugs, unfortunately, which are notoriously hard to track down. @rphmeier do you know if it'd be possible to minimize the test case at all?
rphmeier commentedon Oct 3, 2016
@alexcrichton yikes, I have no idea to be honest. Like I said, I haven't got a windows machine to test with and the test case as it stands is about 10-15k LoC on its own...
nikomatsakis commentedon Oct 4, 2016
This may well be related to MIR, as well.
cc @rust-lang/compiler
rphmeier commentedon Oct 4, 2016
Confirmed a MIR issue: build succeeds with
RUSTFLAGS= -Zorbit=off
https://ci.appveyor.com/project/NikolayVolf/parity-g802m/build/1.3.0+2055
nikomatsakis commentedon Oct 4, 2016
@rphmeier I am trying to get a windows setup up and going to test this and other reported problems (my previous Windows VM recently mysteriously lost its Network Driver and I've never been able to figure out how to get it back...). Any tips you can give me for reproducing it? I guess just a vanilla x86_64 MSVC configuration?
rphmeier commentedon Oct 4, 2016
@nikomatsakis Thanks for looking into this. A vanilla x86_64 MSVC setup sounds right. The appveyor.yml contains a few additional setup steps which you might find useful: https://github.com/ethcore/parity/blob/master/appveyor.yml
nikomatsakis commentedon Oct 5, 2016
So I am able to reproduce this. Interestingly, debug builds don't seem to encounter the issue.
nikomatsakis commentedon Oct 5, 2016
Huh, somewhat frustratingly, this...stopped reproducing for now. Not sure what is different now!
22 remaining items