Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 10:41:10 +0100
From:      "O. Hartmann" <ohartman@mail.uni-mainz.de>
To:        Ron Dzierwa <rondzierwa@comcast.net>
Cc:        glewis@freebsd.org, freebsd-amd64@FreeBSD.org
Subject:   Re: jdk15 on 6.0-RELEASE amd64
Message-ID:  <43A13A36.8030304@mail.uni-mainz.de>
In-Reply-To: <439EFF19.958D6326@comcast.net>
References:  <439EFF19.958D6326@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070206000304090603090709
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Ron Dzierwa wrote:

>I am trying to install the native jdk15 on a new installation of 6.0-RELEASE-amd64
>
>i got the three packages:
>   jdk-1_5_0-bin-scsl.zip
>   jdk-1_5_0-src-scsl.zip
>   bsd-jdk15-patches-2.tar.bz2
>
>put them in distfiles, then did make in /usr/ports/java/jdk15. it runs along for a while, then:
>
>===>  Applying FreeBSD patches for jdk-1.5.0p2_3
>Ignoring previously applied (or reversed) patch.
>1 out of 1 hunks ignored--saving rejects to ../../hotspot/src/os/bsd/vm/os_bsd.inline.hpp.rej
>=> Patch patch-hotspot-vm-os_bsd.inline.hpp failed to apply cleanly.
>=> Patch(es) patch-control::common::Defs-bsd.gmk patch-deploy::common::Defs-bsd.gmk patch-dep
>loy::common::DeployRules-solaris.gmk patch-deploy::native::msgString.c patch-deploy::native::
>system_md.c patch-deploy::native::system_md.h patch-deploy::ns7-adapter::Makefile applied cle
>anly.
>*** Error code 1
>
>Stop in /usr/ports/java/jdk15.
>
>the contents of ./work/hotspot/src/os/bsd/vm/os_bsd.inline.hpp.rej is:
>
>***************
>*** 29,38 ****
>
>  inline bool os::allocate_stack_guard_pages() {
>    assert(uses_stack_guard_pages(), "sanity check");
>- // XXXBSD: ??
>- //  return thr_main();
>- //  return pthread_main_np();
>-   return true;
>  }
>
>
>--- 29,37 ----
>
>  inline bool os::allocate_stack_guard_pages() {
>    assert(uses_stack_guard_pages(), "sanity check");
>+   // Since FreeBSD 4 uses malloc() for allocating the thread stack
>+   // there is no need to do anything extra to allocate the guard pages
>+   return false;
>  }
>
>
>any ideas?
>
>any help installing any 1.4 or 1.5 (preferably)  jdk would be appreciated.
>
>thanks,
>ron.
>
>
>_______________________________________________
>freebsd-amd64@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
>To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"
>  
>
Tried installing JDK15 again. Fresh install of the supported
Linux_base-8, the necessary linux-sun-jdk14. Then compiling jdk15, most
recent ports tree update (I do this nearly every day or once a week).
This is what I receive. The mentioned error file is attached:
../../../../../src/share/classes/java/io/ObjectStreamClass.java:1006:
warning:
non-varargs call of varargs method with inexact argument type for last
parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
                return readResolveMethod.invoke(obj, null);
                                                     ^
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (4E4D4554484F440E435050051B), pid=54296, tid=0x513000
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM
(1.5.0-p2-root_14_dec_2005_18_55
mixed mode)
# An error report file with more information is saved as hs_err_pid54296.log
#
# If you would like to submit a bug report, please write
# a letter to freebsd-java@FreeBSD.org mailing list
#
Abort trap
gmake[7]: *** [.compile.classlist] Error 134
gmake[7]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
gmake[6]: *** [optimized] Error 2
gmake[6]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
gmake[5]: *** [all] Error 1
gmake[5]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/j2se/make/java/javac'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.





--------------070206000304090603090709
Content-Type: text/plain;
 name="hs_err_pid54296.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="hs_err_pid54296.log"

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (4E4D4554484F440E435050051B), pid=3D54296, tid=3D0x5130=
00
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_14_dec_2005_1=
8_55 mixed mode)

