[llvm-bugs] [Bug 24641] New: adjustments to the autoconf build system when building on Solaris

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 31 12:14:08 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24641

            Bug ID: 24641
           Summary: adjustments to the autoconf build system when building
                    on Solaris
           Product: Build scripts
           Version: 3.6
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
          Assignee: unassignedbugs at nondot.org
          Reporter: stefan.teleman at oracle.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150831/7e8e9d97/attachment.html>


More information about the llvm-bugs mailing list