You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codegen-units setting in Cargo.toml causes LLVM error with nightly-i686-pc-windows-msvc #36309
Using the latest nightly rustc 1.13.0-nightly (cbe4de78e 2016-09-05) I'm getting this error on a project that uses euclid which uses xml-rs: LLVM ERROR: assembler label 'L__ehtable$_ZN3xml6reader6parser10MarkupData13take_ encoding17hb15412b3bac19ec7E' can not be undefined error: Could not compile xml-rs.
This happens only when I have codegen-units = 4 in my Cargo.toml and only with the 32bit version of the toolchain, only with nightly-i686-pc-windows-msvc not with nightly-x86_64-pc-windows-msvc.
(I tested 4 configs: with/without codegen-units = 4 in Cargo.toml ⨯ 32/64 bit)
I spent some time trying to write a small test case without success. Since this is fixed for xml-rs which is cited by the original report, I'll close this.
Activity
brson commentedon Sep 7, 2016
cc @mw
alexcrichton commentedon Sep 13, 2016
cc @michaelwoerister
brson commentedon Sep 13, 2016
Nominating for @rust-lang/compiler triage.
michaelwoerister commentedon Sep 13, 2016
I have a dim memory of fixing this exact same problem two months ago... 😕
michaelwoerister commentedon Sep 14, 2016
I knew that I had seen this problem before somewhere: #33890 (comment)
brson commentedon Sep 22, 2016
@michaelwoerister is this fixed?
brson commentedon Sep 22, 2016
@Boscop maybe you can check if this is fixed?
michaelwoerister commentedon Sep 22, 2016
It should be fixed but I'm not sure the fix is in nightly yet.
pnkfelix commentedon Sep 22, 2016
@michaelwoerister it should be in nightly, the most recent one is:
rustc 1.13.0-nightly (4f9812a 2016-09-21)
michaelwoerister commentedon Oct 6, 2016
I spent some time trying to write a small test case without success. Since this is fixed for
xml-rswhich is cited by the original report, I'll close this.