---------------  T H R E A D  ---------------

Current thread (0x000000000052f400):  JavaThread "main" [_thread_in_Java,=
 id=3D5320704]

Stack: [0x00007fffffc00000,0x0000800000000000),  sp=3D0x00007fffffff40c0,=
  free space=3D4048k
Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D=
native code)
V  [libjvm.so+0x79063e]
V  [libjvm.so+0x465c56]
V  [libjvm.so+0x698eab]
V  [libjvm.so+0x70aa78]
V  [libjvm.so+0x6ac3e4]
V  [libjvm.so+0x6aae1e]


---------------  P R O C E S S  ---------------

Java Threads: ( =3D> current thread )
  0x000000000060d800 JavaThread "Low Memory Detector" daemon [_thread_blo=
cked, id=3D6331392]
  0x000000000060bc00 JavaThread "CompilerThread1" daemon [_thread_in_nati=
ve, id=3D6330368]
  0x000000000060b000 JavaThread "CompilerThread0" daemon [_thread_in_nati=
ve, id=3D6329344]
  0x00000000005f7400 JavaThread "AdapterThread" daemon [_thread_blocked, =
id=3D6229504]
  0x00000000005ee800 JavaThread "Signal Dispatcher" daemon [_thread_block=
ed, id=3D6228992]
  0x00000000005ee000 JavaThread "Finalizer" daemon [_thread_blocked, id=3D=
6208512]
  0x00000000005adc00 JavaThread "Reference Handler" daemon [_thread_block=
ed, id=3D6208000]
=3D>0x000000000052f400 JavaThread "main" [_thread_in_Java, id=3D5320704]

Other Threads:
  0x00000000005e1800 VMThread [id=3D6167040]
  0x0000000000532800 WatcherThread [id=3D6331904]

VM state:synchronizing (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x000000000052c580/0x000000000052c600] Safepoint_lock - owner thread: 0x=
00000000005e1800
[0x000000000052c700/0x000000000052c780] Threads_lock - owner thread: 0x00=
000000005e1800

Heap
 def new generation   total 38656K, used 23746K [0x0000000842b00000, 0x00=
000008454f0000, 0x0000000848050000)
  eden space 34368K,  61% used [0x0000000842b00000, 0x0000000843f9ff68, 0=
x0000000844c90000)
  from space 4288K,  61% used [0x00000008450c0000, 0x0000000845350a40, 0x=
00000008454f0000)
  to   space 4288K,   0% used [0x0000000844c90000, 0x0000000844c90000, 0x=
00000008450c0000)
 tenured generation   total 85876K, used 66357K [0x0000000848050000, 0x00=
0000084d42d000, 0x0000000852b00000)
   the space 85876K,  77% used [0x0000000848050000, 0x000000084c11d6b0, 0=
x000000084c11d800, 0x000000084d42d000)
 compacting perm gen  total 21248K, used 5080K [0x0000000852b00000, 0x000=
0000853fc0000, 0x0000000857d00000)
   the space 21248K,  23% used [0x0000000852b00000, 0x0000000852ff6018, 0=
x0000000852ff6200, 0x0000000853fc0000)
No shared spaces configured.

