<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [patch] Restore build on DragonFly (broken since LLVM 3.7)"
   href="https://llvm.org/bugs/show_bug.cgi?id=24358">24358</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[patch] Restore build on DragonFly (broken since LLVM 3.7)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>DragonFly BSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>draco@marino.st
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14690" name="attach_14690" title="trivial patch to CMakeLists.txt to fix build on DragonFly">attachment 14690</a> <a href="attachment.cgi?id=14690&action=edit" title="trivial patch to CMakeLists.txt to fix build on DragonFly">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>