From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 09:24:11 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA0216A4CE for ; Thu, 30 Oct 2003 09:24:11 -0800 (PST) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED74543FB1 for ; Thu, 30 Oct 2003 09:24:09 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1AFGWm-0007pT-05 for freebsd-java@freebsd.org; Thu, 30 Oct 2003 10:24:08 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1AFGRO-00037l-05; Thu, 30 Oct 2003 10:18:34 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9UHKajG040630; Thu, 30 Oct 2003 10:20:37 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9UHKY4l040625; Thu, 30 Oct 2003 10:20:34 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 30 Oct 2003 10:20:34 -0700 From: Greg Lewis To: Christopher Rued Message-ID: <20031030172034.GB40447@misty.eyesbeyond.com> References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA1456B.8080404@xsb.com> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 17:24:11 -0000 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 > >> > >> > > > > > >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