Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 10:20:34 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Christopher Rued <c.rued@xsb.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Assertion failure while compiling jdk14
Message-ID:  <20031030172034.GB40447@misty.eyesbeyond.com>
In-Reply-To: <3FA1456B.8080404@xsb.com>
References:  <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031030172034.GB40447>