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

enable FDS on Solaris X64 when 7165593 is fixed

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      generic, x86
    • OS:
      solaris, windows
    • Verification:
      Not verified

      Backports

        Description

        The Full Debug Symbols (FDS) feature is disabled for Java on
        Solaris X64 by the following code:

        make/solaris/makefiles/defs.make:

           129 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
           130 # Default OBJCOPY comes from the SUNWbinutils package:
           131 DEF_OBJCOPY=/usr/sfw/bin/gobjcopy
           132 ifeq ($(VM_PLATFORM),solaris_amd64)
           133 # On Solaris AMD64/X64, gobjcopy is not happy and fails:
           134 #
           135 # usr/sfw/bin/gobjcopy --add-gnu-debuglink=<lib>.debuginfo <lib>.s
        o
           136 # BFD: stKPaiop: Not enough room for program headers, try linking
        with -N
           137 # /usr/sfw/bin/gobjcopy: stKPaiop: Bad value
           138 # BFD: stKPaiop: Not enough room for program headers, try linking
        with -N
           139 # /usr/sfw/bin/gobjcopy: libsaproc.debuginfo: Bad value
           140 # BFD: stKPaiop: Not enough room for program headers, try linking
        with -N
           141 # /usr/sfw/bin/gobjcopy: stKPaiop: Bad value
           142 _JUNK_ := $(shell \
           143 echo >&2 "INFO: $(DEF_OBJCOPY) is not working on Solaris AMD64/X
        64")
           144 OBJCOPY=
           145 else
           146 OBJCOPY=$(shell test -x $(DEF_OBJCOPY) && echo $(DEF_OBJCOPY))
           147 ifneq ($(ALT_OBJCOPY),)
           148 _JUNK_ := $(shell echo >&2 "INFO: ALT_OBJCOPY=$(ALT_OBJCOPY)")
           149 OBJCOPY=$(shell test -x $(ALT_OBJCOPY) && echo $(ALT_OBJCOPY))
           150 endif
           151 endif


        Once a Solaris 10 patch for the following bug is available:

            7165593 2/3 gobjcopy fails with 64-bit libjvm.so on Solaris X64

        then the FDS feature can be enabled on Solaris X64 and further
        testing can be done.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dcubed Daniel Daugherty
                  Reporter:
                  dcubed Daniel Daugherty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: