https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90252
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Fri Jun 14 18:10:52 2019 New Revision: 272298 URL: https://gcc.gnu.org/viewcvs?rev=272298&root=gcc&view=rev Log: PR libstdc++/90252 Check TBB version and ability to link with -ltbb Backport from mainline 2019-05-21 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/90252 * testsuite/lib/libstdc++.exp (check_effective_target_tbb-backend): Use "additional_flags" to pass -ltbb to v3_target_compile command. Use check_v3_target_prop_cached to cache the result of the test. Backport from mainline 2019-05-20 Thomas Rodgers <trodg...@redhat.com> PR libstdc++/90252 * testsuite/lib/libstdc++.exp (check_effective_target_tbb-backend): Changed v3_target_compile check from preprocess to executable. Added "-ltbb" to v3_target_compile flags. Backport from mainline 2019-05-20 Thomas Rodgers <trodg...@redhat.com> * testsuite/lib/libstdc++.exp (check_effective_target_tbb-backend): Add check for Thread Building Blocks 2018 or later. Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/testsuite/lib/libstdc++.exp