From owner-freebsd-java@FreeBSD.ORG Thu Oct 30 09:51:04 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 CE02D16A4CF for ; Thu, 30 Oct 2003 09:51:03 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60D0043F85 for ; Thu, 30 Oct 2003 09:51:02 -0800 (PST) (envelope-from c.rued@xsb.com) Received: from xsb.com [129.49.16.170] by xsb.com with ESMTP (SMTPD32-7.15) id AEED26000CA; Thu, 30 Oct 2003 12:48:29 -0500 Message-ID: <3FA14F85.8060205@xsb.com> Date: Thu, 30 Oct 2003 12:51:01 -0500 From: Christopher Rued User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Greg Lewis References: <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> In-Reply-To: <3FA14A17.3000908@xsb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:51:04 -0000 Christopher Rued wrote: > Greg Lewis wrote: > >> On Thu, Oct 30, 2003 at 12:07:55PM -0500, 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 >> >> 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? > > Unfortunately, I didn't save the output as I compiled, and have now > let the output scroll off of my screen. I have started a new compile, > using 'script' to save the output. I should be able to get back to > you in about a day or so :-). Since I didn't do a `make clean` first, it finished a lot faster. Here's what it was trying to do when the assertion failed: ... gmake[3]: Entering directory `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' rm -f /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/.classes.list if [ -s /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/.classes.list ] ; \ then /usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javac_g -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath /usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/port s/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../make/../src/solaris/cla sses:../../../make/../src/share/classes" -d /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/classes_g -g -source 1.4 \ ../src/share/converter/HTMLConverter.java ../src/share/converter/sun/plugin/converter/engine/AppletPieces.java ../src/share/converter/sun/plugin/converter/engine/ConvertFile.java ../src/share/converter/sun/plugin/co nverter/engine/ConvertSet.java ../src/share/converter/sun/plugin/converter/engine/DefaultSet.java ../src/share/converter/sun/plugin/converter/engine/ConverterProgressEvent.java ../src/share/converter/sun/plugin/converte r/engine/Converter.java ../src/share/converter/sun/plugin/converter/engine/ConverterProgressListener.java ../src/share/converter/sun/plugin/converter/engine/PluginConverter.java ../src/share/converter/sun/plugin/convert er/gui/ConverterGUI.java ../src/share/converter/sun/plugin/converter/gui/ProgressGUI.java ../src/share/converter/sun/plugin/converter/ResourceHandler.java ../src/share/converter/sun/plugin/converter/util/AdvancedDialog. java ../src/share/converter/sun/plugin/converter/util/BasicPrinter.java ../src/share/converter/sun/plugin/converter/util/FlexFilter.java ../src/share/converter/sun/plugin/converter/util/HelpDialog.java ../src/share/conv erter/sun/plugin/converter/util/NotDirectoryException.java ../src/share/converter/sun/plugin/converter/util/PrintManyPlaces.java ../src/share/converter/sun/plugin/converter/util/NotFileException.java ../src/share/conver ter/sun/plugin/converter/util/StdUtils.java ../src/share/converter/sun/plugin/converter/util/CommandLine.java ../src/share/converter/sun/plugin/converter/util/CommandLineException.java ../src/share/converter/sun/plugin/ converter/util/FileAccessException.java ../src/share/converter/sun/plugin/converter/resources/Converter.java ../src/share/converter/sun/plugin/converter/resources/Converter_de.java ../src/share/converter/sun/plugin/conv erter/resources/Converter_es.java ../src/share/converter/sun/plugin/converter/resources/Converter_fr.java ../src/share/converter/sun/plugin/converter/resources/Converter_it.java ../src/share/converter/sun/plugin/convert er/resources/Converter_ja.java ../src/share/converter/sun/plugin/converter/resources/Converter_ko.java ../src/share/converter/sun/plugin/converter/resources/Converter_sv.java ../src/share/converter/sun/plugin/converter/ resources/Converter_zh_CN.java ../src/share/converter/sun/plugin/converter/resources/Converter_zh_TW.java ; \ fi VM option 'ThreadStackSize=768' ... As you predicted, it's trying to use javac_g to compile several java classes. Should I change all *_g commands in the makefiles (or at least this particular javac_g command) to the corresponing non-_g command? Thanks again, --Chris