[flang-commits] [clang] [flang] [flang][driver] Make -stdlib= option visible to flang and silently ignored by it (PR #110598)

Paul Osmialowski via flang-commits flang-commits at lists.llvm.org
Thu Oct 3 08:56:37 PDT 2024


pawosm-arm wrote:

> Note that the test will fail when `LLVM_DEFAULT_TARGET_TRIPLE` is set to anything else than the host platform. Because of this. Clang tests never invoke the linker, but check the output of `-###`. However, Flang already has tests with the same issue.

I wonder how the other C++ integration test in this directory (`iso-fortran-binding.cpp`) is not affected, it is not only linking but also executing what has been linked, which I wanted to avoid, I didn't want to run into the issues with RPaths.

I also wanted to bring your attention to the subject in context of your work on extracting Fortran Runtime, what I've noticed is that using `-DLLVM_ENABLE_LIBCXX=True` CMake flag has unexpected effect when it comes to C++/Fortran mixed code.

https://github.com/llvm/llvm-project/pull/110598


More information about the flang-commits mailing list