Skip to content
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

[...]/libllvm_sys-af2874cb0b33780b.rlib: error adding symbols: file format not recognized #481

Closed
julian-siebert opened this issue Mar 6, 2024 · 1 comment
Labels

Comments

@julian-siebert
Copy link

julian-siebert commented Mar 6, 2024

Describe the Bug
So I've added Inkwell to Cargo with following line:
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm17-0"] }

Everytime I want to build/run my project while using Inkwell throws following error:
error: linking with cc failed: exit status: 1
|
= note: LC_ALL="C" [more arguments...]
= note: /usr/bin/ld: [project path]/target/debug/deps/libllvm_sys-af2874cb0b33780b.rlib: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status

I'm not sure if this is a bug or just a mistake of mine.

To Reproduce
If I do
let context = Context::create();
the programm refuses to compile with the given error.

Expected Behavior
Well, compile and be able to run.

LLVM Version (please complete the following information):

  • LLVM Version: 17.0.1
  • Inkwell Branch Used: master

Desktop (please complete the following information):

  • OS: Fedora 39

Additional Context
I'm sure I've installed all needed dependencies.
Rustup is installed on latest version like llvm is.

@julian-siebert
Copy link
Author

Inactive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants