-
Notifications
You must be signed in to change notification settings - Fork 13.3k
linking with cc
failed: multiple definition of `__muloti4'
#70489
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
cc
failed: multiple definition of `__muloti4'
Apparently this is a regression in 1.42.0? |
Actually no sorry, not introduced by 1.42.0 |
libcompiler_builtins defines "__muloti4" which is also part of libc++ which is statically linked to liblibrocksdb_sys (from https://github.com/tikv/rust-rocksdb). I naively think compiler-builtins usually should not be included in buiids and it being linked here is the problem? @jonas-schievink |
Can't help you with that, I try to do as little FFI as possible |
…nits, r=alexcrichton Keep codegen units unmerged when building compiler builtins Make it possible to control how mono items are partitioned into code generation units, when compiling the compiler builtins, by retaining the original partitioning. Helps with rust-lang#48625, rust-lang#61063, rust-lang#67960, rust-lang#70489. r? @alexcrichton
…nits, r=alexcrichton Keep codegen units unmerged when building compiler builtins Make it possible to control how mono items are partitioned into code generation units, when compiling the compiler builtins, by retaining the original partitioning. Helps with rust-lang#48625, rust-lang#61063, rust-lang#67960, rust-lang#70489. r? @alexcrichton
Triage: I get |
Hello,
I'm running into a link failure with
cc
and I'm not sure how to investigate this. I'm also running out of ideas.This will compile with clang 10 on ubuntu xenial:
I'm getting this error:
The text was updated successfully, but these errors were encountered: