-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Undefined `fmt::v7::detail::basic_data<void>::zero_or_powers_of_10_32_new' on clang #2147
Comments
Interesting. The symbol in question is defined here: Line 261 in 2797588
Does replacing |
Assuming that we understood you correctly, attempted to run same with fmt master plus just this one line changed:
Travis gcc and clang jobs failed. gcc ones failed on building fmt:
clang one failed again on linking with same issue as before. CircleCI gcc jobs passed, clang once again failed on linking with same issue as before. Looks like everything worked fine as before commit 2797588 changes. |
Reverted 2797588 for now. Thanks for reporting. |
Revert "Optimize handling of integer constants" (fmtlib#2147)
Hi! This issue seams to have re-surfaced. I haven't pin-pointed the exact commit, but seems to be introduced again around 23.04. I'm having this issue on Clang 7.0.1 and AppleClang 9.1.0.9020039.
However, I have no issues on Apple Clang 12.0.0 |
These symbols were removed intentionally in preparation for the next major release. |
I see! Just to be clear tho, I do not reference these symbols myself. Here is a minimal working example: mwe.cpp
CMakeLists.txt
Not an issue when linking to Anyway, just wanted to let you know. It's not issue for me atm, so feel free to ignore |
Ah, you are referring to |
Anyway, this is a clang <= 8 bug worked around in 84a36b9. |
Hi!
We build fmt from source and some of our builds started failing yesterday (same jobs suceeded 5 days ago).
We are not sure what's going on.
(Travis, MacOS, AppleClang 9.1.0.9020039)
https://travis-ci.com/github/equinor/dlisio/jobs/485583924#L194
One other clang configuration fails in different place, but also during linking:
(CircleCI, Debian, Clang 7.0.1)
(link might not be public) https://app.circleci.com/pipelines/github/equinor/dlisio/552/workflows/7a2a824d-c75a-42ea-ab93-d31b5e3ef11a/jobs/3422
Could you please take a look?
Thanks!
The text was updated successfully, but these errors were encountered: