Vladislav Shchapov

Results 208 comments of Vladislav Shchapov

@anton-potapov Yes. Segfault is present ​only is LTO enabled for tests and only on GCC-7. In the discussion of PR #647, I did not check build with LTO enabled.

Microsoft Visual Studio 2017, 2019, x86 and x64 - all test passed.

@vlserov, Yes, segfault is present only if IPO is enabled for tests.

Maybe close the issue, since the error is not reproduced on gcc-8 and newer?

Also need an export: https://github.com/oneapi-src/oneTBB/blob/09346731f1279feb23c81f569eabe6010c620872/test/tbb/test_dynamic_link.cpp#L31-L39

@anton-potapov ``unsafe_wait`` does not export any symbols from libtbb.dylib. I think because of this the compiler/linker from xcode makes typeinfo hidden.

Xcode 14, same warning: ``` ld: warning: cannot export hidden symbol typeinfo for tbb::detail::r1::unsafe_wait from CMakeFiles/tbb.dir/exception.cpp.o ```

> Broken serialization of worker thread requests (more threads than system concurrency are created) M1 Max has 10 cores (2 efficient and 8 performance cores) The test creates 10 threads.