Assertion failure while compiling jdk14
Christopher Rued
c.rued at xsb.com
Fri Oct 31 07:18:09 PST 2003
Greg Lewis wrote:
>On Thu, Oct 30, 2003 at 05:30:24PM -0500, Christopher Rued wrote:
>
>
>>I did what you said (here's a patch showing what I changed):
>>
>>--- j2se/make/common/Defs.gmk~ Wed Oct 29 16:42:00 2003
>>+++ j2se/make/common/Defs.gmk Thu Oct 30 16:41:03 2003
>>@@ -464,6 +464,7 @@
>> # --phantom
>> ifeq ($(PLATFORM), bsd)
>> JAVAH_CMD = $(BINDIR)/javah
>>+ JAVAC_CMD = $(BINDIR)/javac
>> endif
>> RMIC = $(BINDIR)/rmic$(SUFFIX)
>>endif
>>
>>
>Thats not quite right. You need to redefine JAVAC, not JAVAC_CMD.
>
>
Ah, you're right. I guess I wasn't careful enough. It's kinda strange
that they chose to append _CMD in once case, and not the the others.
Anyway, I redefined JAVAC to $(BINDIR)/javac and the build went farther,
but failed in a similar way when jar_g was called. I then redefined JAR
to $(BINDIR)/jar and restarted the build. After failing the build due
to insufficient disk space, I created a patch in the files directory,
ran `make clean install`. Everything then went smoothly, and I now have
a working jdk14.
My patch, which I put in files/patch-common::Defs.gmk:
--- ../../j2se/make/common/Defs.gmk.orig Thu Oct 30 21:53:38 2003
+++ ../../j2se/make/common/Defs.gmk Thu Oct 30 20:13:05 2003
@@ -464,6 +464,8 @@
# --phantom
ifeq ($(PLATFORM), bsd)
JAVAH_CMD = $(BINDIR)/javah
+ JAVAC = $(BINDIR)/javac
+ JAR = $(BINDIR)/jar
endif
RMIC = $(BINDIR)/rmic$(SUFFIX)
endif
Thanks for the help.
--Chris
More information about the freebsd-java
mailing list