[all-commits] [llvm/llvm-project] 049d61: [flang][AArch64] Always link compiler-rt to flang ...

David Truby via All-commits all-commits at lists.llvm.org
Tue Jun 24 03:08:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 049d61ad65b0040e8581d46682e78501fc17dd1e
      https://github.com/llvm/llvm-project/commit/049d61ad65b0040e8581d46682e78501fc17dd1e
  Author: David Truby <david.truby at arm.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    A flang/test/Driver/flang-ld-aarch64.f90
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [flang][AArch64] Always link compiler-rt to flang after libgcc (#144710)

This patch fixes an issue where the __trampoline_setup symbol is missing
with some programs compiled with flang. This symbol is present only in
compiler-rt and not in libgcc. This patch adds compiler-rt to the link
line after libgcc if libgcc is being used, so that only this symbol will
be picked from compiler-rt.

Fixes #141147



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