<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 --- - adjustments to the autoconf build system when building on Solaris"
   href="https://llvm.org/bugs/show_bug.cgi?id=24641">24641</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>adjustments to the autoconf build system when building on Solaris
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Sun
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Solaris
          </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>autoconf
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stefan.teleman@oracle.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is a placeholder bug for a patch I will be submitting here very
shortly.

When building with GCC >= 4.8.2 on Solaris (Intel and SPARC), the
autoconf-based build system needs some adjustments. These adjustments
are not intrusive, and do not affect any other Operating System or ISA.

These changes include the use of a special Solaris Linker map file
which handles the folding/coalescing of certain specific Extended
ELF Sections for binaries compiled with -ffunction-sections -fdata-sections.

Without this linker map file, binaries built with -ffunction-sections
-fdata-sections will end up with an insane (greater than 125,000) number
of Extended ELF Section Headers (SHT_SYMTAB_SHNDX).

This linker map file is specific to the Solaris Linker. It is not needed
when linking with the GNU BFD or GNU Gold Linkers.

We have a number of clang and llvm patches for Solaris, and we have
every intention of contributing them to the project. This is just one
of several bugs with follow-up patches that I will be filing.

ETA for patches: I will start submitting patches - as attachments - this
week, within the next couple of days.</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>