Skip to content

codegen-units setting in Cargo.toml causes LLVM error with nightly-i686-pc-windows-msvc #36309

Closed

Description

@Boscop

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)

Activity

  1. added
    O-windowsOperating system: Windows
    A-codegenArea: Code generation
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Sep 7, 2016
  2. brson commented on Sep 7, 2016

    @brson
    Contributor

    cc @mw

  3. alexcrichton commented on Sep 13, 2016

    @alexcrichton
    Member
  4. brson commented on Sep 13, 2016

    @brson
    Contributor

    Nominating for @rust-lang/compiler triage.

  5. michaelwoerister commented on Sep 13, 2016

    @michaelwoerister
    Member

    I have a dim memory of fixing this exact same problem two months ago... 😕

  6. michaelwoerister commented on Sep 14, 2016

    @michaelwoerister
    Member

    I knew that I had seen this problem before somewhere: #33890 (comment)

  7. added and removed on Sep 15, 2016
  8. brson commented on Sep 22, 2016

    @brson
    Contributor

    @michaelwoerister is this fixed?

  9. brson commented on Sep 22, 2016

    @brson
    Contributor

    @Boscop maybe you can check if this is fixed?

  10. michaelwoerister commented on Sep 22, 2016

    @michaelwoerister
    Member

    It should be fixed but I'm not sure the fix is in nightly yet.

  11. pnkfelix commented on Sep 22, 2016

    @pnkfelix
    Contributor

    @michaelwoerister it should be in nightly, the most recent one is:

    rustc 1.13.0-nightly (4f9812a 2016-09-21)

  12. added
    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.
    on Sep 29, 2016
  13. michaelwoerister commented on Oct 6, 2016

    @michaelwoerister
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

A-codegenArea: Code generationE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.O-windowsOperating system: WindowsP-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions