From owner-freebsd-java@FreeBSD.ORG Tue Nov 4 08:15:52 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 2890E16A4CF for ; Tue, 4 Nov 2003 08:15:52 -0800 (PST) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0C7743FD7 for ; Tue, 4 Nov 2003 08:15:47 -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 A01A64A029A; Tue, 04 Nov 2003 11:13:14 -0500 Message-ID: <3FA7D0B2.909@xsb.com> Date: Tue, 04 Nov 2003 11:15:46 -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: Marcin Grabda References: <3FA7AD52.9010604@interia.pl> In-Reply-To: <3FA7AD52.9010604@interia.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: jdk14 compile error 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: Tue, 04 Nov 2003 16:15:52 -0000 Marcin Grabda wrote: > I have though that it might be useful for you. > > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > gmake classes .library.install .scripts.install VARIANT=DBG > gmake[3]: Entering directory > `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > /bin/mkdir -p > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/classes_g > 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:Thread > StackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath > /usr/ports/java/jdk14/wo > rk/control/build/bsd-i586/classes -bootclasspath > "/usr/ports/java/jdk14/work/con > trol/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i58 > > 6/lib/jsse.jar" -sourcepath > "/usr/ports/java/jdk14/work/control/build/bsd-i586/g > ensrc:../../../make/../src/solaris/classes:../../../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 > fi > Error occurred during initialization of VM > java.lang.OutOfMemoryError > Dumping core.... > VM option 'ThreadStackSize=768' > Abort trap (core dumped) > gmake[3]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > gmake[2]: Leaving directory > `/usr/ports/java/jdk14/work/j2se/ext/plugin/make' > gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' > *** Error code 2 > > Stop in /usr/ports/java/jdk14. FWIW, my compile failed in exactly the same place on a K6-2 processor. The only difference was that I did *not* receive the java.lang.OutOfMemoryError, and I *did* receive a "Virtual Machine Error" message before it dumped core. See http://www.freebsd.org/cgi/getmsg.cgi?fetch=189108+192826+/usr/local/www/db/text/2003/freebsd-java/20031102.freebsd-java for more information, and for the patch I used to fix the problem. Note that, if you want to apply the patch using the ports system, you'll have to do a make clean first, and then restart your build. HTH, --Chris