From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 15 18:53:14 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8265216A420 for ; Thu, 15 Dec 2005 18:53:14 +0000 (GMT) (envelope-from RonDzierwa@comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7599043D69 for ; Thu, 15 Dec 2005 18:53:05 +0000 (GMT) (envelope-from RonDzierwa@comcast.net) Received: from comcast.net (pcp0010489854pcs.essex01.md.comcast.net[69.143.77.148]) by comcast.net (sccrmhc12) with SMTP id <20051215184720012007kgcse>; Thu, 15 Dec 2005 18:47:20 +0000 Message-ID: <43A1BA56.1FCB8C40@comcast.net> Date: Thu, 15 Dec 2005 13:47:50 -0500 From: Ron Dzierwa X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "O. Hartmann" References: <439EFF19.958D6326@comcast.net> <43A13A36.8030304@mail.uni-mainz.de> <43A13B40.3000601@mail.uni-mainz.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-amd64@FreeBSD.org Subject: Re: jdk15 on 6.0-RELEASE amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 18:53:14 -0000 yeah, i eventually got it to work. my ports directory was trashed, and w= hen i updated it from ports.tar.gz, i simply untar'ed the new over the old, so the trash s= till existed. I needed to remove the directory and all its contents, then restore the new one. = Next was the build of the linux environment (linux_base-8). It doesn't build properly when = invoked as a dependency from the jdk15 build, you have to build it by itself before yo= u start the jdk15 build. After loading the linux 1.4 package into distfiles, it built succ= essfully, albeit with lots of warnings. I didn't get the vm internal error though... one thing i am still wrestling with is the firefox/mozilla plugin build. = The normal build didn't create it, i was wondering if you, or anybody else has got it to b= uild. I went to work/deploy/make and did a "gmake plugin-all" but it got compile errors. = it looks like it is not setting up the include directories correctly. any body have an= y ideas? thanks, ron. "O. Hartmann" wrote: > O. Hartmann wrote: > > >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 run= s along for a while, then: > >> > >>=3D=3D=3D> 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 > >>=3D> Patch patch-hotspot-vm-os_bsd.inline.hpp failed to apply cleanly= =2E > >>=3D> Patch(es) patch-control::common::Defs-bsd.gmk patch-deploy::comm= on::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-adapt= er::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 pa= ges > >>+ return false; > >> } > >> > >> > >>any ideas? > >> > >>any help installing any 1.4 or 1.5 (preferably) jdk would be appreci= ated. > >> > >>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.o= rg" > >> > >> > >> > >> > >Tried installing JDK15 again. Fresh install of the supported > >Linux_base-8, the necessary linux-sun-jdk14. Then compiling jdk15, mos= t > >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=3D54296, tid=3D0x5= 13000 > ># > ># 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_pid542= 96.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. > > > > > > > > > > > > > >----------------------------------------------------------------------= -- > > > ># > ># An unexpected error has been detected by HotSpot Virtual Machine: > ># > ># Internal Error (4E4D4554484F440E435050051B), pid=3D54296, tid=3D0x5= 13000 > ># > ># Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-root_14_dec_200= 5_18_55 mixed mode) > > > >--------------- T H R E A D --------------- > > > >Current thread (0x000000000052f400): JavaThread "main" [_thread_in_Ja= va, id=3D5320704] > > > >Stack: [0x00007fffffc00000,0x0000800000000000), sp=3D0x00007fffffff40= c0, free space=3D4048k > >Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code,= C=3Dnative 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_= blocked, id=3D6331392] > > 0x000000000060bc00 JavaThread "CompilerThread1" daemon [_thread_in_n= ative, id=3D6330368] > > 0x000000000060b000 JavaThread "CompilerThread0" daemon [_thread_in_n= ative, id=3D6329344] > > 0x00000000005f7400 JavaThread "AdapterThread" daemon [_thread_blocke= d, id=3D6229504] > > 0x00000000005ee800 JavaThread "Signal Dispatcher" daemon [_thread_bl= ocked, id=3D6228992] > > 0x00000000005ee000 JavaThread "Finalizer" daemon [_thread_blocked, i= d=3D6208512] > > 0x00000000005adc00 JavaThread "Reference Handler" daemon [_thread_bl= ocked, id=3D6208000] > >=3D>0x000000000052f400 JavaThread "main" [_thread_in_Java, id=3D532070= 4] > > > >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:= 0x00000000005e1800 > >[0x000000000052c700/0x000000000052c780] Threads_lock - owner thread: 0= x00000000005e1800 > > > >Heap > > def new generation total 38656K, used 23746K [0x0000000842b00000, 0= x00000008454f0000, 0x0000000848050000) > > eden space 34368K, 61% used [0x0000000842b00000, 0x0000000843f9ff68= , 0x0000000844c90000) > > from space 4288K, 61% used [0x00000008450c0000, 0x0000000845350a40,= 0x00000008454f0000) > > to space 4288K, 0% used [0x0000000844c90000, 0x0000000844c90000,= 0x00000008450c0000) > > tenured generation total 85876K, used 66357K [0x0000000848050000, 0= x000000084d42d000, 0x0000000852b00000) > > the space 85876K, 77% used [0x0000000848050000, 0x000000084c11d6b0= , 0x000000084c11d800, 0x000000084d42d000) > > compacting perm gen total 21248K, used 5080K [0x0000000852b00000, 0x= 0000000853fc0000, 0x0000000857d00000) > > the space 21248K, 23% used [0x0000000852b00000, 0x0000000852ff6018= , 0x0000000852ff6200, 0x0000000853fc0000) > >No shared spaces configured. > > > >Dynamic libraries: > >0x0000000000400000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/bin/javac > >0x0000000800639000 /usr/lib/libthr.so.2 > >0x0000000800750000 /lib/libc.so.6 > >0x000000080094d000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/lib/amd64/server/libjvm.so > >0x0000000801386000 /usr/lib/libstdc++.so.5 > >0x000000080157d000 /lib/libm.so.4 > >0x0000000801699000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/lib/amd64/native_threads/libhpi.so > >0x00000008017a5000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/lib/amd64/libverify.so > >0x00000008018b4000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/lib/amd64/libjava.so > >0x00000008019dc000 /usr/ports/java/jdk15/work/control/build/bsd-am= d64/lib/amd64/libzip.so > >0x000000080050f000 /libexec/ld-elf.so.1 > > > >VM Arguments: > >jvm_args: -Denv.class.path=3D -Dapplication.home=3D/usr/ports/java/jdk= 15/work/control/build/bsd-amd64 -Xms8m -Xss4m -ea:com.sun.tools... -XX:Th= readStackSize=3D1536 -Xms64m -Xmx256m > >java_command: com.sun.tools.javac.Main -classpath /usr/ports/java/jdk1= 5/work/control/build/bsd-amd64/tmp/java/java.lang/library/newclasses:../.= =2E/../../../src/share/classes -bootclasspath /usr/ports/java/jdk15/work/= control/build/bsd-amd64/lib/jce.jar:/usr/ports/java/jdk15/work/control/bu= ild/bsd-amd64/lib/jsse.jar -sourcepath /usr/ports/java/jdk15/work/control= /build/bsd-amd64/gensrc:../../../../../src/solaris/classes:../../../../..= /src/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/shar= e/classes/java/lang/Class.java ../../../../../src/share/classes/java/lang= /Thread.java ../../../../../src/share/classes/java/lang/Character.java ..= /../../../../src/share/classes/sun/misc/ASCIICaseInsensitiveComparator.ja= va ../../../../../src/share/classes/sun/misc/VM.java ../../../../../src/s= hare/classes/sun/misc/Signal.java > ../../../../../src/share/classes/sun/misc/NativeSignalHandler.java ../.= =2E/../../../src/share/classes/java/lang/ThreadGroup.java ../../../../../= src/share/classes/java/lang/ThreadLocal.java ../../../../../src/share/cla= sses/java/lang/InheritableThreadLocal.java ../../../../../src/share/class= es/java/lang/String.java ../../../../../src/share/classes/java/lang/Condi= tionalSpecialCasing.java ../../../../../src/share/classes/java/lang/Strin= gCoding.java ../../../../../src/share/classes/java/lang/StringBuffer.java= ../../../../../src/share/classes/java/lang/StringBuilder.java ../../../.= =2E/../src/share/classes/java/lang/SuppressWarnings.java ../../../../../s= rc/share/classes/java/lang/AbstractStringBuilder.java ../../../../../src/= share/classes/java/lang/ClassLoader.java ../../../../../src/share/classes= /java/lang/AssertionStatusDirectives.java ../../../../../src/share/classe= s/java/lang/Enum.java ../../../../../src/share/classes/java/lang/StrictMa= th.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/l= ocal/bin:/usr/X11R6/bin:/usr/local/samba/bin:/usr/local/mysql/bin:/root/b= in:/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/l= ib/amd64/server:/usr/ports/java/jdk15/work/control/build/bsd-amd64/lib/am= d64:/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 > > > >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.4 [FreeBSD] 20050518 > > > > > > > >----------------------------------------------------------------------= -- > > > >_______________________________________________ > >freebsd-amd64@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > >To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.or= g" > > > > > > Forgot to say I'm using FreeBSD 6.0-STABLE as most recent cvsupdated an= d > compiled.