<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:emaste@freebsd.org" title="emaste@freebsd.org">emaste@freebsd.org</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - FreeBSD armv6 kernel fails to link with LLD: "incompatible section flags for .bss""
   href="https://bugs.llvm.org/show_bug.cgi?id=33482">bug 33482</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;">Assignee</td>
           <td>unassignedbugs@nondot.org
           </td>
           <td>emaste@freebsd.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - FreeBSD armv6 kernel fails to link with LLD: "incompatible section flags for .bss""
   href="https://bugs.llvm.org/show_bug.cgi?id=33482#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - FreeBSD armv6 kernel fails to link with LLD: "incompatible section flags for .bss""
   href="https://bugs.llvm.org/show_bug.cgi?id=33482">bug 33482</a>
              from <span class="vcard"><a class="email" href="mailto:emaste@freebsd.org" title="emaste@freebsd.org">emaste@freebsd.org</a>
</span></b>
        <pre>Fixed in FreeBSD r320056. It's perfectly reasonable for LLD to produce an error
for this case.

FreeBSD commit message:

<span class="quote">> arm: set appropriate section flags for .init_pagetable

> The arm kernel linker scripts place the .init_pagetable section in .bss,
> but .init_pagetable had no section flags set, and so did not match the
> expected flags for .bss.

> GNU ld silently ignores this case, but lld reports an error:

> ld: error: incompatible section flags for .bss
> >>> locore.o:(.init_pagetable): 0x0
> >>> output section .bss: 0x3</span >

<a href="https://svnweb.freebsd.org/changeset/base/320056">https://svnweb.freebsd.org/changeset/base/320056</a></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>