[llvm-bugs] [Bug 52059] New: openmp 13.0.0 w/ OPENMP_ENABLE_LIBOMPTARGET=ON fails to link to LLVM dylib

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 3 23:31:59 PDT 2021


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

            Bug ID: 52059
           Summary: openmp 13.0.0 w/ OPENMP_ENABLE_LIBOMPTARGET=ON fails
                    to link to LLVM dylib
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 51236

When trying to build OpenMP stand-alone against installed LLVM without static
libraries:

-- Configuring done
CMake Error at libomptarget/plugins/common/elf_common/CMakeLists.txt:21
(add_dependencies):
  The dependency target "LLVMBinaryFormat" of target "elf_common" does not
  exist.


CMake Error at libomptarget/plugins/common/elf_common/CMakeLists.txt:21
(add_dependencies):
  The dependency target "LLVMObject" of target "elf_common" does not exist.


I've submitted a fix as https://reviews.llvm.org/D111038


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=51236
[Bug 51236] [meta] 13.0.0 Release Blockers
-- 
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/20211004/b620f6e2/attachment.html>


More information about the llvm-bugs mailing list