[all-commits] [llvm/llvm-project] 7cc5d0: Revert "[compiler-rt] Check for and use -lunwind w...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Sep 15 01:57:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cc5d073bd41d061c57013b4d010c4c60ca0775c
      https://github.com/llvm/llvm-project/commit/7cc5d073bd41d061c57013b4d010c4c60ca0775c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  Revert "[compiler-rt] Check for and use -lunwind when linking with -nodefaultlibs (#65912)"

This reverts commit 64c0bddb7639dd4bfad73fbbc909ca739b84aa10.

This seems to run into errors on some buildbots; configure errors
out like this:

    -- Looking for _Unwind_RaiseException in unwind
    -- Looking for _Unwind_RaiseException in unwind - not found
    CMake Error at /usr/share/cmake-3.25/Modules/CheckLibraryExists.cmake:71 (try_compile):
      Only libraries may be used as try_compile or try_run IMPORTED
      LINK_LIBRARIES.  Got unwind of type UTILITY.
    Call Stack (most recent call first):
      /b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/cmake/config-ix.cmake:66 (check_library_exists)
      /b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/CMakeLists.txt:281 (include)




More information about the All-commits mailing list