From owner-freebsd-java@FreeBSD.ORG Mon Jul 28 12:26:11 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 E018937B401 for ; Mon, 28 Jul 2003 12:26:11 -0700 (PDT) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 69F5B43F93 for ; Mon, 28 Jul 2003 12:26:11 -0700 (PDT) (envelope-from brian@hyperreal.org) Received: (qmail 97872 invoked from network); 28 Jul 2003 19:26:12 -0000 Received: from localhost.hyperreal.org (HELO fez.hyperreal.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 28 Jul 2003 19:26:12 -0000 Received: (qmail 55056 invoked by uid 1000); 28 Jul 2003 19:26:09 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 28 Jul 2003 19:26:09 -0000 Date: Mon, 28 Jul 2003 12:26:09 -0700 (PDT) From: Brian Behlendorf To: java@freebsd.org Message-ID: <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: 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 19:26:12 -0000 I realize the linux-sun-jdk1.4.2 port is called instable, but since it's required to bootstrap a build of ports/java/jdk14, I didn't know if it was supposed to be *this* broken: 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 At which point it soaks up 100% of the CPU. I'll find an old native 1.4.1 build to bootstrap from, but if there's a more stable package to download we may want to modify jdk14/Makefile to do that. Assuming it is the linux-sun-jdk14 port that's desired to bootstrap, the following is needed in order to build the jdk14 port: *** 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 Brian