<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ruiu@google.com" title="Rui Ueyama <ruiu@google.com>"> <span class="fn">Rui Ueyama</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "Not enough space" when linking with whole-archive"
   href="https://bugs.llvm.org/show_bug.cgi?id=42388">bug 42388</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>WONTFIX
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "Not enough space" when linking with whole-archive"
   href="https://bugs.llvm.org/show_bug.cgi?id=42388#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - "Not enough space" when linking with whole-archive"
   href="https://bugs.llvm.org/show_bug.cgi?id=42388">bug 42388</a>
              from <span class="vcard"><a class="email" href="mailto:ruiu@google.com" title="Rui Ueyama <ruiu@google.com>"> <span class="fn">Rui Ueyama</span></a>
</span></b>
        <pre>What Martin wrote is correct. We are using mmap IO, so the sum of all input
files must be smaller than the address space, and this limitation is very
unlikely to be "fixed", as it is somewhat a fundamental design choice.

That said, I think there's a workaround you may want to try. Please try
creating archive files as thin archives. Since thin archives don't contain
actual object files but just a symbol table and pathnames to object files,
address space consumed by thin archives is very small. If the total amount of
address space consumed by real object files does not exceed the address space,
your link may succeed.</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>