[clang] [lld] [llvm] Rename -macosx_version_min to -macos_version_min (PR #88810)
    Jonas Devlieghere via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 24 12:58:26 PDT 2024
    
    
  
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
    
    
More information about the llvm-commits
mailing list