Problems compiling j2sdk-1.4.0_01

Noel Bennett the_bard at airpost.net
Sun Nov 24 19:50:10 PST 2002


Hey y'all,

I've ran into a problem compilign j2sdk per the instructions posted at
http://beyond.us.linuxfromscratch.org/view/cvs/general/j2sdk.html .
Here's the output:

/usr/bin/gcc  -W -Wall  -Wno-unused -Wno-parentheses   -Di386
-DARCH='"i386"' -DLINUX -DRELEASE='"1.4.0-blfscompiled"'
-DFULL_VERSION='"1.4.0-blfscompiled-1038185573"' -D_LARGEFILE64_SOURCE
-D_GNU_SOURCE -D_REENTRANT -D_LITTLE_ENDIAN -I.
-I/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/CClassHeaders
-I../../../src/solaris/javavm/export -I../../../src/share/javavm/export
-I../../../src/share/native/common -I../../../src/solaris/native/common
-I../../../src/share/native/java/net
-I../../../src/solaris/native/java/net    -z defs
-L/usr/src/java/control/build/linux-i386/lib/i386 -lpthread  -shared
-mimpure-text -o
/usr/src/java/control/build/linux-i386/lib/i386/libnet.so
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/DatagramPacket.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/InetAddress.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/Inet4Address.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/Inet6Address.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/NetworkInterface.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/InetAddressImplFactory.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/Inet4AddressImpl.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/Inet6AddressImpl.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/PlainDatagramSocketImpl.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/PlainSocketImpl.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/SocketInputStream.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/SocketOutputStream.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/net_util.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/net_util_md.o
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj/linux_close.o
-lnsl -ldl -L/usr/src/java/control/build/linux-i386/lib/i386/server
-ljvm  -ljava -L/usr/src/java/control/build/linux-i386/lib/i386/server
-ljvm -lc
/usr/bin/strip /usr/src/java/control/build/linux-i386/lib/i386/libnet.so
;
make[4]: Leaving directory `/usr/src/java/j2se/make/java/net'
make /usr/src/java/control/build/linux-i386/lib/i386/libnet_g.so
VARIANT=DBG
make[4]: Entering directory `/usr/src/java/j2se/make/java/net'
/bin/mkdir -p
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj_g
rm -f
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/.classes.list
if [
-s/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/.classes.list]
; \
then /usr/src/java/control/build/linux-i386/bin/javac_g
-J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx128m -J-Xmaxf1 -classpath
/usr/src/java/control/build/linux-i386/classes -bootclasspath
"/usr/src/java/control/build/linux-i386/lib/jce.jar:/usr/src/java/control/build/
linux-i386/lib/jsse.jar"
-sourcepath
"/usr/src/java/control/build/linux-i386/gensrc:../../../src/solaris/classes:../.
./../src/share/classes"
-d /usr/src/java/control/build/linux-i386/classes  -source 1.4 \
     ; \
fi

/usr/src/java/control/build/linux-i386/bin/javah_g
-J-XX:ThreadStackSize=768 -jni -bootclasspath
/usr/src/java/control/build/linux-i386/classes -d
/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/CClassHeaders/
\
        java.net.Socket java.net.SocketOptions java.net.SocketImpl
java.net.PlainSocketImpl java.net.ServerSocket java.net.InetAddress
java.net.Inet4Address java.net.Inet6Address java.net.NetworkInterface
java.net.SocketInputStream java.net.SocketOutputStream
java.net.DatagramPacket java.net.DatagramSocket
java.net.DatagramSocketImpl java.net.PlainDatagramSocketImpl
java.net.MulticastSocket java.net.UnknownHostException
java.net.ProtocolException   java.lang.Integer java.io.FileDescriptor
java.net.InetAddressImplFactory java.net.Inet4AddressImpl
java.net.Inet6AddressImpl
VM option 'ThreadStackSize=768'
#
# HotSpot Virtual Machine Error, assertion failure 
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi#
# Java VM: Java HotSpot(TM) Client VM
# (1.4.0-blfscompiled-1038185573-debug mixed mode)
#
# assert(!(((ThreadShadow*)__the_thread__)->has_pending_exception()),
# "shouldn't be allocating with pending exception")
#
# Error ID:
# /usr/src/java/hotspot/src/share/vm/memory/collectedHeap.inline.hpp,
# 174
#
# Problematic Thread: prio=1 tid=0x0x8062230 nid=0x5e8a runnable
#
Current thread is 0x400
Dumping core ...
make[4]: ***
[/usr/src/java/control/build/linux-i386/tmp/sun/java.net/net/obj_g/.class.headers.i386]
Aborted
make[4]: Leaving directory `/usr/src/java/j2se/make/java/net'
make[3]: *** [debug] Error 2
make[3]: Leaving directory `/usr/src/java/j2se/make/java/net'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/java/j2se/make/java'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/java/j2se/make'
make: *** [j2se-build] Error 2

Anybody have any clue as to what I might do to fix this?

Thanks,
Noel
the_bard at airpost.net

P.S. - I'm not subscribed to the list, so if y'all don't mind CC: a copy
of any replies, that'd be great :o).
-- 
http://fastmail.fm - IMAP accessible web-mail
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list