JDK-8036003: Add variable not to separate debug information.

Andrew Hughes gnu.andrew at redhat.com
Wed Mar 19 14:57:31 UTC 2014

----- Original Message -----
> On 03/19/2014 01:51 PM, Magnus Ihse Bursie wrote:
> > On 2014-03-18 19:25, Andrew Haley wrote:
> >> On 03/18/2014 06:22 PM, Andrew Hughes wrote:
> >>> The intent was for #3 to cover this case (i.e. whatever Oracle does now)
> >>> and for #2 to be what the GNU/Linux distributions want (i.e. binaries
> >>> with
> >>> all debuginfo generated and left intact so they can do their own
> >>> stripping).
> >> Mmm, but maybe that will break things when debuginfo isn't installed.
> >> In fact, I already know that it has broken some things.  So it's not
> >> ideal.
> > 
> > Which case is it that will break? #3 or #2? What would an ideal solution
> > be for you?
> I think the problem was that jstack and jmap didn't work until the
> debuginfo package was installed.  This tells me that the debuginfo
> stripping in our Linux build system is too aggressive for this purpose.

Yes, https://bugzilla.redhat.com/show_bug.cgi?id=1010786
The distro builds strip too much and remove the needed symtab from libjvm.so.

> I think that's something we must fix ourselves.  What we really
> need from OpenJDK is a way to build with complete debuginfo in
> both binaries and jarfiles.

This was my intent with #2. The jstack/jmap issue needs to be fixed by
stripping less debuginfo post-build on libjvm.so.

> Andrew.

Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

More information about the hotspot-dev mailing list