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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to