Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7102323

RFE: enable Full Debug Symbols Phase 1 on Solaris

    XMLWordPrintable

Details

    • b09
    • generic
    • solaris

    Backports

      Description

        The following bug was used to implement the Full Debug Symbols
        project for HSX-22-B07 and newer:

            7071904 4/4 HotSpot: Full Debug Symbols

        The original implementation of 7071904 enabled Full Debug Symbols
        for both Linux and Solaris. However, the Solaris disk footprint
        increase was substantial so FDS was disabled on Solaris.

        The purpose of this RFE is to re-enable FDS on Solaris once the
        disk footprint issues have been resolved.
        make/solaris/makefiles/defs.make has the following in it:

          ifeq ($(VM_PLATFORM),solaris_amd64)
            # On Solaris AMD64/X64, gobjcopy is not happy and fails:
            #
            # usr/sfw/bin/gobjcopy --add-gnu-debuglink=<lib>.debuginfo <lib>.so
            # BFD: stKPaiop: Not enough room for program headers, try linking with -N
            # /usr/sfw/bin/gobjcopy: stKPaiop: Bad value
            # BFD: stKPaiop: Not enough room for program headers, try linking with -N
            # /usr/sfw/bin/gobjcopy: libsaproc.debuginfo: Bad value
            # BFD: stKPaiop: Not enough room for program headers, try linking with -N
            # /usr/sfw/bin/gobjcopy: stKPaiop: Bad value
            _JUNK_ := $(shell \
              echo >&2 "INFO: $(DEF_OBJCOPY) is not working on Solaris AMD64/X64")
            OBJCOPY=
          else

        so gobjcopy is broken on Solaris AMD64/X64 for some reason.

        Attachments

          Issue Links

            Activity

              People

                dcubed Daniel Daugherty
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: