United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7136506 FDS: rework jdk repo Full Debug Symbols support
JDK-7136506 : FDS: rework jdk repo Full Debug Symbols support

Details
Type:
Bug
Submit Date:
2012-01-27
Status:
Resolved
Updated Date:
2014-03-03
Project Name:
JDK
Resolved Date:
2012-04-10
Component:
infrastructure
OS:
windows
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
The windows tar bundles includes .map/.pdb files.  These should be removed as they are already in the new debuginfo.zip bundles.  After this change, all platforms will package debuginfo files in a consistent and straightforward way.

                                    

Comments
EVALUATION

Working on this as part of a batch of Full Debug Symbols fixes.
                                     
2012-03-06
EVALUATION

This bug is going to be used to cover the JDK repo changes needed for
the Full Debug Symbols rework. Why this bug? Because the JDK repo
generates the most ".map" and ".pdb" files on Windows builds. With
this bug fix, the JDK repo will support importing "debug info" from
the HotSpot repo in any of the following file extensions:

    .debuginfo, .diz, .map, .pdb

Also, components in the JDK build that use the top level JDK makefile
definitions will understand the ENABLE_FULL_DEBUG_SYMBOLS and
ZIP_DEBUGINFO_FILES build flags. When both features are enabled, then
"debug info" will be saved in ".diz" files adjacent to the built
object.
                                     
2012-03-06
SUGGESTED FIX

See the attached 7136506-webrev-jdk-cr0.tgz and
7136506-webrev-root-cr0.tgz for the proposed fixes
that were sent out for Code Review Round 0.
                                     
2012-03-08
EVALUATION

Changeset: fa0fed83e335
Author:    dcubed
Date:      2012-03-23 09:17 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/rev/fa0fed83e335

7136506: FDS: rework jdk repo Full Debug Symbols support
Summary: JPRT needs to use the '-y' option with zip on non-Windows control builds in order to preserve symbolic links.
Reviewed-by: dholmes, ohair

! make/jprt.gmk


Changeset: e7f813f2ea86
Author:    dcubed
Date:      2012-03-23 09:27 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e7f813f2ea86

7136506: FDS: rework jdk repo Full Debug Symbols support
Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files. Preserve symlinks in zip archives.
Reviewed-by: dholmes, ohair

! make/common/Defs-linux.gmk
! make/common/Defs-solaris.gmk
! make/common/Defs-windows.gmk
! make/common/shared/Sanity.gmk
! make/java/redist/Makefile
! make/java/redist/sajdi/Makefile
! make/jprt.gmk
                                     
2012-03-23
SUGGESTED FIX

See the attached 7136506-webrev-jdk-cr1.tgz and
7136506-webrev-root-cr1.tgz for the proposed fixes
that were sent out for Code Review Round 1. Each
archive contains a delta webrev relative to Code
Review Round 0 and a full webrev relative to the
baseline.
                                     
2012-03-22



Hardware and Software, Engineered to Work Together