[all-commits] [llvm/llvm-project] 96d639: Revert "[CMake] Use LLVM_TARGET_TRIPLE in runtimes"

PiJoules via All-commits all-commits at lists.llvm.org
Mon Dec 5 14:23:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96d63993dd3698bbf2d6a83c035cd05faed7317b
      https://github.com/llvm/llvm-project/commit/96d63993dd3698bbf2d6a83c035cd05faed7317b
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake
    M libc/lib/CMakeLists.txt
    M libcxx/CMakeLists.txt
    M libcxx/docs/BuildingLibcxx.rst
    M libcxx/lib/abi/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt
    M libunwind/CMakeLists.txt
    M libunwind/test/CMakeLists.txt
    M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
    M llvm/runtimes/CMakeLists.txt
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  Revert "[CMake] Use LLVM_TARGET_TRIPLE in runtimes"

This reverts commit bec8a372fc0db95852748691c0f4933044026b25.

This causes many of these errors to appear when rebuilding runtimes part
of fuchsia's toolchain:

ld.lld: error:
/usr/local/google/home/paulkirth/llvm-upstream/build/lib/x86_64-unknown-linux-gnu/libunwind.a(libunwind.cpp.o)
is incompatible with elf64-x86-64

This can be reproduced by making a complete toolchain, saving any source
file with no changes, then rerunning ninja distribution.




More information about the All-commits mailing list