Vladislav Shchapov
Vladislav Shchapov
@isaevil , @pavelkumbrasev Legacy macOS 10.15 (x86_64), AppleClang 12.0.0.12000032: Commit 88f73bbb48d5384ccba3e35b5c5a59451f718063 (current master without this PR): ``` cmake -DCMAKE_VERBOSE_MAKEFILE=ON ../.. make -j8 phprus@mbp-phprus cxx % nm -g appleclang_12.0_cxx11_64_relwithdebinfo/libtbb.12.10.dylib | grep...
Commit 88f73bbb48d5384ccba3e35b5c5a59451f718063 with ``TBB_ENABLE_IPO=OFF``: ``` phprus@mbp cxx-no-lto % nm -g appleclang_14.0_cxx11_64_relwithdebinfo/libtbb.12.10.dylib | grep __ZTIN3tbb6detail2r 000000000001c5c8 S __ZTIN3tbb6detail2r110user_abortE 000000000001c608 S __ZTIN3tbb6detail2r112missing_waitE 000000000001c588 S __ZTIN3tbb6detail2r114bad_last_allocE phprus@mbp cxx-no-lto % nm -g appleclang_14.0_cxx11_64_relwithdebinfo/libtbb.12.10.dylib |...
My build with or without this PR: ``` phprus@mbp cxx % nm -m appleclang_14.0_cxx11_64_relwithdebinfo/libtbb.12.dylib | grep __ZTIN3tbb6detail2r112missing_waitE 0000000000024648 (__DATA_CONST,__const) external __ZTIN3tbb6detail2r112missing_waitE ``` library from binary package: ``` phprus@mbp oneapi-tbb-2021.9.0 %...
Rebased.
@isaevil , @pavelkumbrasev, Can you tell me what versions of macOS and Apple Clang (XCode) are you using for compilation?
Reproducing: ***oneTBB-37a89d47f2bca3700f9777732c41f08ac44d2d0a*** ``` MBP-phprus:build phprus$ cmake -DCMAKE_VERBOSE_MAKEFILE=ON .. CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the...
@isaevil, @pavelkumbrasev, After two days of research... The ``tbb::detail::r1::unsafe_wait`` ABI is completely broken on macOS. I don't know how to fix it without breaking the ``tbb::detail::r1::unsafe_wait`` ABI on macOS. Step...
@vossmjp, Could you please tell what you think about the issue with ``unsafe_wait`` on macOS?
Rebased to resolve conflicts with current master.
Rebased. Documentation build error is out of scope for this PR.