From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 11:44:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D21F916A4CE for ; Tue, 21 Sep 2004 11:44:22 +0000 (GMT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6644043D39 for ; Tue, 21 Sep 2004 11:44:22 +0000 (GMT) (envelope-from pieckiel@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:pieckiel@sverige.freeshell.org [192.94.73.4]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i8LBiKuS028833 for ; Tue, 21 Sep 2004 11:44:20 GMT Received: (from pieckiel@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i8LBiKv0025962 for freebsd-questions@freebsd.org; Tue, 21 Sep 2004 07:44:20 -0400 (EDT) Date: Tue, 21 Sep 2004 07:44:20 -0400 From: "Kevin A. Pieckiel" To: freebsd-questions@freebsd.org Message-ID: <20040921114420.GA23063@SDF.LONESTAR.ORG> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: jdk14 won't build on FBSD 5.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 11:44:23 -0000 I'd like to get jdk14 to build on a FreeBSD 5.x system (right now I'm trying 5.3-BETA5), but I always get a hang at the same spot. I'm running a new installation of FreeBSD 5.3-BETA5 with sources cvs'd yesterday. I have COMPAT_LINUX in my kernel. I have linprocfs mounted on /compat/linux/proc. I have the latest cvs of ports. I have all the sources/binaries/patches required for the port. When I do 'make install', I get down to this point and it hangs: --- 8< --- ===> Returning to build of jdk-1.4.2p6_4 ===> jdk-1.4.2p6_4 depends on executable: gmake - found ===> Configuring for jdk-1.4.2p6_4 ===> Building for jdk-1.4.2p6_4 # Start of jdk build bsd i586 1.4.2-p6 build started: 04-09-20 15:40 if [ -r ./../../deploy/make/Makefile ]; then \ ( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE=p6 BUILD_NUMBER=toor_20_sep_2004_15_40 ; ); \ fi --- 8< --- I check my ps listing, and I have this: --- 8< --- #ps auxwwww | grep java root 79508 99.0 0.7 6240 1800 p1 R+ 3:40PM 927:42.64 /usr/local/linux-sun-jdk1.4.2/bin/java -version root 81729 0.0 0.3 1588 836 p0 S+ 7:10AM 0:00.01 grep java root 79507 0.0 0.0 1760 0 p1 IW+ - 0:00.00 /bin/sh -c /usr/local/linux-sun-jdk1.4.2/bin/java -version 2>&1 | /usr/bin/awk -F'"' '{ print $2 }' --- 8< --- I killed it off and ended the installation. When I run 'java' at the command line, I get: --- 8< --- #/usr/local/linux-sun-jdk1.4.2/bin/java -version Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location # # 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_05-b04 mixed mode) # # Error ID: 4F533F4C494E55583F491418160E435050035E # # Problematic Thread: prio=-1086328296 tid=0x08090e88 nid=0x13f6b runnable # Heap at VM Abort: Heap def new generation total 576K, used 0K [0x2c780000, 0x2c820000, 0x2cc60000) eden space 512K, 0% used [0x2c780000, 0x2c780048, 0x2c800000) from space 64K, 0% used [0x2c800000, 0x2c800000, 0x2c810000) to space 64K, 0% used [0x2c810000, 0x2c810000, 0x2c820000) tenured generation total 1408K, used 0K [0x2cc60000, 0x2cdc0000, 0x30780000) the space 1408K, 0% used [0x2cc60000, 0x2cc60000, 0x2cc60200, 0x2cdc0000) compacting perm gen total 4096K, used 277K [0x30780000, 0x30b80000, 0x34780000) the space 4096K, 6% used [0x30780000, 0x307c56c0, 0x307c5800, 0x30b80000) --- 8< --- Then when I check my 'ps' listing, I still have the 'java' process running: --- 8< --- ps auxwwww | grep java root 81771 2.5 19.3 205420 49720 p1 D 7:11AM 0:00.77 /usr/local/linux-sun-jdk1.4.2/bin/java -version root 81773 0.0 0.1 400 200 p1 D+ 7:12AM 0:00.00 grep java --- 8< --- I can't get around this. What am I doing wrong? I can't get Java to build on FreeBSD 5.x no matter what I do. Please help. Kevin