United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6526456 : Make it easier to bootstrap a hotspot build on linux

Details
Type:
Enhancement
Submit Date:
2007-02-19
Status:
Closed
Updated Date:
2012-10-13
Project Name:
JDK
Resolved Date:
2007-03-15
Component:
hotspot
OS:
linux
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10 (b10)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
It's a pain to bootstrap a hotspot build on a linux system where no jdk exists.
Naive attempts to build hotspot will just fail.  Historically, we've hacked
a bootstrap build when doing a port.  That's no longer adequate now that people
outside Sun want to do ports.

                                    

Comments
SUGGESTED FIX

In the linux makefiles, prefix every bootstrap jdk command (i.e., java, javac, javah, etc.)
with '$(REMOTE)', where REMOTE is defined to be the remote execution method of the
builders choice.  So, for example, we could issue the following 'make' command.

make REMOTE="rsh <linux-i586-machine-name>" product

where <linux-i586-machine-name> is the name of an x86 or x64 box running linux.
One still must set one of ALT_BOOTDIR, BOOTDIR or JAVA_HOME to point to the
full pathname of a bootstrap jdk that's executable on <linux-i586-machine-name>.
                                     
2007-02-19
EVALUATION

Ok.
                                     
2007-02-19



Hardware and Software, Engineered to Work Together