-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta2
-
generic
-
generic
A build issue reported by Dale.
Date: Tue, 24 Apr 2001 08:06:23 -0700
From: Dale McDuffie <###@###.###>
To: ###@###.###
CC: Dale McDuffie <###@###.###>
Subject: RE HOTSPOT builds
I've been comparing the Hotspot build steps as documented in the SCSL
build documents for Ladybird and Merlin and comparing them to what RE
does. There seems to be a big difference between what we do to build
hotspot and we tell the rest of the world to do.
Is the SCSL documentation incomplete?
Dale
--------------------------------------------------------------------------------------------
LADYBIRD
The SCSL build readme at /java/jdk/1.3.1/ws/MASTER/j2se/src/share/doc/build/README.html
3.Change directories to the location of the build scripts.
cd build/solaris
4.Run the build script.
To build the Java HotSpot Server VM:
gnumake product
To build the Java HotSpot Client VM:
gnumake product1
Near the end of the output for the product build, a message will indicate
that "test" is being skipped. This is expected and does not indicate a build
error.
5.Build the debug version of the VM.
First, set the JAVA_HOME environment variable to the top-level of the bootstrap
Java 2 SDK that you installed in step 1. This
means that JAVA_HOME will be set to the same value as ALT_BOOTDIR.
To build the debug version of the Java HotSpot Server VM:
gnumake jvmg
To build the debug version of the Java HotSpot Client VM:
gnumake jvmg1
However, this is how RE performs a build:
gnumake -f /usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2
cd solaris_sparc_compiler2/product && gnumake
cd solaris_sparc_compiler2/jvmg && gnumake
gnumake -f /usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
cd solaris_sparc_compiler1/product && gnumake
cd solaris_sparc_compiler1/jvmg && gnumake
--------------------------------------------------------------------------------------------
MERLIN
The SCSL build readme at /java/jdk/1.4/ws/MASTER/j2se/src/share/doc/build/README.html
identifies the following build steps:
Solaris Build
1.Change directories to the location of the VM build script.
cd <scsl_installation_dir>/hotspot/build/solaris
2.Run the build script for the product version of the VMs.
Build the Java HotSpot Server VM:
gnumake product
Build the Java HotSpot Client VM:
gnumake product1
3.Build the debug version of the VM.
First, set the JAVA_HOME environment variable to the top-level of the
bootstrap J2SDK 1.3.0. This means that JAVA_HOME will be set to the
same value as ALT_BOOTDIR.
To build the debug version of the Java HotSpot Server VM:
gnumake jvmg
To build the debug version of the Java HotSpot Client VM:
gnumake jvmg1
However, RE is using these:
gnumake -f /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
gnumake -f /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2
gnumake -f /usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
gnumake -f /usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2
Date: Tue, 24 Apr 2001 08:06:23 -0700
From: Dale McDuffie <###@###.###>
To: ###@###.###
CC: Dale McDuffie <###@###.###>
Subject: RE HOTSPOT builds
I've been comparing the Hotspot build steps as documented in the SCSL
build documents for Ladybird and Merlin and comparing them to what RE
does. There seems to be a big difference between what we do to build
hotspot and we tell the rest of the world to do.
Is the SCSL documentation incomplete?
Dale
--------------------------------------------------------------------------------------------
LADYBIRD
The SCSL build readme at /java/jdk/1.3.1/ws/MASTER/j2se/src/share/doc/build/README.html
3.Change directories to the location of the build scripts.
cd build/solaris
4.Run the build script.
To build the Java HotSpot Server VM:
gnumake product
To build the Java HotSpot Client VM:
gnumake product1
Near the end of the output for the product build, a message will indicate
that "test" is being skipped. This is expected and does not indicate a build
error.
5.Build the debug version of the VM.
First, set the JAVA_HOME environment variable to the top-level of the bootstrap
Java 2 SDK that you installed in step 1. This
means that JAVA_HOME will be set to the same value as ALT_BOOTDIR.
To build the debug version of the Java HotSpot Server VM:
gnumake jvmg
To build the debug version of the Java HotSpot Client VM:
gnumake jvmg1
However, this is how RE performs a build:
gnumake -f /usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2
cd solaris_sparc_compiler2/product && gnumake
cd solaris_sparc_compiler2/jvmg && gnumake
gnumake -f /usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.3.1/ws/solsparc/hotspot1.3.1fcs OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
cd solaris_sparc_compiler1/product && gnumake
cd solaris_sparc_compiler1/jvmg && gnumake
--------------------------------------------------------------------------------------------
MERLIN
The SCSL build readme at /java/jdk/1.4/ws/MASTER/j2se/src/share/doc/build/README.html
identifies the following build steps:
Solaris Build
1.Change directories to the location of the VM build script.
cd <scsl_installation_dir>/hotspot/build/solaris
2.Run the build script for the product version of the VMs.
Build the Java HotSpot Server VM:
gnumake product
Build the Java HotSpot Client VM:
gnumake product1
3.Build the debug version of the VM.
First, set the JAVA_HOME environment variable to the top-level of the
bootstrap J2SDK 1.3.0. This means that JAVA_HOME will be set to the
same value as ALT_BOOTDIR.
To build the debug version of the Java HotSpot Server VM:
gnumake jvmg
To build the debug version of the Java HotSpot Client VM:
gnumake jvmg1
However, RE is using these:
gnumake -f /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
gnumake -f /usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/ws/solsparc/hotspot1.4beta OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2
gnumake -f /usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc OS_FAMILY=solaris ARCH=sparc VARIANT=compiler1
gnumake -f /usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc/build/solaris/makefiles/buildtree.make
GAMMADIR=/usr/re/hotspot/hotspot1.4/test/solsparc/hotspot1_4beta-src-solsparc OS_FAMILY=solaris ARCH=sparc VARIANT=compiler2