SIGSEGV compiling JDK14 on FreeBSD4.8

SIGSEGV compiling JDK14 on FreeBSD4.8

Post by Artem » Thu, 10 Jul 2003 00:56:52



FreeBSD4.8, fresh ports (updated with cvsup).
I can't compile JDK14 port, probably becouse of signal 11 in javah
(log follows).
Is there anything I can do about it?

8<-------------------------------------------------------------------------------->8
/bin/mkdir -p /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders
/usr/local/linux-sun-jdk1.4.1/bin/javah -J-XX:ThreadStackSize=768 -jni -bootclasspath /usr/ports/java/jdk14/work/control/build/bsd-i586/classes -d /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders/ \
        java.lang.Object java.lang.Class java.lang.Compiler java.lang.String java.lang.Thread java.lang.ThreadGroup java.lang.StrictMath java.lang.Number java.lang.Byte java.lang.Short java.lang.Integer java.lang.Long java.lang.Float java.lang.Double java.lang.Boolean java.lang.Character java.lang.System java.lang.Process java.lang.UNIXProcess java.lang.ClassLoader java.lang.Runtime java.lang.SecurityManager java.lang.Shutdown java.lang.Package java.lang.ref.Finalizer java.lang.reflect.AccessibleObject java.lang.reflect.Field java.lang.reflect.Method java.lang.reflect.Constructor java.lang.reflect.InvocationTargetException java.lang.reflect.Array java.lang.reflect.Proxy java.security.AccessController java.util.Date java.util.TimeZone java.util.ResourceBundle java.util.prefs.FileSystemPreferences java.io.FileDescriptor java.io.InputStream java.io.FileInputStream java.io.FileOutputStream java.io.PrintStream java.io.RandomAccessFile java.io.DataInputStream java.io.DataOutputStr!
 eam java.io.File java.io.FileSystem java.io.UnixFileSystem java.io.ObjectInputStream java.io.ObjectOutputStream java.io.ObjectStreamClass sun.io.ByteToCharConverter sun.io.CharToByteConverter java.lang.Throwable java.lang.NoClassDefFoundError java.lang.StringIndexOutOfBoundsException java.lang.OutOfMemoryError sun.misc.VM sun.misc.Signal sun.misc.MessageUtils sun.misc.NativeSignalHandler sun.misc.GC sun.misc.AtomicLong sun.misc.AtomicLongCSImpl sun.misc.AtomicLongLockImpl sun.reflect.NativeConstructorAccessorImpl sun.reflect.NativeMethodAccessorImpl sun.reflect.Reflection   java.lang.ClassLoader\$NativeLibrary

Unexpected Signal : 11 occurred at PC=0x2841B03C
Function=(null)+0x2841B03C
Library=/usr/local/linux-sun-jdk1.4.1/jre/lib/i386/client/libjvm.so

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.

Current Java thread:
        at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:50)
        - locked <0x2c2940f0> (a java.lang.ref.Finalizer)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:120)

Dynamic libraries:
Can not get information for pid = 96726

Local Time = Tue Jul  8 00:39:21 2003
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002E6
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid96723.log.
# Please refer to the file for further information.
#
/usr/bin/touch /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/.class.headers.i586
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses   -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/AccessController.o  ../../../src/share/native/java/secu!
 rity/AccessController.c
*Initialization*:1: warning: `ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
/usr/bin/gcc -MM  -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'   ../../../src/share/native/java/security/AccessController.c 2> /dev/null | \
    /usr/bin/sed -e 's!AccessController\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/AccessController.d
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses   -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/Array.o  ../../../src/share/native/java/lang/reflect/Ar!
 ray.c
*Initialization*:1: warning: `ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
/usr/bin/gcc -MM  -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'   ../../../src/share/native/java/lang/reflect/Array.c 2> /dev/null | \
    /usr/bin/sed -e 's!Array\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/Array.d
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses   -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/String.o  ../../../src/share/native/java/lang/String.c
*Initialization*:1: warning: `ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
/usr/bin/gcc -MM  -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'   ../../../src/share/native/java/lang/String.c 2> /dev/null | \
    /usr/bin/sed -e 's!String\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/String.d
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses   -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/Class.o  ../../../src/share/native/java/lang/Class.c
*Initialization*:1: warning: `ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
../../../src/share/native/java/lang/Class.c: In function `Java_java_lang_Class_forName0':
../../../src/share/native/java/lang/Class.c:91: warning: comparison between signed and unsigned
/usr/bin/gcc -MM  -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'   ../../../src/share/native/java/lang/Class.c 2> /dev/null | \
    /usr/bin/sed -e 's!Class\.o!/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/&!g' > /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/Class.d
/usr/bin/gcc  -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses   -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/java/lang/fdlibm/include -I../../../src/share/native/java/io -I../../../src/solaris/native/java/util -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang -I../../../src/solaris/native/java/lang -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_07_jul_2003_22_32"' -DARCH='"i386"'    -c -o /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/ClassLoader.o  ../../../src/share/native/java/lang/Clas!
 sLoader.c
*Initialization*:1: warning: `ARCH' redefined
*Initialization*:1: warning: this is the location of the previous definition
../../../src/share/native/java/lang/ClassLoader.c:15: java_lang_ClassLoader_NativeLibrary.h: No such file or directory
gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj/ClassLoader.o] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
8<-------------------------------------------------------------------------------->8

Artem

_______________________________________________
freebsd-j...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscr...@freebsd.org"