[all-commits] [llvm/llvm-project] 17a49c: [Flang] Fix BUILD_SHARED_LIBS build (#155422)

Michael Kruse via All-commits all-commits at lists.llvm.org
Tue Aug 26 12:09:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17a49c405b63ccb1925a838710547cee1821cf93
      https://github.com/llvm/llvm-project/commit/17a49c405b63ccb1925a838710547cee1821cf93
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    M flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt

  Log Message:
  -----------
  [Flang] Fix BUILD_SHARED_LIBS build (#155422)

In contrast to linking a static library, when linking a shared library
all referenced symbols must be available in either the objects files,
static libraries, or shared libraries passed to the linker command line
and cannot be deferred to when building the executable.

Fixes #150027

Same fix as included in #152223, but with only the changes necessary to
fix #150027 (which is unrelated to GCC 15)



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