[flang-commits] [flang] Fix Fortran Debug Build (PR #178076)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 27 06:03:30 PST 2026


jeanPerier wrote:

> @linuxrocks123 , could you please specify how you configure flang build? I usually build with `-DCMAKE_BUILD_TYPE=Debug` and I don't run into the issue you described.

Similar issue was hit before in https://github.com/llvm/llvm-project/issues/150027

The bug reporter of this issue also needed `DBUILD_SHARED_LIBS=True` to hit the issue. As I understand, this does not show up in release shared build because the compiler is pruning the unused symbols.

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


More information about the flang-commits mailing list