[all-commits] [llvm/llvm-project] be3aa4: [Flang-RT] Fix GCC 15.1 Fortran Runtime libstdc++ ...
Patrick Simmons via All-commits
all-commits at lists.llvm.org
Thu Oct 16 09:24:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be3aa41ecc9b6cc68248e660a30829a16eda26b3
https://github.com/llvm/llvm-project/commit/be3aa41ecc9b6cc68248e660a30829a16eda26b3
Author: Patrick Simmons <psimmons at pensando.io>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M flang-rt/cmake/modules/AddFlangRT.cmake
Log Message:
-----------
[Flang-RT] Fix GCC 15.1 Fortran Runtime libstdc++ Undefined Symbols (#157385)
Define the _GLIBCXX_THROW_OR_ABORT macro to not use its _EXC argument. _EXC may contain an expression constructing an std::exception object which is non-inline and therefore require a link dependency on the libstdc++ runtime. In -fno-exceptions builds it is typically optimized away when appearing in unreachable code, but is still present when compiling with -O0 when compiling with Clang.
---------
Co-authored-by: Michael Kruse <github at meinersbur.de>
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