Ensure the below environment variables are added to the .bashrc file:
LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk-amd64 ALT_JDK_IMPORT_PATH=/usr/lib/jvm/java-7-openjdk-amd64 PRODUCT_HOME=/home/openjdk/sources/jdk8_tl/build/linux-amd64_backup/j2sdk-image ZIP_DEBUGINFO_FILES=0
Perform the below instructions to build Hotspot using the old build system (ensure environment variables are set - see the sub-heading Old Build above. And the ~/.bashrc file source-ed before proceeding):
source ~/.bashrc cd ~/sources/jdk8_tl/hotspot/make make clean make all -or- make clean all (the first make just does a clean build, the next one does a full or incremental build, whilst the last one always does a clean full build)
A successful build will result in the following build messages that can be found in the log file (hotspotBuild.log).
An incremental (another attempt) build results in the following log messages (hotspotBuild2ndPass.log).