https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- <execution> requires TBB, as documented: https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017 "Note 3: The Parallel Algorithms have an external dependency on Intel TBB 2018 or later. If the <execution> header is included then -ltbb must be used to link to TBB." If you use the parallel algos (or just include their headers) then the TBB headers are included. That's by design, they don't work otherwise. We can't do anythign about the fact that Intel deprecated their own API shortly after using contributing the PSTL headers to GCC, which depend on that API.