[flang-commits] [flang] [llvm] [flang-rt] Remove library dependency from flang-rt to offload (PR #198793)
Michael Kruse via flang-commits
flang-commits at lists.llvm.org
Fri May 22 05:41:40 PDT 2026
================
@@ -111,6 +111,8 @@ set(host_sources
)
if (TARGET llvm-libc-common-utilities)
----------------
Meinersbur wrote:
It doesn't even compile without it:
```cpp
ld.lld: error: undefined symbol: Fortran::runtime::io::RegisterRPCHandlers()
>>> referenced by main.cpp
>>> main.cpp.o:(_FortranAProgramStart) in archive /home/meinersbur/src/llvm/main/release/lib/clang/23/lib/x86_64-unknown-linux-gnu/libflang_rt.runtime.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
```
I don't think we need (or want to) support random changes to the repository checkout. The top-level directories have not been independent for some time now, and flang-rt has always cross-references flang/.
https://github.com/llvm/llvm-project/pull/198793
More information about the flang-commits
mailing list