[llvm-bugs] [Bug 24358] New: [patch] Restore build on DragonFly (broken since LLVM 3.7)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 5 05:31:38 PDT 2015


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

            Bug ID: 24358
           Summary: [patch] Restore build on DragonFly (broken since LLVM
                    3.7)
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: DragonFly BSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: draco at marino.st
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14690
  --> https://llvm.org/bugs/attachment.cgi?id=14690&action=edit
trivial patch to CMakeLists.txt to fix build on DragonFly

The attached patch is required to restore building on DragonFly BSD.  The
ORIGIN flag is required, otherwise a built library can't be found:

[160/2732] Linking CXX executable bin/llvm-tblgen
[161/2732] Building Intrinsics.gen...
FAILED: cd /wrkdirs/devel/llvm37/work/.build/include/llvm/IR &&
/wrkdirs/devel/llvm37/work/.build/bin/llvm-tblgen -gen-intrinsic -I
/wrkdirs/devel/llvm37/work/llvm-3.7.0rc1.src/include/llvm/IR -I
/wrkdirs/devel/llvm37/work/llvm-3.7.0rc1.src/lib/Target -I
/wrkdirs/devel/llvm37/work/llvm-3.7.0rc1.src/include
/wrkdirs/devel/llvm37/work/llvm-3.7.0rc1.src/include/llvm/IR/Intrinsics.td -o
/wrkdirs/devel/llvm37/work/.build/include/llvm/IR/Intrinsics.gen.tmp
Shared object "libLLVMSupport.so.3.7" not found, required by "llvm-tblgen"
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.


DragonFly also uses /usr/local so the same change as FreeBSD is appropriate

-- 
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/20150805/273933e9/attachment.html>


More information about the llvm-bugs mailing list