JDK-6742207 : jdk7 32-bit windows build failed running pack200
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs14
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-08-27
  • Updated: 2010-04-28
  • Resolved: 2010-04-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Related Reports
Relates :  
Relates :  
Description
Excerpt from a jdk7-b34 build log on 32-bit windows:

C:/mksnt/mkdir -p C:/BUILD_AREA/jdk7/build/windows-i586/pack/pack-jre-jars
for i in lib/rt.jar lib/jsse.jar lib/charsets.jar  ; do \
    C:/mksnt/ls -l C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/$i | C:/mksnt/awk '{printf("Packing %s %s bytes\n",$9, $5)}'  ; \
    C:/mksnt/mkdir -p C:/BUILD_AREA/jdk7/build/windows-i586/pack/pack-jre-jars/`C:/mksnt/dirname $i` ; \
            C:/mksnt/mkdir -p C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/`C:/mksnt/dirname $i` ; \
    C:/BUILD_AREA/jdk7/build/windows-i586/bin/pack200.exe -J-esa -J-ea  -J-Xmx512m "--no-gzip" "--config-file=pack.all.properties" --strip-debug --code-attribute=StackMapTable=strip C:/BUILD_AREA/jdk7/build/windows-i586/pack/pack-jre-jars/`C:/mksnt/dirname $i`/`C:/mksnt/basename $i .jar`.pack C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/$i || exit 1 ; \
    rm -f C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/$i ; \
    C:/BUILD_AREA/jdk7/build/windows-i586/bin/unpack200.exe  "-v"  C:/BUILD_AREA/jdk7/build/windows-i586/pack/pack-jre-jars/`C:/mksnt/dirname $i`/`C:/mksnt/basename $i .jar`.pack C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/$i || exit 1 ; \
done
Packing C:/BUILD_AREA/jdk7/build/windows-i586/j2re-image/lib/rt.jar 46327401 bytes
gnumake[3]: *** [pack-jars] Error 1
gnumake[3]: Leaving directory `C:/BUILD_AREA/jdk7/install/make/pack'
gnumake[2]: *** [pack-jre] Error 2
gnumake[2]: Leaving directory `C:/BUILD_AREA/jdk7/install/make/pack'
gnumake[1]: *** [all] Error 1
gnumake[1]: Leaving directory `C:/BUILD_AREA/jdk7/install/make'
gnumake: *** [install-build] Error 2

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/5251a9cd8eb8
05-09-2008

EVALUATION http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/5251a9cd8eb8
28-08-2008

EVALUATION The perm gen fails to expand because of 6730514. This bug is essentially a duplicate of 6736341; however it's needed because the fix for 6736341 is already in an OpenJDK repo but is not in jdk7-b34, and OpenJDK rules disallow fixing a bug in more than one changeset.
27-08-2008

SUGGESTED FIX Identical to the fix for 6736341: http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/1e5d20c34408
27-08-2008