-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
Werror: Tracy capture fails to build with gcc 14 #810
Comments
I can reproduce this, but I can't fix it. TBB is not even a requirement of Tracy, but of gcc / libstdc++, which depends on it to implement parallel STL, but doesn't even try to link with it, leaving the situation to be handled by projects that want to take advantage of parallel algorithms. There is even no way to check whether the STL implementation in use depends on TBB or not. It's a mess. The recommended way to deal with this is to install TBB through the package manager, so that it can be picked up by pkg-config (which is also not always provided, as far as I can remember, it has to be added manually by distribution packagers), instead of fetching it through CMake and building it manually. The problem with building is in TBB itself, and there has been no new releases since 2021.12.0, as you can see at https://github.com/oneapi-src/oneTBB/releases. As a workaround, you can try compiling Tracy with the |
With d9fe3ed you will be able to set |
sounds like this can be closed so, I haven't checked but I will at some point |
It appears this has broken again with 1c1faef. I get this with GCC 14 now:
TBB version: 2021.13.0 |
feel free to close and make a new ticket @wolfpld |
Different issue now, let's track it in #950. |
standard cmake config via
cd capture; mkdir build; cd build; cmake ..; make
gcc
tpp cmake config part
The text was updated successfully, but these errors were encountered: