jdk14 won't build on FBSD 5.x
Kevin A. Pieckiel
pieckiel+freebsd-questions at sdf.lonestar.org
Tue Sep 21 04:44:23 PDT 2004
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
More information about the freebsd-questions
mailing list