From owner-freebsd-java Fri Aug 2 23:20:38 2002 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 93E5D37B400 for ; Fri, 2 Aug 2002 23:20:36 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95A6943E3B for ; Fri, 2 Aug 2002 23:20:32 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 17asH9-0007uN-00; Sat, 03 Aug 2002 00:20:31 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 17asH8-0007uK-00; Sat, 03 Aug 2002 00:20:30 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g736KQm62917; Sat, 3 Aug 2002 15:50:26 +0930 (CST) (envelope-from glewis) Date: Sat, 3 Aug 2002 15:50:25 +0930 From: Greg Lewis To: Nick Johnson Cc: freebsd-java@FreeBSD.ORG Subject: Re: JVM and gcc31 Message-ID: <20020803155024.A62873@misty.eyesbeyond.com> References: <20020802192237.L33121-100000@flag.blackened.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020802192237.L33121-100000@flag.blackened.net>; from freebsd@spatula.net on Fri, Aug 02, 2002 at 07:26:50PM -0700 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 02, 2002 at 07:26:50PM -0700, Nick Johnson wrote: > Here's a pointer... if you're having problems with the native JVM crashing > sporadically, try compiling it with gcc31 out of ports instead of the > stock gcc. I was having problems and gave it a try considering that billh > had better luck with the HotSpot JVM when using gcc31. Prior to my newest > build, the JVM would crash 10-12 times a day- now it's run all day without > a crash. > > I suggest building OpenJIT with gcc31 as well. > > Greg: is there a way to make the port depend on gcc31 and convince it to > use that to compile, or is that a bad idea? It certainly could be done. Whether its a good idea or not is another matter :). I haven't looked at the gcc ports for a while, but last time I looked they defined __FreeBSD__, but not to the correct value (this was a long time ago, so that may well have been fixed). If it hasn't been fixed, then this may cause problems during the build (certain areas of the code have #ifdef's based on the value of __FreeBSD__). The other thing this does is add another large dependency to an already fat port. How much of an extra pain that would be I'm not sure. Are you running 4.x or 5.x? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message