[llvm] [CMake] Check objcopy support for LLVM_SPLIT_DWARF (PR #80500)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 3 20:43:10 PST 2024


joker-eph wrote:

> GCC 8 is usually shipped with binutils 2.30+

"usually"? When is it not?
Also our supported toolchain includes gcc 7.4.

> This change will cause trouble if a system does not provide objcopy. Clang -gsplit-dwarf doesn't need objcopy. I changed it a few years ago to use the internal ELF writer for non-Linux OSes.

But that applies only to clang and not gcc?
What tool from binutils is involved in building LLVM with GCC?
Also what about BFD support? 


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


More information about the llvm-commits mailing list