[llvm] [CMake] Check objcopy support for LLVM_SPLIT_DWARF (PR #80500)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 3 22:26:20 PST 2024
MaskRay wrote:
> > The objcopy requirement is only for GCC. Clang doesn't use objcopy for -gsplit-dwarf.
>
> That's fine, we can adjust the check to only being performed if GCC is used...
>
> > I understand the desire to add some check to prevent any inconvenience, but I strongly believe the objcopy check is not only busy work here but also harmful (for systems not using binutils, etc).
>
> You seem to understand all the moving pieces here: can you suggest a sequence of checks that would make sense?
This patch should be abandoned. The binutils 2.23 version requirement has long been irrelevant.
https://github.com/llvm/llvm-project/pull/80500
More information about the llvm-commits
mailing list