-
Notifications
You must be signed in to change notification settings - Fork 213
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
Duplicate __builtin_clz symbols on MSVC Windows #167
Comments
I opened an upstream diff for this. |
What's the status on this? |
compnerd
pushed a commit
to llvm/llvm-project
that referenced
this issue
Jan 19, 2024
Mark the following symbols as `static` to prevent duplicate definitions: `__builtin_ctz` `__builtin_clz` `__builtin_clzll` `__builtin_sadd_overflow` >Without these then all of these functions show up in all object files which include int_lib.h on Windows. This'll help prevent duplicate symbols by ensuring they're not exported. See: rust-lang/compiler-builtins#167 https://reviews.llvm.org/D34599
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is due to the fact that their definition is not marked
static
. Filing an issue to track this, gonna add a FIXME for now.The text was updated successfully, but these errors were encountered: