Hi Andrew,

> 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.

My patch provides "SEPARATED_DEBUGINFO_FILES" as a switch of separating
debuginfo files, and affects "STRIP_POILCY" in HotSpot and other ELF
binaries.


> I expect the same applies to all distros.

We need to pass ' STRIP_POLICY=no_strip POST_STRIP_CMD="" ' to make
command as David said.
And we need to pick up binaries which are NOT named ".debuginfo" or
".diz" suffix.


Thanks,

Yasumasa

On 2014/03/03 18:46, Andrew Haley wrote:
> 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.
> 
> Andrew.
> 

Reply via email to