<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ndesaulniers@google.com" title="Nick Desaulniers <ndesaulniers@google.com>"> <span class="fn">Nick Desaulniers</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - -mharden-sls=all caused some kernels fail too boot"
   href="https://bugs.llvm.org/show_bug.cgi?id=49257">bug 49257</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - -mharden-sls=all caused some kernels fail too boot"
   href="https://bugs.llvm.org/show_bug.cgi?id=49257#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - -mharden-sls=all caused some kernels fail too boot"
   href="https://bugs.llvm.org/show_bug.cgi?id=49257">bug 49257</a>
              from <span class="vcard"><a class="email" href="mailto:ndesaulniers@google.com" title="Nick Desaulniers <ndesaulniers@google.com>"> <span class="fn">Nick Desaulniers</span></a>
</span></b>
        <pre>Projects that manually specify linker scripts (via `-T` arg to linker) should
explicitly place these sections via their custom linker scripts.

For the aarch64 Linux kernel, arch/arm64/kernel/vmlinux.lds.S should be
modified, specifically the .text section output section listing should include
a list of these sections.  Otherwise the linker may place these orphan code
sections outside of the _stext/_etext linker symbols which are used to denote a
boundary of code to be mapped at runtime, which is a common cause of boot
failures.

I don't think the toolchain should be modified to not place these thunks in
custom sections; I think the custom linker script used in the kernel should be
modified.</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>