Date: Fri, 16 Feb 2007 09:05:17 +0100 From: Anders Nordby <anders@FreeBSD.org> To: freebsd-java@FreeBSD.org Subject: Building jdk 1.5 on amd64 Message-ID: <20070216080517.GA85570@fupp.net>
next in thread | raw e-mail | index | archive | help
--xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I tried building ports/java/jdk15 on amd64, using first linux-sun-jdk14, then linux-sun-jdk15. But it fails to build: echo -e /var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/lib/jsse.jar >> /var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/java/.installed.files rm -f -r /var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/classes/sun/security/jgss/spi /bin/cp ../../tools/crypto/jgss/jgss_kerberos.jar /var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/classes cd /var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/classes; /usr/local/linux-sun-jdk1.4.2/bin/jar xf jgss_kerberos.jar sun/security/jgss/spi # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xffffefd4, pid=60707, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) # Problematic frame: # C 0xffffefd4 # # An error report file with more information is saved as hs_err_pid60707.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Abort trap (core dumped) gmake[4]: *** [/var/tmp/usr/ports/java/jdk15/work/control/build/bsd-amd64/classes/sun/security/jgss/spi] Error 134 gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk15/work/j2se/make/java/redist' gmake[3]: *** [debug] Error 2 gmake[3]: Leaving directory `/var/tmp/usr/ports/java/jdk15/work/j2se/make/java/redist' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/var/tmp/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/var/tmp/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. I attached the contents of hs_err_pid60707.log. Did anyone have success building jdk15 on amd64 lately? I am using FreeBSD 6.2-RELEASE. Cheers, -- Anders. --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hs_err_pid60707.log" # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xffffefd4, pid=60707, tid=16384 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode) # Problematic frame: # C 0xffffefd4 # --------------- T H R E A D --------------- Current thread (0x08057c70): JavaThread "main" [_thread_in_vm, id=60707] siginfo:si_signo=11, si_errno=0, si_code=20510, si_addr=0x00005000 Registers: EAX=0x281e5360, EBX=0xffffa918, ECX=0x00000010, EDX=0x00000002 ESP=0xffffa88c, EBP=0xffffa990, ESI=0x280821b8, EDI=0xffffa9b4 EIP=0xffffefd4, CR2=0x00000000, EFLAGS=0x00010246 Top of Stack: (sp=0xffffa88c) 0xffffa88c: 0000000c ffffa898 ffffa918 0000000c 0xffffa89c: 00000000 00000000 00000002 00000000 0xffffa8ac: 00000000 00000000 00000000 00000000 0xffffa8bc: 00000000 00000000 00000000 00000000 0xffffa8cc: 00000000 00000000 00000000 00000000 0xffffa8dc: 00000000 00000000 00000000 00000000 0xffffa8ec: 00000000 00000000 00000000 00000000 0xffffa8fc: 00000000 00000000 00000000 00000000 Instructions: (pc=0xffffefd4) 0xffffefc4: 01 00 00 8d 9c 24 8c 00 00 00 8e 6b 00 8e 63 04 0xffffefd4: 8e 43 08 8e 5b 0c 50 b8 ad 00 00 00 cd 80 eb fe Stack: [0xffe0e000,0xfffff000), sp=0xffffa88c, free space=1970k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0xffffefd4 C [libpthread.so.0+0x78e9] C [libpthread.so.0+0xa6fd] C [libpthread.so.0+0x718e] __pthread_mutex_lock+0x122 V [libjvm.so+0x2646ab] V [libjvm.so+0x254218] V [libjvm.so+0x2840cb] V [libjvm.so+0x255666] V [libjvm.so+0x2d1dde] V [libjvm.so+0x1ae1ff] V [libjvm.so+0x1fe2c0] C [libjava.so+0xa954] Java_java_lang_Shutdown_halt+0x18 j java.lang.Shutdown.halt(I)V+0 j java.lang.Shutdown.exit(I)V+118 j java.lang.Runtime.exit(I)V+14 j java.lang.System.exit(I)V+4 j sun.tools.jar.Main.main([Ljava/lang/String;)V+30 v ~StubRoutines::call_stub V [libjvm.so+0x1af5c4] V [libjvm.so+0x265049] V [libjvm.so+0x1af816] V [libjvm.so+0x1b7ade] V [libjvm.so+0x1c66ad] C [jar+0x1890] C [libc.so.6+0x152e7] __libc_start_main+0x8f Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.lang.Shutdown.halt(I)V+0 j java.lang.Shutdown.exit(I)V+118 j java.lang.Runtime.exit(I)V+14 j java.lang.System.exit(I)V+4 j sun.tools.jar.Main.main([Ljava/lang/String;)V+30 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08095218 JavaThread "CompilerThread0" daemon [_thread_blocked, id=60714] 0x080911f8 JavaThread "Finalizer" daemon [_thread_blocked, id=60711] 0x0808f7f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=60710] =>0x08057c70 JavaThread "main" [_thread_in_vm, id=60707] Other Threads: 0x0808c640 VMThread [id=60709] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08057420/0x08057450] Safepoint_lock - owner thread: 0x0808c640 [0x08057480/0x080574b0] Threads_lock - owner thread: 0x0808c640 Heap def new generation total 576K, used 203K [0x2c840000, 0x2c8e0000, 0x2cd20000) eden space 512K, 39% used [0x2c840000, 0x2c872d78, 0x2c8c0000) from space 64K, 0% used [0x2c8c0000, 0x2c8c0000, 0x2c8d0000) to space 64K, 0% used [0x2c8d0000, 0x2c8d0000, 0x2c8e0000) tenured generation total 7552K, used 0K [0x2cd20000, 0x2d480000, 0x30840000) the space 7552K, 0% used [0x2cd20000, 0x2cd20000, 0x2cd20200, 0x2d480000) compacting perm gen total 4096K, used 982K [0x30840000, 0x30c40000, 0x34840000) the space 4096K, 23% used [0x30840000, 0x30935988, 0x30935a00, 0x30c40000) Dynamic libraries: 08048000-08053000 r-xp 0000d000 VM Arguments: jvm_args: -Denv.class.path= -Dapplication.home=/usr/local/linux-sun-jdk1.4.2 -Xms8m java_command: sun.tools.jar.Main xf jgss_kerberos.jar sun/security/jgss/spi Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client:/usr/local/linux-sun-jdk1.4.2/jre/lib/i386:/usr/local/linux-sun-jdk1.4.2/jre/../lib/i386: SHELL=/bin/sh ARCH=amd64 --------------- S Y S T E M --------------- OS:Fedora Core release 4 (Stentz) uname:Linux 2.4.2 FreeBSD 6.2-RELEASE-p1 #0: Wed Feb 14 15:17:33 CET 2007 i686 libc:glibc 2.3.6 linuxthreads-0.10 (floating stack) rlimit: STACK 2044k, CORE infinity, NPROC 5547, NOFILE 11095, AS 10k load average:2305371875193507.00 3682211737374180026647287394465231144322965111161713695038128720135521032342882689836971020800477151018305177395940366631821643870250301855693715527850966783703355386287362112749568.00 393160905304336613377038583000562297406412547301217906626090121734749655543036779135766626304.00 CPU:total 4 family 47, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 4011236k(3752748k free), swap 2097152k(2097152k free) vm_info: Java HotSpot(TM) Client VM (1.4.2_13-b06) for linux-x86, built on Oct 18 2006 10:27:30 by unknown with unknown compiler --xHFwDpU9dbj6ez1V--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216080517.GA85570>