Assertion failure while compiling jdk14

Greg Lewis glewis at eyesbeyond.com
Thu Oct 30 09:24:11 PST 2003


On Thu, Oct 30, 2003 at 12:07:55PM -0500, Christopher Rued wrote:
> Eric J. Christeson wrote:
> >On Thu, 2003-10-30 at 10:30, Christopher Rued wrote:
> > 
> >
> >>While attempting to build jdk14 last night, I received the following 
> >>error:
> >>
> >>#
> >># HotSpot Virtual Machine Error, assertion failure
> >># Please report this error at
> >># http://java.sun.com/cgi-bin/bugreport.cgi
> >>#
> >># Java VM: Java HotSpot(TM) Client VM 
> >>(1.4.1-p4-cbr_29_oct_2003_16_42-debug mixed mode)
> >>#
> >># assert(VM_Version::is_P6() || dest->has_byte_register(), "must use 
> >>byte registers if not P6")
> >>#
> >># Error ID: 
> >>/usr/ports/java/jdk14/work/hotspot/src/cpu/i486/vm/c1_LIRAssembler_i486.cpp, 
> >>1145
> >>#
> >># Problematic Thread: prio=5 tid=0x0x857d018 nid=0x857f000 runnable
> >>#
> >>Dumping core....
> >>Abort trap (core dumped)
> >>gmake[3]: *** [.compile.classlist] Error 134
> >>gmake[3]: Leaving directory 
> >>`/usr/ports/java/jdk14/work/j2se/ext/plugin/make'
> >>gmake[2]: *** [debug] Error 2
> >>
> >>
> >>`uname -a`:
> >>  FreeBSD ool-18beb73b.dyn.optonline.net 4.9-PRERELEASE FreeBSD 
> >>4.9-PRERELEASE #0:
> >>  Sat Sep 20 01:23:28 EDT 2003     
> >>root at ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN  
> >>i386
> >>   
> >>
> ><snip>
> >
> >I've had this problem in the past too.  There used to be a work-around
> >patch files/patch-common::Defs.gmk, but it was removed with the commit
> >on Sat Oct 11 05:16:50 2003 UTC
> >
> >Was this oversight, or are us K6 owners not supposed to use this
> >anymore?
> > 
> >
> Thanks for the reply, Eric.
> 
> You're right, the patch was removed
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/jdk14/files/Attic/patch-common::Defs.gmk
> 
> But the source in my work directory seems to have the patch applied.  I 
> hunted around a bit, and it turns out that that patch made its way into 
> patchset 4, so it was no longer needed in the files directory of the port.

Ah, that would explain why I removed it :).

> So, once again, I am stumped :-).

Asserts should only fire when using the debug version of something.
Can you post a few lines above the problem or verify that the build was
trying to do something with one of the *_g executables?

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the freebsd-java mailing list