Date: Thu, 30 Oct 2003 12:51:01 -0500 From: Christopher Rued <c.rued@xsb.com> To: Greg Lewis <glewis@eyesbeyond.com> Cc: freebsd-java@freebsd.org Subject: Re: Assertion failure while compiling jdk14 Message-ID: <3FA14F85.8060205@xsb.com> In-Reply-To: <3FA14A17.3000908@xsb.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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' ... <Snip JVM crash message, since it's listed above /> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA14F85.8060205>