OpenJDK 8 build fails on Ubuntu 12.04.5 LTS

matchew mkorszun at gmail.com
Fri Jan 30 09:40:36 UTC 2015


$ grep JAVA /opt/openjdk/8/build/linux-x86_64-normal-server-release/spec.gmk
ENABLE_SJAVAC:=no
SJAVAC_SERVER_DIR:=
JAVA_FLAGS:= -Xms64M -Xmx1100M -XX:PermSize=32m -XX:MaxPermSize=160m
-XX:ThreadStackSize=1536
JAVA= $(BOOT_JDK)/bin/java $(JAVA_FLAGS)
JAVAC= $(BOOT_JDK)/bin/javac
JAVAC_FLAGS?=
JAVAH= $(BOOT_JDK)/bin/javah
# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java
$(NEW_JAVAC) ...
BOOTSTRAP_JAVAC_JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar
BOOTSTRAP_JAVAC_ARGS:="-Xbootclasspath/p:$(BOOTSTRAP_JAVAC_JAR)" -cp
$(BOOTSTRAP_JAVAC_JAR)
NEW_JAVAC   = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main
SJAVAC_SERVER_JAVA:= /usr/lib/jvm/java-7-openjdk-amd64/bin/java  -verbosegc
-d64 -Xms1000M -Xmx1500M

Yes, I did fresh clone from http://hg.openjdk.java.net/jdk8u/jdk8u but I am
using the same build script/procedure I was using before and it was totally
fine with last tag from http://hg.openjdk.java.net/jdk8/jdk8.

2015-01-30 1:57 GMT+01:00 Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com>
:

>  On 2015-01-29 23:03, matchew wrote:
>
> No, configure was successful. Here is the summary:
>
>
> Weird. What does "grep JAVA
> /opt/openjdk/8/build/linux-x86_64-normal-server-release/spec.gmk" give you?
>
>
>
>  In the past I was using http://hg.openjdk.java.net/jdk8/jdk8 but
> recently switched to http://hg.openjdk.java.net/jdk8u/jdk8u and faced
> above problems.
>
>
> Just to make sure, you did a fresh clone from jdk8u and did not try to
> re-use an old clone from jdk8?
>
> /Magnus
>
>



More information about the build-dev mailing list