[all-commits] [llvm/llvm-project] 8f8590: [OpenMP][AIX] Add libpthreads for -fopenmp (#184629)

Xing Xue via All-commits all-commits at lists.llvm.org
Wed Mar 4 08:24:02 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f8590e691fe772b321004118ae92f5230c8a94d
      https://github.com/llvm/llvm-project/commit/8f8590e691fe772b321004118ae92f5230c8a94d
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp

  Log Message:
  -----------
  [OpenMP][AIX] Add libpthreads for -fopenmp (#184629)

The compiler uses TLS for OpenMP thread‑private data, which results in
references to symbols such as `__tls_get_addr` in `libpthreads`.
Therefore, this PR adds `libpthreads` to the link command when
`-fopenmp` is specified.



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