<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 - r372893 hangs when building"
   href="https://bugs.llvm.org/show_bug.cgi?id=43455">43455</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r372893 hangs when building
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </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>normal
          </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>samitolvanen@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>e.menezes@samsung.com, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, ndesaulniers@google.com, peter@pcc.me.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Starting with r372893 ("[CodeGen] Replace -max-jump-table-size with
-max-jump-table-targets"), LLD hangs when building the Linux kernel with CFI.

Steps to reproduce:

$ git clone <a href="https://github.com/samitolvanen/linux.git">https://github.com/samitolvanen/linux.git</a>
$ cd linux 
$ git checkout clang-cfi
$ export PATH=/path/to/llvm/bin:$PATH
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CC=clang LD=ld.lld defconfig
$ ./scripts/config -e LTO_CLANG -e THINLTO -e CFI_CLANG
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CC=clang LD=ld.lld -j110
(press enter a few times to accept default configs)

With r372892, this completes in ~3 minutes on my system. With r372893, LLD
hangs when linking vmlinux.o (waited for >1h).</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>