[all-commits] [llvm/llvm-project] bb9342: Revert "Link against libclang-cpp.so"

Dimitry Andric via All-commits all-commits at lists.llvm.org
Tue Aug 10 15:34:02 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bb934263aca9fa57c2cb3550e605a4471d149cee
      https://github.com/llvm/llvm-project/commit/bb934263aca9fa57c2cb3550e605a4471d149cee
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/FrontendTool/CMakeLists.txt
    M flang/tools/flang-driver/CMakeLists.txt
    M flang/unittests/Frontend/CMakeLists.txt

  Log Message:
  -----------
  Revert "Link against libclang-cpp.so"

This reverts commit ba485d5bd56fd00e2e12522e76788bc52a87a4a9.

This was committed on accident.


  Commit: a1a5cfdee04276b6ea72d26e177df5f86d650c80
      https://github.com/llvm/llvm-project/commit/a1a5cfdee04276b6ea72d26e177df5f86d650c80
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/CMakeLists.txt

  Log Message:
  -----------
  [libomptarget][amdgpu] use --allow-shlib-undefined to link on FreeBSD

On FreeBSD, the `environ` symbol is undefined at link time for shared
libraries, but resolved by the dynamic linker at runtime. Therefore,
allow the symbol to be undefined when creating a shared library, by
using the `--allow-shlib-undefined` linker flag, instead of `-z defs`
(a.k.a `--no-undefined`).

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D107698

(cherry picked from commit 400cd6d2f0496e913e25285615a86f9c29811171)


Compare: https://github.com/llvm/llvm-project/compare/19ee94d36b93...a1a5cfdee042


More information about the All-commits mailing list