From owner-freebsd-java Fri Nov 22 1:24:50 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 DF2BC37B404 for ; Fri, 22 Nov 2002 01:24:46 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7514E43E4A for ; Fri, 22 Nov 2002 01:24:45 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FA3D-00022R-00; Fri, 22 Nov 2002 01:24:39 -0800 Date: Fri, 22 Nov 2002 01:24:39 -0800 To: "Georg-W. Koltermann" Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021122092439.GA7782@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> <1037615069.439.27.camel@hunter.muc.macsch.com> <20021118105502.GA3955@gnuppy.monkey.org> <1037901021.81842.163.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037901021.81842.163.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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, Nov 22, 2002 at 09:10:36AM +0100, Georg-W. Koltermann wrote: > Thank you all who helped with their advice. I've built hotspot on > 4.7-STABLE now and it seems to work. I ran jedit for a while in the > hotspot engine, and it did not crash. It was only very noisy, > complaining about keys that were not found and yellow/red zoning not > working. I think this behaviour is expected. Good. That's just the debug code, it should be delete now that I know that portion of the code is working correctly. It's delete in our CVS. > Unfortunately the hotspot engine would not run Together. It hung during > startup. Well... I couldn't really hope that it would work. Damn, I've been idle with doing HotSpot work since I've been dorking around with other things (being a bored loser) and have just now gotten back into it so that the VM safepointing stuff get the correct register values for GC and roll-forward operations. > I'll attach my patch. It does the following things: > > * Changes the build files so that both the classic VM (including the > native threads part) and the hotspot VM are built with GCC32. I didn't > bother to mark the port to depend on GCC32 as a build dependency, I just > changed the build process. That's done in our tree. The lag between patch releases is annoying and you were a victim of it. > * Changes the .java_wrapper so that it no longer activates native > threading in the classic VM. It would do that as soon as it found the > hotspot library on disk, and would fail (in the classic VM) rather > quickly. Sure, -classic is dead. I'm going to deprecated it under 1.3.1 since it's useless. > * Fixes a compilation error in the hotspot part which is due to some > recent changes in libc_r. This is based on recent discussion on this > list, it just removes (#ifdefs out) the problem code. Yes, same reason as above with -classic being turned off. It's just a hpi/ library that serves as a useless marker. > You can drop the patch into your jdk13/files and it will apply during > the build. Note, however, that a) you have to build the classic part > with "make WITH_NATIVE_THREADS=1", and then build the hotspot part by > hand as discussed in > http://www.freebsd.org/cgi/getmsg.cgi?fetch=63624+0+/usr/local/www/db/text/2002/freebsd-java/20020728.freebsd-java (only now you use GCC 3.2 instead of 3.1). bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message