[llvm-bugs] [Bug 45348] New: LIBCXXABI_ENABLE_STATIC_UNWINDER should work for standalone builds

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 29 10:52:27 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45348

            Bug ID: 45348
           Summary: LIBCXXABI_ENABLE_STATIC_UNWINDER should work for
                    standalone builds
           Product: libc++abi
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: raul+llvm at tambre.ee
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

libcxxabi/src/CMakeLists:270 uses "$<TARGET_LINKER_FILE:unwind_static>". The
unwind_static doesn't exist unless building as part of LLVM. It would be useful
if this searched for libunwind in a standalone build and/or allowed the user to
specify the location.

CMake Error at src/CMakeLists.txt:263 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_LINKER_FILE:unwind_static>

  No target "unwind_static"

CMake Error at src/CMakeLists.txt:263 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_LINKER_FILE:unwind_static>

  No target "unwind_static

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200329/bdf07069/attachment-0001.html>


More information about the llvm-bugs mailing list