After threaded Solar System PR merge linking on Linux g++-11 fails
envgap__Stellarium__stellarium-3896
01 / FAILURE SIGNATURE
As reported upstream
/usr/include/tbb/task_arena.h:449: undefined reference to `tbb::interface7::internal::task_arena_base::internal_current_slot
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
15c31043e1dca406a4034f698bfbc686b40c5b11- Manifest
src/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
Stellarium/stellarium #3896 · read the original issue
I get the following error on Ubuntu 20.04, g++ 11.4.0-2ubuntu1~20.04: ``` /usr/include/tbb/task_arena.h:449: undefined reference to `tbb::interface7::internal::task_arena_base::internal_current_slot ``` If I comment out `#include <execution>`, linking succeeds. Also note that I get this: ``` -- Checking that std::execution::par is supported by the C++ library - NO ``` This is despite my compiler supporting this functionality. It just needs to link against `libtbb` (via `-ltbb` linker option) for linking to succeed.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]