It pokes at target llvm.cmake and gets the path
LLVM_TOOLS_BINARY_DIR pointing to target sysroot
however during cross builds it should be looking
for tools for cross building in native sysroot
MJ: otherwise it may fail to build with gold linker:
DWARF error: invalid or unhandled FORM value: 0x23
It pokes at target llvm.cmake and gets the path LLVM_TOOLS_BINARY_DIR pointing to target sysroot however during cross builds it should be looking for tools for cross building in native sysroot
MJ: otherwise it may fail to build with gold linker: DWARF error: invalid or unhandled FORM value: 0x23