-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
current spdlog v1.x branch (b6051273) fails to build with fmt (b79ed41) or later #2485
Comments
You could use If there is still perf difference, I'd be happy to look at the benchmark and see how it can be resolved. There is no reason for such difference to exist. |
I think this is the function I was referring to which was slower. Could be because I needed on each call to wrap my buffer with back_inserter just to get unwrapped again in fmt. |
Using |
That’s cool. Will try that. |
Have the same issue here. Buidling fails when using latest fmtlib with SPDLOG_FMT_EXTERNAL set. |
BTW handling of |
This breakage puts us in a bit of a bind in the conda-forge ecosystem. We did not immediately unvendor format from spdlog (mistakes happen...), which now means many builds depending on spdlog are broken (because the ecosystem has moved on to fmt 9 in the meantime), and unvendoring causes an ABI break for packages built against the old world. What would help us immensely would be to have a new version tag (whether 1.10.1 or 1.11.0), then we'd have a clear boundary (that's well-enforcable by the rest of our machinery) at which we could unvendor fmt, and get unstuck again. |
Updated bundled fmt to 9.1.0 and replaced |
Thanks a lot! 🙏🙃
With the flurry of changes today, may I ask if a new release is somewhere on the horizon? |
Yes, should be a new release in few days. |
That's amazing, thank you very much! If you don't have a very strong preference about how to increment the version, 1.11.0 would make our lives quite a bit easier than 1.10.1. 🙃 |
This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
…k#34731) This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
…k#34731) This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
…k#34731) This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
…k#34731) This adds a new version of spdlog, https://github.com/gabime/spdlog/releases/tag/v1.11.0 While the release notes are ambiguous, I think that this PR, gabime/spdlog#2485, indicates that spdlog from that point on uses features of fmt@9:.
Originally submitted to fmt via fmtlib/fmt#3090 but they think it's an spdlog problem. Including the text of the bug report here for convenience:
I just did a rebase of my project, including latest upstream fmt and spdlog. It appears that fmt broke compatibility with spdlog somehow, but my C++ template-fu is weak and I'm not sure what the error message is trying to tell me exactly:
git bisection blames fmt revision fmtlib/fmt@b79ed41:
Here's the bisection log:
The text was updated successfully, but these errors were encountered: