[flang-commits] [clang] [flang] [clang][driver] Fix -fveclib=ArmPL issue: with -nostdlib do not link against libm (PR #133578)

Paul Osmialowski via flang-commits flang-commits at lists.llvm.org
Mon Mar 31 12:18:33 PDT 2025


pawosm-arm wrote:

> I guessing we pass `-lm` twice here to work around `ld.bfd` not handling static libraries in a pleasant way?

This is all due to the way libamath incremetnally emerged into its present existence. And yes, static linking added another layer of problems here.


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


More information about the flang-commits mailing list