[8u] RFR: 8252395: [8u] --with-native-debug-symbols=external doesn't include debuginfo files for binaries

Severin Gehwolf sgehwolf at redhat.com
Tue Sep 8 16:29:51 UTC 2020


Hi,

On Tue, 2020-09-08 at 17:05 +0100, Andrew Hughes wrote:
> On 13:44 Mon 31 Aug     , Severin Gehwolf wrote:
> > Sorry, wrong webrev. Now corrected.
> > 
> > On Mon, 2020-08-31 at 10:02 +0200, Severin Gehwolf wrote:
> > > Hi,
> > > 
> > > Could I get a reivew of this 8u specific bug please? When configured
> > > --with-native-debug-symbols=external,zipped the resulting external
> > > debuginfo files for binaries (in images/bin folder) aren't there.
> > > 
> > > In OpenJDK 8u there is some special casing involved for bin/java and
> > > bin/unpack200. Thus, I had to special case them for the debuginfo
> > > variant files too otherwise those files would be missing in the images
> > > folders (j2sdk-image, j2re-image).
> > > 
> > > Bug: https://bugs.openjdk.java.net/browse/JDK-8252395
> > 
> > webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8252395/02/webrev/
> > 
> > > Testing: Build in configs --with-native-debugsymbols={zipped,external,internal,none}
> > >          on Linux x86 and manually debugging some launcher code. Works now
> > >          with symbols. Symbols were missing before this patch.
> > > 
> > 
> > Thanks,
> > Severin
> > 
> 
> Patch looks ok

Thanks for the review!

> Is any follow-on change for Windows necessary?

I don't know as I don't have a way to test/develop it. It shouldn't
make anything worse on the Windows side, though.

Thanks,
Severin




More information about the build-dev mailing list