mikaelholmen wrote: Hello @naveen-seth
Compiling with ```-DBUILD_SHARED_LIBS=ON``` fails with this patch: ``` FAILED: lib/libclangDriver.so.23.0git [...] ld.lld: error: undefined symbol: pthread_create >>> referenced by ModulesDriver.cpp >>> >>> tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ModulesDriver.cpp.o:(std::thread::_M_thread_deps_never_run()) ld.lld: error: undefined symbol: pthread_join >>> referenced by ModulesDriver.cpp >>> >>> tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ModulesDriver.cpp.o:(std::thread::_M_thread_deps_never_run()) clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` https://github.com/llvm/llvm-project/pull/152770 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
