From owner-freebsd-java@FreeBSD.ORG Mon Jul 28 13:05:50 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 323A437B401 for ; Mon, 28 Jul 2003 13:05:50 -0700 (PDT) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id AB82443F93 for ; Mon, 28 Jul 2003 13:05:49 -0700 (PDT) (envelope-from brian@hyperreal.org) Received: (qmail 20595 invoked from network); 28 Jul 2003 20:05:51 -0000 Received: from localhost.hyperreal.org (HELO fez.hyperreal.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 28 Jul 2003 20:05:51 -0000 Received: (qmail 55257 invoked by uid 1000); 28 Jul 2003 20:05:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 28 Jul 2003 20:05:48 -0000 Date: Mon, 28 Jul 2003 13:05:48 -0700 (PDT) From: Brian Behlendorf To: java@freebsd.org In-Reply-To: <20030728101432.U54388@fez.hyperreal.org> Message-ID: <20030728130406.G55011@fez.hyperreal.org> References: <20030728101432.U54388@fez.hyperreal.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N Subject: Re: linux-jdk-1.4.2 problems 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: Mon, 28 Jul 2003 20:05:50 -0000 On Mon, 28 Jul 2003, Brian Behlendorf wrote: > minotaur# /usr/local/linux-sun-jdk1.4.2/bin/java -version > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) > # > # Error ID: 4F533F4C494E55580E43505001C9 > # > > Heap at VM Abort: > Heap Gustavo Kempe Corso mentioned to me privately, at exactly the same time I figured it out, that one needs to follow the same instructions given in the linux-ibm-jdk1* ports, which is to mount linprocfs. Then, it works, no problem. Patching linux-sun-jdk14/pkg-message is thus suggested, and the below still holds. > *** Makefile.orig Sat Mar 15 01:57:58 2003 > --- Makefile Mon Jul 28 10:13:31 2003 > *************** > *** 36,42 **** > .if defined(NATIVE_BOOTSTRAP) > JDK14DIR?= ${LOCALBASE}/jdk${JDK_VERSION} > .else > ! JDK14DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION} > .endif > > # workaround to handle both 'zip' and 'tar.gz' distfiles > --- 36,42 ---- > .if defined(NATIVE_BOOTSTRAP) > JDK14DIR?= ${LOCALBASE}/jdk${JDK_VERSION} > .else > ! JDK14DIR?= ${LOCALBASE}/linux-sun-jdk1.4.2 > .endif > > # workaround to handle both 'zip' and 'tar.gz' distfiles