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 upcodegen-units setting in Cargo.toml causes LLVM error with nightly-i686-pc-windows-msvc #36309
Comments
This comment has been minimized.
This comment has been minimized.
|
cc @mw |
This comment has been minimized.
This comment has been minimized.
brson
added
the
I-nominated
label
Sep 13, 2016
This comment has been minimized.
This comment has been minimized.
|
Nominating for @rust-lang/compiler triage. |
This comment has been minimized.
This comment has been minimized.
|
I have a dim memory of fixing this exact same problem two months ago... |
michaelwoerister
self-assigned this
Sep 14, 2016
This comment has been minimized.
This comment has been minimized.
|
I knew that I had seen this problem before somewhere: #33890 (comment) |
michaelwoerister
referenced this issue
Sep 14, 2016
Closed
Don't generate code for unused #[inline] function #36280
nrc
added
P-medium
and removed
I-nominated
labels
Sep 15, 2016
michaelwoerister
referenced this issue
Sep 16, 2016
Merged
trans: Only instantiate #[inline] functions in codegen units referencing them #36524
bors
added a commit
that referenced
this issue
Sep 19, 2016
bors
added a commit
that referenced
this issue
Sep 21, 2016
This comment has been minimized.
This comment has been minimized.
|
@michaelwoerister is this fixed? |
This comment has been minimized.
This comment has been minimized.
|
@Boscop maybe you can check if this is fixed? |
This comment has been minimized.
This comment has been minimized.
|
It should be fixed but I'm not sure the fix is in nightly yet. |
This comment has been minimized.
This comment has been minimized.
|
@michaelwoerister it should be in nightly, the most recent one is: rustc 1.13.0-nightly (4f9812a 2016-09-21) |
pnkfelix
added
the
E-needstest
label
Sep 29, 2016
This comment has been minimized.
This comment has been minimized.
|
I spent some time trying to write a small test case without success. Since this is fixed for |
michaelwoerister
closed this
Oct 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Boscop commentedSep 6, 2016
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 compilexml-rs.This happens only when I have
codegen-units = 4in my Cargo.toml and only with the 32bit version of the toolchain, only withnightly-i686-pc-windows-msvcnot withnightly-x86_64-pc-windows-msvc.(I tested 4 configs: with/without
codegen-units = 4in Cargo.toml ⨯ 32/64 bit)