-
Bug
-
Resolution: Fixed
-
P3
-
hs23.2, hs24, 7u6
-
b13
-
generic, x86
-
solaris, windows
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2225301 | 8 | Daniel Daugherty | P3 | Resolved | Fixed | b42 |
JDK-2225255 | 7u6 | Daniel Daugherty | P3 | Closed | Fixed | b13 |
JDK-2224983 | hs23.2 | Daniel Daugherty | P3 | Closed | Fixed | b04 |
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.
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.
- backported by
-
JDK-2225301 enable FDS on Solaris X64 when 7165593 is fixed
-
- Resolved
-
-
JDK-2224983 enable FDS on Solaris X64 when 7165593 is fixed
-
- Closed
-
-
JDK-2225255 enable FDS on Solaris X64 when 7165593 is fixed
-
- Closed
-
- duplicates
-
JDK-7173113 jvm.map and jvm.pdb missed in debuginfo.zip starting from JDK 7u6-b10
-
- Closed
-