Skip to content

Building core on thumbv6-none-eabi fails with "LLVM ERROR: invalid symbol redefinition" #62776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
archshift opened this issue Jul 18, 2019 · 2 comments
Labels
A-codegen Area: Code generation A-const-generics Area: const generics (parameters and arguments) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@archshift
Copy link
Contributor

In my project I'm using xargo to build libcore.

Perhaps appropriately, the compiler warns it may crash and then promptly crashes:

warning: the feature `const_generics` is incomplete and may cause the compiler to crash
  --> /home/gui/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/lib.rs:77:37
   |
77 | #![cfg_attr(not(bootstrap), feature(const_generics))]
   |                                     ^^^^^^^^^^^^^^

LLVM ERROR: invalid symbol redefinition
@archshift
Copy link
Contributor Author

Tried the July 1st nightly, and it works fine.

@jonas-schievink jonas-schievink added A-const-generics Area: const generics (parameters and arguments) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. A-codegen Area: Code generation labels Jul 18, 2019
@nikic
Copy link
Contributor

nikic commented Jul 25, 2019

Closing this in favor of #62932, which is the same issue (not related to const generics).

@nikic nikic closed this as completed Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation A-const-generics Area: const generics (parameters and arguments) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants