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

Andrew Haley aph at redhat.com
Mon Mar 3 09:46:38 UTC 2014

On 03/01/2014 11:08 PM, Mike Duigou wrote:

> Do I understand correctly that rpmbuild can only deal with
> unstripped binaries and generates the stripped rpm package and
> debuginfo package.

Exactly.  OpenJDK generating separate debuginfo files is very
inconvenient for RPM builds.

> It sounds kind of strange that find-debuginfo.sh wouldn't be able to
> use already generated debuginfo files.

The OpenJDK build can't have any idea of what debuginfo files the
distro runtime requires, and indeed this may change.  There is more
than one mechanism for finding debuginfo.  Separating debuginfo is not
something that we want the OpenJDK build to do, and the most useful
thing that we could have is a switch to turn all of OpenJDK's
stripping and separate debuginfo off.  I expect the same applies to
all distros.


More information about the core-libs-dev mailing list