JDevlieghere wrote: Right, my point is that (I think) that doesn't make sense. AFAIK `addMinVersionArgs` is called exclusively from the code snippet I pasted, which should check the linker version. The version of `ld` in which this changed is much newer than the 520 referenced there.
I'd start by debugging clang and seeing what the claimed version number is. The version is either passed in with `-mlinker-version=` or it's set by CMake during configuration (look for `Host linker version: 1234.5`). I bet one of these is wrong. https://github.com/llvm/llvm-project/pull/88810 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits