[all-commits] [llvm/llvm-project] 15ad84: [clang][deps] Explicitly link pthreads

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Mar 20 09:37:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15ad84fffd76e845ce48f7cb8a917eb6532b93c9
      https://github.com/llvm/llvm-project/commit/15ad84fffd76e845ce48f7cb8a917eb6532b93c9
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/CMakeLists.txt

  Log Message:
  -----------
  [clang][deps] Explicitly link pthreads

This is a speculative fix for link failure found by the RHEL 8 bot: https://lab.llvm.org/buildbot/#/builders/204/builds/3862.

FAILED: lib/libclangDependencyScanning.so.21.0git
/InProcessModuleCache.cpp.o: In function `(anonymous namespace)::ReaderWriterLock::tryLock()':
InProcessModuleCache.cpp:(.text._ZN12_GLOBAL__N_116ReaderWriterLock7tryLockEv+0x1d): undefined reference to `pthread_rwlock_trywrlock'



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list