<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 --- - UNREACHABLE executed at X86ELFObjectWriter.cpp during Kernel Compile (with llvmlinux patches)"
   href="https://llvm.org/bugs/show_bug.cgi?id=22912">22912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UNREACHABLE executed at X86ELFObjectWriter.cpp during Kernel Compile (with llvmlinux patches)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>peterhuewe@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14050" name="attach_14050" title="output">attachment 14050</a> <a href="attachment.cgi?id=14050&action=edit" title="output">[details]</a></span>
output

Hi,

I tried to compile the patched llvmlinux kernel with the latest clang but it
fails with:


  AS      arch/x86/realmode/rm/trampoline_64.o
invalid fixup kind!
UNREACHABLE executed at X86ELFObjectWriter.cpp:166!
#0 0x46509fe llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/data/llvm/lib/Support/Unix/Signals.inc:425:42
...


kernel config: x86_64_defconfig
kernel tree llvmlinux v3.19-rc4-183-g230b22d72454
clang version 3.7.0 (trunk 232275) (llvm/trunk 215340:232281M</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>