<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Please backport r369310 to 9.x"
   href="https://bugs.llvm.org/show_bug.cgi?id=43196">43196</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Please backport r369310 to 9.x
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>42474
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While the commit in question is marked as 'NFC', without it the following tests
hang for me on NetBSD:

    LLVM :: ExecutionEngine/MCJIT/eh-lg-pic.ll
    LLVM :: ExecutionEngine/MCJIT/eh.ll
    LLVM :: ExecutionEngine/MCJIT/multi-module-eh-a.ll
    LLVM :: ExecutionEngine/OrcMCJIT/eh-lg-pic.ll
    LLVM :: ExecutionEngine/OrcMCJIT/eh.ll
    LLVM :: ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll

To be honest, I don't know how it is relevant.  It is possible that the linking
is necessary for reasons other than those listed in the commit message.


commit 949113e632cf531019f121a27c9725abc65daa56
Author: Hubert Tong <<a href="mailto:hubert.reinterpretcast@gmail.com">hubert.reinterpretcast@gmail.com</a>>
Date:   Mon Aug 19 23:12:48 2019 +0000

    [cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC

    Summary:
    rL367756 (f5c40cb) increases the dependency of LLVMOrcJIT on LLVMPasses.    
    In particular, symbols defined in LLVMPasses that are referenced by the     
    destructor of `PassBuilder` are now referenced by LLVMOrcJIT through
    `Speculation.cpp.o`.

    We believe that referencing symbols defined in LLVMPasses in the
    destructor of `PassBuilder` is valid, and that adding to the set of such    
    symbols is legitimate. To support such cases, this patch adds LLVMPasses    
    to the set of libraries being linked when linking in LLVMOrcJIT causes      
    such symbols from LLVMPasses to be referenced.

    Reviewers: Whitney, anhtuyen, pree-jackie

    Reviewed By: pree-jackie

    Subscribers: mgorny, llvm-commits

    Tags: #llvm

    Differential Revision: <a href="https://reviews.llvm.org/D66441">https://reviews.llvm.org/D66441</a>

    llvm-svn: 369310</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [meta] 9.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=42474">Bug 42474</a>] [meta] 9.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>