Dynamic libraries:
0x0000000000400000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/bi=
n/javac
0x0000000800639000 	/usr/lib/libthr.so.2
0x0000000800750000 	/lib/libc.so.6
0x000000080094d000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/li=
b/amd64/server/libjvm.so
0x0000000801386000 	/usr/lib/libstdc++.so.5
0x000000080157d000 	/lib/libm.so.4
0x0000000801699000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/li=
b/amd64/native_threads/libhpi.so
0x00000008017a5000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/li=
b/amd64/libverify.so
0x00000008018b4000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/li=
b/amd64/libjava.so
0x00000008019dc000 	/usr/ports/java/jdk15/work/control/build/bsd-amd64/li=
b/amd64/libzip.so
0x000000080050f000 	/libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Denv.class.path=3D -Dapplication.home=3D/usr/ports/java/jdk15/=
work/control/build/bsd-amd64 -Xms8m -Xss4m -ea:com.sun.tools... -XX:Threa=
dStackSize=3D1536 -Xms64m -Xmx256m
java_command: com.sun.tools.javac.Main -classpath /usr/ports/java/jdk15/w=
ork/control/build/bsd-amd64/tmp/java/java.lang/library/newclasses:../../.=
=2E/../../src/share/classes -bootclasspath /usr/ports/java/jdk15/work/con=
trol/build/bsd-amd64/lib/jce.jar:/usr/ports/java/jdk15/work/control/build=
/bsd-amd64/lib/jsse.jar -sourcepath /usr/ports/java/jdk15/work/control/bu=
ild/bsd-amd64/gensrc:../../../../../src/solaris/classes:../../../../../sr=
c/share/classes -d /usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp=
/java/java.lang/library/newclasses -encoding ascii -source 1.5 ../../../.=
=2E/../src/share/classes/java/lang/Object.java ../../../../../src/share/c=
lasses/java/lang/Class.java ../../../../../src/share/classes/java/lang/Th=
read.java ../../../../../src/share/classes/java/lang/Character.java ../..=
/../../../src/share/classes/sun/misc/ASCIICaseInsensitiveComparator.java =
=2E./../../../../src/share/classes/sun/misc/VM.java ../../../../../src/sh=
are/classes/sun/misc/Signal.java ../../../../../src/share/classes/sun/mis=
c/NativeSignalHandler.java ../../../../../src/share/classes/java/lang/Thr=
eadGroup.java ../../../../../src/share/classes/java/lang/ThreadLocal.java=
 ../../../../../src/share/classes/java/lang/InheritableThreadLocal.java .=
=2E/../../../../src/share/classes/java/lang/String.java ../../../../../sr=
c/share/classes/java/lang/ConditionalSpecialCasing.java ../../../../../sr=
c/share/classes/java/lang/StringCoding.java ../../../../../src/share/clas=
ses/java/lang/StringBuffer.java ../../../../../src/share/classes/java/lan=
g/StringBuilder.java ../../../../../src/share/classes/java/lang/SuppressW=
arnings.java ../../../../../src/share/classes/java/lang/AbstractStringBui=
lder.java ../../../../../src/share/classes/java/lang/ClassLoader.java ../=
=2E./../../../src/share/classes/java/lang/AssertionStatusDirectives.java =
=2E./../../../../src/share/classes/java/lang/Enum.java ../../../../../src=
/share/classes/java/lang/StrictMath.java ../../../../../src/share/classes=
/java/lang/Math.java ../../../../../src

Environment Variables:
JAVA_HOME=3D
CLASSPATH=3D
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca=
l/bin:/usr/X11R6/bin:/usr/local/samba/bin:/usr/local/mysql/bin:/root/bin:=
/usr/local/scripts/admin:/usr/local/scripts/public:usr/local/gmt/bin
LD_LIBRARY_PATH=3D/usr/ports/java/jdk15/work/control/build/bsd-amd64/lib/=
amd64/server:/usr/ports/java/jdk15/work/control/build/bsd-amd64/lib/amd64=
:/usr/ports/java/jdk15/work/control/build/bsd-amd64/../lib/amd64:
SHELL=3D/bin/sh
HOSTTYPE=3DFreeBSD
OSTYPE=3DFreeBSD
ARCH=3Damd64
MACHTYPE=3Dunknown


---------------  S Y S T E M  ---------------

OS:FreeBSD
uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #158: Mon Dec 12 22:29:27 CET=
 2005     root@thor.schanze.de:/usr/obj/usr/src/sys/THOR amd64
rlimit: STACK 524288k, CORE infinity, NOFILE 11095
CPU:total 1=20

Memory: 4k page, physical 262144k

vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_14_dec_2005_18_=
55) for freebsd-amd64, built on Dec 14 2005 19:38:30 by root with gcc 3.4=
=2E4 [FreeBSD] 20050518


--------------070206000304090603090709--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A13A36.8030304>