From owner-freebsd-java@FreeBSD.ORG Sun Mar 9 12:21:29 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BD81106566C; Sun, 9 Mar 2008 12:21:29 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id B0AE08FC14; Sun, 9 Mar 2008 12:21:28 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id m29CKENW038890; Sun, 9 Mar 2008 21:20:14 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 09 Mar 2008 21:20:20 +0900 (JST) Message-Id: <20080309.212020.1678758621.ken@tydfam.jp> To: mbowie@buzmo.com From: ken X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92/6183/Sun Mar 9 19:42:27 2008 on daemon.sub.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=9.5 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Cc: freebsd-eclipse@freebsd.org, glewis@eyebeyond.com, freebsd-java@freebsd.org Subject: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 12:21:29 -0000 Mike, I found that eclipse europa is upgraded to 3.3.2 on Feb.21st. And I tried to upgarde our eclipse-devel to 3.3.2. It works so far under my environment, i386 x4, phenom and plugins I am using. And I need your trial report if it works under your environment. By the way, I moved to phenom environment and I have no i386 platform at hand anymore. eclipse-devel332.tgz is available at http://www.tydfam.jp/eclipse-devel332.tgz for your evaluation. From owner-freebsd-java@FreeBSD.ORG Sun Mar 9 22:20:16 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0D2810656FB for ; Sun, 9 Mar 2008 22:20:16 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6DDF38FC1A for ; Sun, 9 Mar 2008 22:20:16 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080309220249.DQZP16169.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Sun, 9 Mar 2008 22:02:49 +0000 Received: from llama.fishballoon.org ([81.101.131.46]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20080309220336.CSLQ219.aamtaout01-winn.ispmail.ntl.com@llama.fishballoon.org> for ; Sun, 9 Mar 2008 22:03:36 +0000 Received: from scott by llama.fishballoon.org with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JYTZG-000P2S-Kd for freebsd-java@freebsd.org; Sun, 09 Mar 2008 22:00:30 +0000 Date: Sun, 9 Mar 2008 22:00:30 +0000 From: Scott Mitchell To: freebsd-java@freebsd.org Message-ID: <20080309220029.GB93340@llama.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 6.2-RELEASE-p9 i386 User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Scott Mitchell Subject: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 22:20:17 -0000 I get the following trying to build java/jdk16 on i386, same result if I bootstrap with diablo-1.5.0_07 or linux-sun-jdk16. Anyone else seen this, or know of a workaround? Thanks, Scott ===== Port build output ===== gmake[5]: Entering directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client -Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) # An error report file with more information is saved as hs_err_pid13919.log # # Please submit bug reports to freebsd-java@FreeBSD.org # gmake[5]: *** [/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java] Abort trap: 6 (core dumped) gmake[5]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 1 gmake[3]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. ===== hs_err_pid13919.log ===== # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) # Please submit bug reports to freebsd-java@FreeBSD.org # --------------- T H R E A D --------------- Current thread (0x2820b2f0): [error occurred during error reporting, step 80, id 0xb] Stack: [0x00000000,0x00000000) [error occurred during error reporting, step 110, id 0xb] [error occurred during error reporting, step 120, id 0xb] [error occurred during error reporting, step 130, id 0xb] [error occurred during error reporting, step 140, id 0xb] [error occurred during error reporting, step 150, id 0xb] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: VM state:not at safepoint (not fully initilizated) VM Mutex/Monitor currently owned by a thread: None Heap [error occurred during error reporting, step 190, id 0xb] Dynamic libraries: 0x08048000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java 0x280a0000 /lib/libc.so.7 0x28300000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client/libjvm.so 0x28af0000 /usr/lib/libstdc++.so.6 0x2819c000 /lib/libm.so.5 0x281b1000 /lib/libgcc_s.so.1 0x281bd000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so 0x28063000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx512m -Xms256m java_command: CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/../lib/i386: SHELL=/bin/sh HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=i586 MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 --------------- S Y S T E M --------------- OS:Bsd uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE 10893 CPU:total 1 Memory: 4k page, physical 662564k(165641k free) vm_info: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1 20070719 [FreeBSD] -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Sun Mar 9 23:02:36 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7533A1065670 for ; Sun, 9 Mar 2008 23:02:36 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7758FC20 for ; Sun, 9 Mar 2008 23:02:36 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JXH00LWDILS5J60@mta3.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Sun, 09 Mar 2008 18:32:16 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m29MWEDF066434; Sun, 09 Mar 2008 18:32:15 -0400 Date: Sun, 09 Mar 2008 18:32:09 -0400 From: "Aryeh M. Friedman" In-reply-to: <20080309220029.GB93340@llama.fishballoon.org> To: Scott Mitchell Message-id: <47D46569.8070508@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <20080309220029.GB93340@llama.fishballoon.org> User-Agent: Thunderbird 2.0.0.12 (X11/20080309) Cc: freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 23:02:36 -0000 Scott Mitchell wrote: > I get the following trying to build java/jdk16 on i386, same result if I > bootstrap with diablo-1.5.0_07 or linux-sun-jdk16. Anyone else seen this, > or know of a workaround? > I get the same result on 8-current AMD64 with a small difference since the addition of cpu_affinity diablo panivs on build. > Thanks, > > Scott > > ===== Port build output ===== > gmake[5]: Entering directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client -Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java > # > # An unexpected error has been detected by Java Runtime Environment: > # > # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 > # > # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) > # An error report file with more information is saved as hs_err_pid13919.log > # > # Please submit bug reports to freebsd-java@FreeBSD.org > # > gmake[5]: *** [/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java] Abort trap: 6 (core dumped) > gmake[5]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac' > gmake[3]: *** [all] Error 1 > gmake[3]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > Stop in /usr/ports/java/jdk16. > > ===== hs_err_pid13919.log ===== > # > # An unexpected error has been detected by Java Runtime Environment: > # > # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 > # > # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) > # Please submit bug reports to freebsd-java@FreeBSD.org > # > > --------------- T H R E A D --------------- > > Current thread (0x2820b2f0): > [error occurred during error reporting, step 80, id 0xb] > > Stack: [0x00000000,0x00000000) > [error occurred during error reporting, step 110, id 0xb] > > > [error occurred during error reporting, step 120, id 0xb] > > > [error occurred during error reporting, step 130, id 0xb] > > > [error occurred during error reporting, step 140, id 0xb] > > > [error occurred during error reporting, step 150, id 0xb] > > > --------------- P R O C E S S --------------- > > Java Threads: ( => current thread ) > > Other Threads: > > VM state:not at safepoint (not fully initilizated) > > VM Mutex/Monitor currently owned by a thread: None > > Heap > > [error occurred during error reporting, step 190, id 0xb] > > Dynamic libraries: > 0x08048000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java > 0x280a0000 /lib/libc.so.7 > 0x28300000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client/libjvm.so > 0x28af0000 /usr/lib/libstdc++.so.6 > 0x2819c000 /lib/libm.so.5 > 0x281b1000 /lib/libgcc_s.so.1 > 0x281bd000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so > 0x28063000 /libexec/ld-elf.so.1 > > VM Arguments: > jvm_args: -Xmx512m -Xms256m > java_command: CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java > Launcher Type: SUN_STANDARD > > Environment Variables: > JAVA_HOME= > CLASSPATH= > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/../lib/i386: > SHELL=/bin/sh > HOSTTYPE=FreeBSD > OSTYPE=FreeBSD > ARCH=i586 > MACHTYPE=i386 > > Signal Handlers: > SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 > SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 > SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 > SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 > SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 > SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 > SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 > > > --------------- S Y S T E M --------------- > > OS:Bsd > uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE 10893 > CPU:total 1 > > Memory: 4k page, physical 662564k(165641k free) > > vm_info: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1 20070719 [FreeBSD] > > > > From owner-freebsd-java@FreeBSD.ORG Mon Mar 10 11:07:06 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36E741065676 for ; Mon, 10 Mar 2008 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4598FC2D for ; Mon, 10 Mar 2008 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2AB76NY086610 for ; Mon, 10 Mar 2008 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2AB75n3086604 for freebsd-java@FreeBSD.org; Mon, 10 Mar 2008 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Mar 2008 11:07:05 GMT Message-Id: <200803101107.m2AB75n3086604@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 11:07:06 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/121420 java Java applet fails to find class 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java [request] java.nio channel selectors should use kqueue o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/119063 java An unexpected error has been detected by Java Runtime o java/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws o java/120146 java netbeans 6.0 crash on amd64 a ports/120959 java java/sablevm-classpath did not build/install from port o ports/121416 java java/jdk15 can't build if BIN environment variable is 15 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Mar 10 13:32:54 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78C00106566B for ; Mon, 10 Mar 2008 13:32:54 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mail1.intricatesoftware.com (cl-18.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:11::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2498FC18 for ; Mon, 10 Mar 2008 13:32:53 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.14.1/8.13.4) with ESMTP id m2ADWc8P007915; Mon, 10 Mar 2008 09:32:38 -0400 (EDT) Received: from seraph.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.1/8.14.1) with ESMTP id m2ADWbPs021536; Mon, 10 Mar 2008 09:32:37 -0400 (EDT) Received: (from truk@localhost) by seraph.intricatesoftware.com (8.14.1/8.14.1/Submit) id m2ADWbVU028572; Mon, 10 Mar 2008 09:32:37 -0400 (EDT) X-Authentication-Warning: seraph.intricatesoftware.com: truk set sender to lists@intricatesoftware.com using -f From: Kurt Miller To: freebsd-java@freebsd.org Date: Mon, 10 Mar 2008 08:32:36 -0500 User-Agent: KMail/1.9.7 References: <20080309220029.GB93340@llama.fishballoon.org> In-Reply-To: <20080309220029.GB93340@llama.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803100932.37017.lists@intricatesoftware.com> X-SMTP-Vilter-Version: 1.3.6 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,BAYES_00 X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -4.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.9 X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: Scott Mitchell Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 13:32:54 -0000 This look like another case of the jvm not being linked to a thread library. At least the 'Dynamic libraries:' section of the crash report doesn't list a thread library. What does ldd show? ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java Can you extract the portion of the build log that shows the link command for the 'java' executable? It should look something like this: Rebuilding /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java because of /usr/ports/java/jdk16/work/contro l/build/bsd-amd64/tmp/java/java/obj64/java.o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/java/obj64 /java_md.o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/java/obj64/splashscreen_stubs.o /usr/bin/gcc -o /usr/ports/java/jdk16/work/control/build/bsd-amd64/bin/java -L/usr/ports/java/jdk16/work/control/ build/bsd-amd64/lib/amd64 -Wl,-soname=lib.so -static-libgcc -Wl,--whole-archive /usr/ports/java/jdk16/work/control/ build/bsd-amd64/tmp/java/jli/obj64/static/libjli.a -Wl,--no-whole-archive \ /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/java/obj64/java.o /usr/ports/java/jdk16/work/contro l/build/bsd-amd64/tmp/java/java/obj64/java_md.o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/java/java/ob j64/splashscreen_stubs.o -pthread -pthread gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/java/main/java' -Kurt On Sunday 09 March 2008 6:00:30 pm Scott Mitchell wrote: > I get the following trying to build java/jdk16 on i386, same result if I > bootstrap with diablo-1.5.0_07 or linux-sun-jdk16. Anyone else seen this, > or know of a workaround? > > Thanks, > > Scott > > ===== Port build output ===== > gmake[5]: Entering directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client -Xmx512m -Xms256m -classpath ../../../../make/tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java > # > # An unexpected error has been detected by Java Runtime Environment: > # > # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 > # > # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) > # An error report file with more information is saved as hs_err_pid13919.log > # > # Please submit bug reports to freebsd-java@FreeBSD.org > # > gmake[5]: *** [/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java] Abort trap: 6 (core dumped) > gmake[5]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac/javac' > gmake[4]: *** [all] Error 1 > gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/sun/javac' > gmake[3]: *** [all] Error 1 > gmake[3]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/javac' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > Stop in /usr/ports/java/jdk16. > > ===== hs_err_pid13919.log ===== > # > # An unexpected error has been detected by Java Runtime Environment: > # > # Internal Error (4F533F4253443F491418160E43505002C5), pid=13919, tid=0x28201400 > # > # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00 mixed mode, sharing) > # Please submit bug reports to freebsd-java@FreeBSD.org > # > > --------------- T H R E A D --------------- > > Current thread (0x2820b2f0): > [error occurred during error reporting, step 80, id 0xb] > > Stack: [0x00000000,0x00000000) > [error occurred during error reporting, step 110, id 0xb] > > > [error occurred during error reporting, step 120, id 0xb] > > > [error occurred during error reporting, step 130, id 0xb] > > > [error occurred during error reporting, step 140, id 0xb] > > > [error occurred during error reporting, step 150, id 0xb] > > > --------------- P R O C E S S --------------- > > Java Threads: ( => current thread ) > > Other Threads: > > VM state:not at safepoint (not fully initilizated) > > VM Mutex/Monitor currently owned by a thread: None > > Heap > > [error occurred during error reporting, step 190, id 0xb] > > Dynamic libraries: > 0x08048000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java > 0x280a0000 /lib/libc.so.7 > 0x28300000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client/libjvm.so > 0x28af0000 /usr/lib/libstdc++.so.6 > 0x2819c000 /lib/libm.so.5 > 0x281b1000 /lib/libgcc_s.so.1 > 0x281bd000 /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so > 0x28063000 /libexec/ld-elf.so.1 > > VM Arguments: > jvm_args: -Xmx512m -Xms256m > java_command: CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java > Launcher Type: SUN_STANDARD > > Environment Variables: > JAVA_HOME= > CLASSPATH= > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > LD_LIBRARY_PATH=/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/client:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386:/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/../lib/i386: > SHELL=/bin/sh > HOSTTYPE=FreeBSD > OSTYPE=FreeBSD > ARCH=i586 > MACHTYPE=i386 > > Signal Handlers: > SIGSEGV: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGBUS: [libjvm.so+0x360020], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGFPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGPIPE: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGILL: [libjvm.so+0x2a6230], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 > SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 > SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 > SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 > SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 > SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 > SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 > SIGUSR2: [libjvm.so+0x2a8270], sa_mask[0]=0x00000000, sa_flags=0x00000042 > > > --------------- S Y S T E M --------------- > > OS:Bsd > uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > rlimit: STACK 65536k, CORE infinity, NPROC 5446, NOFILE 10893 > CPU:total 1 > > Memory: 4k page, physical 662564k(165641k free) > > vm_info: Java HotSpot(TM) Client VM (1.6.0_03-p4-root_09_mar_2008_21_01-b00) for bsd-x86, built on Mar 9 2008 21:43:39 by "root" with gcc 4.2.1 20070719 [FreeBSD] > > > From owner-freebsd-java@FreeBSD.ORG Mon Mar 10 20:10:45 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0405B1065683 for ; Mon, 10 Mar 2008 20:10:45 +0000 (UTC) (envelope-from steve@energistic.com) Received: from energistic.com (mail.energistic.com [216.54.148.60]) by mx1.freebsd.org (Postfix) with ESMTP id B37068FC26 for ; Mon, 10 Mar 2008 20:10:44 +0000 (UTC) (envelope-from steve@energistic.com) Received: from energistic.com (localhost [127.0.0.1]) by energistic.com (8.14.2/8.14.2) with ESMTP id m2AJcQ0E078557 for ; Mon, 10 Mar 2008 15:38:26 -0400 (EDT) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.14.2/8.14.2/Submit) id m2AJcQne078180 for freebsd-java@freebsd.org; Mon, 10 Mar 2008 15:38:26 -0400 (EDT) (envelope-from steve) Date: Mon, 10 Mar 2008 15:38:26 -0400 (EDT) From: Steve Ames Message-Id: <200803101938.m2AJcQne078180@energistic.com> To: freebsd-java@freebsd.org X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_111,J_CHICKENPOX_16,J_CHICKENPOX_22,J_CHICKENPOX_35, J_CHICKENPOX_53,J_CHICKENPOX_57 autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on energistic.com Subject: getting an error diablo X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 20:10:45 -0000 # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2b253a56, pid=78017, tid=0x847c000 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_07-b01 mixed mode) # Problematic frame: # J java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; # # An error report file with more information is saved as hs_err_pid78017.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # This is very consistent. Took me a minute to track down where that error report got saved. Found it in /var/yp/? Attached below. Be happy to provide any additional info or testing. -Steve ----------------------------- # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2b253a56, pid=78017, tid=0x847c000 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_07-b01 mixed mode) # Problematic frame: # J java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; # --------------- T H R E A D --------------- Current thread (0x0817ee00): JavaThread "AhsayOBM_RunOFMBackup_1205175436368" [_thread_in_Java, id=138919936] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x78694e5b Registers: EAX=0x3d2ee850, EBX=0x3d2ee850, ECX=0x2d4dc7c0, EDX=0x2b257a64 ESP=0xbf6f5068, EBP=0xbf6f5090, ESI=0x78694e5b, EDI=0xbf6f50fc EIP=0x2b253a56, EFLAGS=0x00010202 Top of Stack: (sp=0xbf6f5068) 0xbf6f5068: 00000010 00000030 bf6f50a8 2b26c0dd 0xbf6f5078: 00000000 3d230430 2d4dc7c0 3d2ee5f8 0xbf6f5088: 2d4dc6f0 2d4dc720 bf6f50a8 2b257a40 0xbf6f5098: 78694e5b 2d4dc7c0 3d2ee850 3d4425a1 0xbf6f50a8: bf6f50bc 2b215d00 78694e5b 2d4dc7c0 0xbf6f50b8: 2b257948 bf6f50ec 2b1ac9fa 78694e5b 0xbf6f50c8: 2d4dc7c0 2d4dc7a8 bf6f50d0 3d4425a1 0xbf6f50d8: bf6f50fc 3d442808 00000000 3d4425d0 Instructions: (pc=0x2b253a56) 0x2b253a46: 0f 85 07 00 00 00 c7 45 08 d0 6a 4f 3d 8b 75 08 0x2b253a56: 3b 06 8b 76 10 89 75 fc 83 fe 00 0f 84 32 00 00 Stack: [0xbf6b6000,0xbf6f6000), sp=0xbf6f5068, free space=252k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J java.lang.AbstractStringBuilder.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder; J java.lang.StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.io.FileNotFoundException.(Ljava/lang/String;Ljava/lang/String;)V+9 v ~StubRoutines::call_stub V [libjvm.so+0x272008] V [libjvm.so+0x386c18] V [libjvm.so+0x27211f] V [libjvm.so+0x27e12b] V [libjvm.so+0x27ebed] C [libjava.so+0x12b66] JNU_NewObjectByName+0x6e C [libjava.so+0x127ec] throwFileNotFoundException+0x70 C [libNixUtilBsdx86.so+0x3736] Java_com_ahsay_afc_util_nix_NixUtil_openFileN+0x9a j com.ahsay.afc.util.nix.NixUtil.openFileN(Ljava/lang/String;)J+0 j com.ahsay.afc.util.nix.NixUtil.openFile(Ljava/lang/String;)Lxnd;+2 j rq.(Ljava/lang/String;Ljava/lang/String;)V+65 j vod.(Ljava/lang/String;Lcom/ahsay/afc/crypto/lite/javax/crypto/Cipher;JLjava/lang/String;)V+8 j ydd.Gnd(Ljava/lang/String;JLjava/lang/String;)Lbod;+91 j xmd.Ewd(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/io/File;Ljava/lang/String;ZZJJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JIILjava/lang/String;)V+651 j xmd.Bwd(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;JIILjava/lang/String;)V+39 j xmd.bD(Ljava/lang/Class;)V+738 j xmd.kt()V+24 j xmd.Dwd()V+135 j xmd.run()V+1 j kl.gj()V+90 j kl.lj()V+1306 j kl.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [libjvm.so+0x272008] V [libjvm.so+0x386c18] V [libjvm.so+0x27211f] V [libjvm.so+0x2725b6] V [libjvm.so+0x27272e] V [libjvm.so+0x2d447a] V [libjvm.so+0x3f5780] V [libjvm.so+0x3f5841] V [libjvm.so+0x383d79] C [libpthread.so.2+0xf00b] _pthread_create+0x8ab --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x081ac400 JavaThread "[Thread][BackupSet Dispatcher][BackupSet-0]" [_thread_blocked, id=138922496] 0x0847c400 JavaThread "[Thread][ipcThread]" [_thread_blocked, id=138921472] =>0x0817ee00 JavaThread "AhsayOBM_RunOFMBackup_1205175436368" [_thread_in_Java, id=138919936] 0x0817ea00 JavaThread "[Thread-BackupJobLogger] [1177598443517][2008-03-10-14-57-16]" [_thread_blocked, id=135785472] 0x08143c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135544320] 0x08143800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135543296] 0x08143400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135542272] 0x08143000 JavaThread "Finalizer" daemon [_thread_blocked, id=135541248] 0x08068c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134647296] 0x0805cc00 JavaThread "main" [_thread_blocked, id=134594560] Other Threads: 0x08056f00 VMThread [id=134646272] 0x08056a00 WatcherThread [id=135660032] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 5888K, used 2783K [0x2d230000, 0x2d890000, 0x2e5e0000) eden space 5248K, 53% used [0x2d230000, 0x2d4e7690, 0x2d750000) from space 640K, 0% used [0x2d750000, 0x2d7505d0, 0x2d7f0000) to space 640K, 0% used [0x2d7f0000, 0x2d7f0000, 0x2d890000) tenured generation total 78004K, used 36859K [0x2e5e0000, 0x3320d000, 0x3d230000) the space 78004K, 47% used [0x2e5e0000, 0x309dee78, 0x309df000, 0x3320d000) compacting perm gen total 8192K, used 5675K [0x3d230000, 0x3da30000, 0x41230000) the space 8192K, 69% used [0x3d230000, 0x3d7badd8, 0x3d7bae00, 0x3da30000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/obm/jvm/bin/java 0x28086000 /lib/libz.so.3 0x28098000 /lib/libpthread.so.2 0x280bf000 /lib/libc.so.6 0x281c8000 /usr/local/diablo-jre1.5.0/lib/i386/client/libjvm.so 0x28668000 /lib/libm.so.4 0x28682000 /usr/local/diablo-jre1.5.0/lib/i386/native_threads/libhpi.so 0x28693000 /usr/local/diablo-jre1.5.0/lib/i386/libverify.so 0x286a0000 /usr/local/diablo-jre1.5.0/lib/i386/libjava.so 0x286bf000 /usr/local/diablo-jre1.5.0/lib/i386/libzip.so 0x41c2c000 /usr/local/diablo-jre1.5.0/lib/i386/libnet.so 0x41c3d000 /usr/local/obm/bin/libNixUtilBsdx86.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx256m -Djava.library.path=/usr/local/obm/bin java_command: RunBackupSet /usr/local/obm BackupSet-0 FILE NO-DEBUG Launcher Type: SUN_STANDARD Environment Variables: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/root/bin LD_LIBRARY_PATH=/usr/local/diablo-jre1.5.0/lib/i386/client:/usr/local/diablo-jre1.5.0/lib/i386:/usr/local/diablo-jre1.5.0/../lib/i386:/usr/local/obm/bin: SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x425170], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x425170], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x386c20], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x386c20], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x386c20], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x386cf0], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x386c20], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x385480], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x385480], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x385480], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x385480], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #8: Sun Mar 2 19:17:30 EST 2008 sames@unix.officescape.com:/usr/obj/usr/src/sys/UOC i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 2 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 1884148k vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_07-b01) for freebsd-x86, built on Sep 24 2006 16:09:01 by root with gcc 3.4.4 [FreeBSD] 20050518 From owner-freebsd-java@FreeBSD.ORG Mon Mar 10 20:28:13 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D1F8106566B for ; Mon, 10 Mar 2008 20:28:13 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id DC1758FC23 for ; Mon, 10 Mar 2008 20:28:12 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080310203028.YWEG16169.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Mon, 10 Mar 2008 20:30:28 +0000 Received: from llama.fishballoon.org ([81.101.131.46]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080310203316.ELFN26699.aamtaout03-winn.ispmail.ntl.com@llama.fishballoon.org>; Mon, 10 Mar 2008 20:33:16 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]:60578) by llama.fishballoon.org with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JYobR-0002oz-7j; Mon, 10 Mar 2008 20:28:09 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.14.2/8.14.2/Submit) id m2AKS6dJ022391; Mon, 10 Mar 2008 20:28:06 GMT (envelope-from scott) Date: Mon, 10 Mar 2008 20:28:06 +0000 From: Scott Mitchell To: kurt@intricatesoftware.com Message-ID: <20080310202806.GA22200@tuatara.fishballoon.org> References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803100932.37017.lists@intricatesoftware.com> X-Operating-System: FreeBSD 7.0-RELEASE i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 20:28:13 -0000 On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: > This look like another case of the jvm not being linked to a thread library. > At least the 'Dynamic libraries:' section of the crash report doesn't list a > thread library. What does ldd show? > > ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java Hi Kurt, Not much to see there I'm afraid: (511) tuatara:~ $ ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java: libc.so.7 => /lib/libc.so.7 (0x280a0000) > Can you extract the portion of the build log that shows the link command > for the 'java' executable? It should look something like this: I didn't keep the whole log, unfortunately. Will kick the build off again and let you know what it says. Many thanks, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Mon Mar 10 23:18:09 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE361065670 for ; Mon, 10 Mar 2008 23:18:09 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 8091E8FC21 for ; Mon, 10 Mar 2008 23:18:08 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080310232034.HBPA27871.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Mon, 10 Mar 2008 23:20:34 +0000 Received: from llama.fishballoon.org ([81.101.131.46]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080310231810.OJIS29112.aamtaout04-winn.ispmail.ntl.com@llama.fishballoon.org>; Mon, 10 Mar 2008 23:18:10 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]:59627) by llama.fishballoon.org with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JYrFs-0003FV-Nx; Mon, 10 Mar 2008 23:18:04 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.14.2/8.14.2/Submit) id m2ANI4jT043881; Mon, 10 Mar 2008 23:18:04 GMT (envelope-from scott) Date: Mon, 10 Mar 2008 23:18:03 +0000 From: Scott Mitchell To: kurt@intricatesoftware.com Message-ID: <20080310231803.GC22200@tuatara.fishballoon.org> References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803100932.37017.lists@intricatesoftware.com> X-Operating-System: FreeBSD 7.0-RELEASE i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 23:18:09 -0000 On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: > This look like another case of the jvm not being linked to a thread library. > At least the 'Dynamic libraries:' section of the crash report doesn't list a > thread library. What does ldd show? > > ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java > > Can you extract the portion of the build log that shows the link command > for the 'java' executable? It should look something like this: Hi Kurt, Here you go - I saved the entire log so just let me know if you need to see any more of it: Rebuilding /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java because of /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o /usr/bin/gcc -o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jli/obj/static/libjli.a -Wl,--no-whole-archive \ /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o -pthread -pthread gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java' Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 01:30:31 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5E6F1065673 for ; Tue, 11 Mar 2008 01:30:31 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mail1.intricatesoftware.com (cl-18.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:11::2]) by mx1.freebsd.org (Postfix) with ESMTP id AF3E68FC13 for ; Tue, 11 Mar 2008 01:30:30 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.14.1/8.13.4) with ESMTP id m2B1U3r6010656; Mon, 10 Mar 2008 21:30:06 -0400 (EDT) Received: from seraph.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.1/8.14.1) with ESMTP id m2B1U3qN029048; Mon, 10 Mar 2008 21:30:03 -0400 (EDT) Received: (from truk@localhost) by seraph.intricatesoftware.com (8.14.1/8.14.1/Submit) id m2B1U28D032104; Mon, 10 Mar 2008 21:30:02 -0400 (EDT) X-Authentication-Warning: seraph.intricatesoftware.com: truk set sender to kurt@intricatesoftware.com using -f From: Kurt Miller To: freebsd-java@freebsd.org Date: Mon, 10 Mar 2008 20:30:01 -0500 User-Agent: KMail/1.9.7 References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> In-Reply-To: <20080310231803.GC22200@tuatara.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803102130.02371.kurt@intricatesoftware.com> X-SMTP-Vilter-Version: 1.3.6 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,BAYES_00 X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -4.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.9 X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: Scott Mitchell Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 01:30:31 -0000 On Monday 10 March 2008 7:18:03 pm Scott Mitchell wrote: > On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: > > This look like another case of the jvm not being linked to a thread library. > > At least the 'Dynamic libraries:' section of the crash report doesn't list a > > thread library. What does ldd show? > > > > ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java > > > > Can you extract the portion of the build log that shows the link command > > for the 'java' executable? It should look something like this: > > Hi Kurt, > > Here you go - I saved the entire log so just let me know if you need to see > any more of it: > > Rebuilding /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java because of /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o > /usr/bin/gcc -o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jli/obj/static/libjli.a -Wl,--no-whole-archive \ > /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o -pthread -pthread > gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java' > Hi, Weird. It seems like gc(1)/ld(1) has changed the way -pthread is handled. In 6.X and below it will record a NEEDED entry for libpthread even if the executable doesn't reference any pthread symbols. I suspect that in 7.X if the executable doesn't reference any pthread symbols it wont record the NEEDED entry. You can verify that for me with the following test on 7.0: === k.c ==== int main(void) { return 0; } ========= $ cc k.c -pthread && ldd a.out a.out: libpthread.so.2 => /usr/lib/libpthread.so.2 (0x80062a000) libc.so.6 => /lib/libc.so.6 (0x800755000) Do you get similar ldd output on 7.0? -Kurt From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 02:10:15 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73DF41065670 for ; Tue, 11 Mar 2008 02:10:15 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9D38FC1A for ; Tue, 11 Mar 2008 02:10:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m2B1rLbZ007301; Mon, 10 Mar 2008 21:53:21 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Mon, 10 Mar 2008 21:53:21 -0400 (EDT) Date: Mon, 10 Mar 2008 21:53:21 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kurt Miller In-Reply-To: <200803102130.02371.kurt@intricatesoftware.com> Message-ID: References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 02:10:15 -0000 On Mon, 10 Mar 2008, Kurt Miller wrote: > On Monday 10 March 2008 7:18:03 pm Scott Mitchell wrote: >> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: >>> This look like another case of the jvm not being linked to a thread library. >>> At least the 'Dynamic libraries:' section of the crash report doesn't list a >>> thread library. What does ldd show? >>> >>> ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>> >>> Can you extract the portion of the build log that shows the link command >>> for the 'java' executable? It should look something like this: >> >> Hi Kurt, >> >> Here you go - I saved the entire log so just let me know if you need to see >> any more of it: >> >> Rebuilding /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java because of /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o >> /usr/bin/gcc -o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386 -Wl,-soname=lib.so -Wl,--whole-archive /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jli/obj/static/libjli.a -Wl,--no-whole-archive \ >> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o -pthread -pthread >> gmake[4]: Leaving directory `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java' >> > > Hi, > > Weird. It seems like gc(1)/ld(1) has changed the way -pthread is handled. In 6.X > and below it will record a NEEDED entry for libpthread even if the executable > doesn't reference any pthread symbols. I suspect that in 7.X if the executable > doesn't reference any pthread symbols it wont record the NEEDED entry. No, for binaries it works the same way on 7.x as 6.x. $ gcc -o k k.c -pthread $ ldd k k: libthr.so.3 => /lib/libthr.so.3 (0x2807c000) libc.so.7 => /lib/libc.so.7 (0x2808f000) I believe that -pthread does now act differently in 7.0+ when used to build shared libraries. Prior to 7.0, using -pthread to build shared libraries would not record a dependency on libpthread, whereas in 7.0+ it will record a dependency. Other than that, the only change in 7.0 is that libthr is now the default instead of libkse (nee libpthread). -- DE From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 03:22:35 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9E3106566B; Tue, 11 Mar 2008 03:22:35 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mail1.intricatesoftware.com (cl-18.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:11::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3214E8FC1B; Tue, 11 Mar 2008 03:22:35 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.14.1/8.13.4) with ESMTP id m2B3MNks014087; Mon, 10 Mar 2008 23:22:24 -0400 (EDT) Received: from seraph.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.1/8.14.1) with ESMTP id m2B3MNPo002985; Mon, 10 Mar 2008 23:22:23 -0400 (EDT) Message-ID: <47D5FAEF.3080900@intricatesoftware.com> Date: Mon, 10 Mar 2008 23:22:23 -0400 From: Kurt Miller User-Agent: Thunderbird 2.0.0.12 (X11/20080228) MIME-Version: 1.0 To: Daniel Eischen References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SMTP-Vilter-Version: 1.3.6 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,BAYES_00 X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -4.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.9 X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 03:22:35 -0000 Daniel Eischen wrote: > On Mon, 10 Mar 2008, Kurt Miller wrote: > >> On Monday 10 March 2008 7:18:03 pm Scott Mitchell wrote: >>> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: >>>> This look like another case of the jvm not being linked to a thread >>>> library. >>>> At least the 'Dynamic libraries:' section of the crash report >>>> doesn't list a >>>> thread library. What does ldd show? >>>> >>>> ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>>> >>>> Can you extract the portion of the build log that shows the link >>>> command >>>> for the 'java' executable? It should look something like this: >>> >>> Hi Kurt, >>> >>> Here you go - I saved the entire log so just let me know if you need >>> to see >>> any more of it: >>> >>> Rebuilding >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>> because of >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o >>> >>> /usr/bin/gcc -o >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>> -L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386 >>> -Wl,-soname=lib.so -Wl,--whole-archive >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jli/obj/static/libjli.a >>> -Wl,--no-whole-archive \ >>> >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o >>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o >>> -pthread -pthread >>> gmake[4]: Leaving directory >>> `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java' >>> >> >> Hi, >> >> Weird. It seems like gcc(1)/ld(1) has changed the way -pthread is >> handled. In 6.X >> and below it will record a NEEDED entry for libpthread even if the >> executable >> doesn't reference any pthread symbols. I suspect that in 7.X if the >> executable >> doesn't reference any pthread symbols it wont record the NEEDED entry. > > No, for binaries it works the same way on 7.x as 6.x. > > $ gcc -o k k.c -pthread > $ ldd k > k: > libthr.so.3 => /lib/libthr.so.3 (0x2807c000) > libc.so.7 => /lib/libc.so.7 (0x2808f000) > > I believe that -pthread does now act differently in 7.0+ when used > to build shared libraries. Prior to 7.0, using -pthread to build > shared libraries would not record a dependency on libpthread, > whereas in 7.0+ it will record a dependency. > > Other than that, the only change in 7.0 is that libthr is now the > default instead of libkse (nee libpthread). > Hi Daniel, Hmm, well I'm perplexed then. I can't see why work/control/build/bsd-i586/bin/java isn't recording the NEEDED on libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double -pthread is the culprit. Can you experiment on 7.0 to see if they are involved at all? -Kurt From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 03:29:20 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B58331065671; Tue, 11 Mar 2008 03:29:20 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id F1A888FC23; Tue, 11 Mar 2008 03:29:14 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id m2B3S01D011229; Tue, 11 Mar 2008 12:28:01 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Tue, 11 Mar 2008 12:28:09 +0900 (JST) Message-Id: <20080311.122809.-345485952.ken@tydfam.jp> To: mbowie@buzmo.com From: ken In-Reply-To: <20080309.212020.1678758621.ken@tydfam.jp> References: <20080309.212020.1678758621.ken@tydfam.jp> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92/6193/Tue Mar 11 08:22:45 2008 on daemon.sub.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=9.5 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Cc: freebsd-java@freebsd.org, glewis@eyebeyond.com, freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 03:29:20 -0000 My appology, Mike. I found that I made a mistake and brought in a lot of bugs relating to minor versioning of plugins with eclipse-devel332.tgz. Please pick up newer one from http://www.tydfam.jp/eclipse-devel332.tgz and give a try. I checked it with amd64/jdk15 and it is seemingly OK. Checking the implementation after 400 miles drive did not work... Sorry for your incovenience. From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 22:11:46 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 339D8106566C for ; Tue, 11 Mar 2008 22:11:46 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 044BC8FC19 for ; Tue, 11 Mar 2008 22:11:45 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m2BMBRrr028707; Tue, 11 Mar 2008 18:11:28 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Tue, 11 Mar 2008 18:11:28 -0400 (EDT) Date: Tue, 11 Mar 2008 18:11:27 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kurt Miller In-Reply-To: <47D5FAEF.3080900@intricatesoftware.com> Message-ID: References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 22:11:46 -0000 On Mon, 10 Mar 2008, Kurt Miller wrote: > Daniel Eischen wrote: >> On Mon, 10 Mar 2008, Kurt Miller wrote: >> >>> On Monday 10 March 2008 7:18:03 pm Scott Mitchell wrote: >>>> On Mon, Mar 10, 2008 at 08:32:36AM -0500, Kurt Miller wrote: >>>>> This look like another case of the jvm not being linked to a thread >>>>> library. >>>>> At least the 'Dynamic libraries:' section of the crash report >>>>> doesn't list a >>>>> thread library. What does ldd show? >>>>> >>>>> ldd /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>>>> >>>>> Can you extract the portion of the build log that shows the link >>>>> command >>>>> for the 'java' executable? It should look something like this: >>>> >>>> Hi Kurt, >>>> >>>> Here you go - I saved the entire log so just let me know if you need >>>> to see >>>> any more of it: >>>> >>>> Rebuilding >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>>> because of >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o >>>> >>>> /usr/bin/gcc -o >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java >>>> -L/var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386 >>>> -Wl,-soname=lib.so -Wl,--whole-archive >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/jli/obj/static/libjli.a >>>> -Wl,--no-whole-archive \ >>>> >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java.o >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/java_md.o >>>> /var/tmp/usr/ports/java/jdk16/work/control/build/bsd-i586/tmp/java/java/obj/splashscreen_stubs.o >>>> -pthread -pthread >>>> gmake[4]: Leaving directory >>>> `/var/tmp/usr/ports/java/jdk16/work/j2se/make/java/main/java' >>>> >>> >>> Hi, >>> >>> Weird. It seems like gcc(1)/ld(1) has changed the way -pthread is >>> handled. In 6.X >>> and below it will record a NEEDED entry for libpthread even if the >>> executable >>> doesn't reference any pthread symbols. I suspect that in 7.X if the >>> executable >>> doesn't reference any pthread symbols it wont record the NEEDED entry. >> >> No, for binaries it works the same way on 7.x as 6.x. >> >> $ gcc -o k k.c -pthread >> $ ldd k >> k: >> libthr.so.3 => /lib/libthr.so.3 (0x2807c000) >> libc.so.7 => /lib/libc.so.7 (0x2808f000) >> >> I believe that -pthread does now act differently in 7.0+ when used >> to build shared libraries. Prior to 7.0, using -pthread to build >> shared libraries would not record a dependency on libpthread, >> whereas in 7.0+ it will record a dependency. >> >> Other than that, the only change in 7.0 is that libthr is now the >> default instead of libkse (nee libpthread). >> > > Hi Daniel, > > Hmm, well I'm perplexed then. I can't see why > work/control/build/bsd-i586/bin/java isn't recording the NEEDED on > libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double > -pthread is the culprit. Can you experiment on 7.0 to see if they are > involved at all? I'm sorry, this (jdk16) doesn't even come close to building on 7.0 using native jdk15. It fails right at the get-go. See http://people.freebsd.org/~deischen/jdk16.build.log. The tail end of the log is this: Creating test_gamma ... ( \ echo '#!/bin/sh'; \ echo "# Generated by /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/build/bsd/makefiles/buildtree.make"; \ echo '. ./env.sh'; \ echo "if [ -z \$JAVA_HOME ]; then { echo "JAVA_HOME must be set to run this test."; exit 0; }; fi"; \ echo "if ! \${JAVA_HOME}/bin/java -d32 -fullversion 2>1 > /dev/null"; \ echo "then"; \ echo " echo "JAVA_HOME must point to 32bit JDK."; exit 0;"; \ echo "fi"; \ echo 'CLASSPATH="/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/build/linux:$CLASSPATH"'; \ echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ echo './${gamma:-gamma} -Xbatch Queens < /dev/null'; \ ) > test_gamma chmod +x test_gamma gmake[5]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/profiled' touch bsd_i486_compiler2/profiled gmake[4]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' cd bsd_i486_compiler2/product && gmake -w gmake[4]: Entering directory `/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Removing ../generated/includeDB.current to force regeneration. cd ../generated; cat /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/includeDB_core /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/includeDB_gc /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_concurrentMarkSweep /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_shared /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/includeDB_ci /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/src/share/vm/includeDB_compiler2 > includeDB cd ../generated; if [ ! -r incls ] ; then \ mkdir incls ; \ fi cd ../generated; /usr/local/jdk1.5.0/bin/java -DUSE_PRECOMPILED_HEADER -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /opt/FreeBSD/src/ports/java/jdk16/work/hotspot/build/bsd/platform_i486 includeDB Old database: computing closures New database: reading database: includeDB java.lang.NullPointerException gmake[4]: *** [../generated/includeDB.current] Error 1 gmake[4]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' gmake[3]: *** [product] Error 2 gmake[3]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 -- DE From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 22:31:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 525A21065676 for ; Tue, 11 Mar 2008 22:31:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2451B8FC21 for ; Tue, 11 Mar 2008 22:31:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m2BMV1Lx009315; Tue, 11 Mar 2008 18:31:01 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Tue, 11 Mar 2008 18:31:01 -0400 (EDT) Date: Tue, 11 Mar 2008 18:31:01 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kurt Miller In-Reply-To: Message-ID: References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 22:31:17 -0000 On Tue, 11 Mar 2008, Daniel Eischen wrote: > On Mon, 10 Mar 2008, Kurt Miller wrote: > >> Hi Daniel, >> >> Hmm, well I'm perplexed then. I can't see why >> work/control/build/bsd-i586/bin/java isn't recording the NEEDED on >> libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double >> -pthread is the culprit. Can you experiment on 7.0 to see if they are >> involved at all? > > I'm sorry, this (jdk16) doesn't even come close to building > on 7.0 using native jdk15. It fails right at the get-go. > See http://people.freebsd.org/~deischen/jdk16.build.log. Even trying to build jdk15 (1.5.0.14, patchset 8) fails when using jdk15 (1.5.0.11, patchset 4) as the native bootstrap: # Start of jdk build bsd i586 1.5.0_14-p8 build started: 08-03-11 18:22 if [ -r ./../../deploy/make/Makefile ]; then \ ( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE=p8 BUILD_NUMBER=root_11_mar_2008_18_22 JDK_BUILD_NUMBER=b00 ; ); \ fi gmake[1]: Entering directory `/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make' gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk15/work/deploy/make' gmake[1]: Entering directory `/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make' gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk15/work/j2se/make' if [ -r ./../../install/make/Makefile ]; then \ ( cd ./../../install/make; gmake sanity MAKEFLAGS= EXTERNALSANITYCONTROL=true ALT_CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control ALT_J2SE_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/j2se ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 ALT_RTPATCH_DIR= ALT_BASE_IMAGE_ZIP= ALT_BASE_IMAGE_DIR= ALT_NEW_IMAGE_DIR= ALT_BUNDLE_DATE=11_mar_2008 ; ); \ fi gmake[1]: Entering directory `/opt/FreeBSD/src/ports/java/jdk15/work/install/make' gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk15/work/install/make' Build Machine Information: build machine = Build Directory Structure: CWD = /opt/FreeBSD/src/ports/java/jdk15/work/control/make TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se DEPLOY_TOPDIR = ./../../deploy INSTALL_TOPDIR = ./../../install SPONSORS_TOPDIR = ./../../sponsors Build Directives: BUILD_HOTSPOT = true BUILD_MOTIF = false BUILD_INSTALL = true BUILD_SPONSORS = false Hotspot Settings: HOTSPOT_BUILD_JOBS = Bootstrap Settings: JAVAWS_BOOTDIR = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 BOOTSTRAP J2SDK VERSION: OUTPUTDIR = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 Build Tool Settings: JDK_DEVTOOLS_DIR = UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOZILLA_HEADERS_PATH = ../src/plugin/include CC_VER = 4.2.1 PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/deischen/bin Build Directives: PEDANTIC = INSANE = Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 OS_VERSION = 7.0-STABLE FREE_SPACE = 74761436 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = w -- JDK_BUILD_NUMBER=b00 BUILD_NUMBER=root_11_mar_2008_18_22 MILESTONE=p8 ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 CONTROL_TOPDIR_NAME=control CONTROL_TOPDIR=/opt/FreeBSD/src/ports/java/jdk15/work/control EXTERNALSANITYCONTROL=true SHELL = /bin/sh Target Build Versions: JAVAWS_VERSION = 1.5.0_14 MILESTONE = p8 BUILD_NUMBER = root_11_mar_2008_18_22 Bootstrap Settings: BOOTDIR = /usr/local/jdk1.5.0 BOOTSTRAP J2SDK VERSION: 1.5.0_11-p5 OUTPUTDIR = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586 Build Tool Settings: JDK_DEVTOOLS_DIR = UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/local CC_VER = 4.2.1 ZIP_VER = 2.32 PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/deischen/bin TMPDIR = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/tmp Build Directives: USE_ONLY_BOOTDIR_TOOLS = USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = J2RE_ONLY = NO_DOCS = NO_IMAGES = TOOLS_ONLY = INSANE = PARALLEL_COMPILES = false PARALLEL_COMPILE_JOBS = 2 FASTDEBUG = false INCREMENTAL_BUILD = false Build Platform Settings: PLATFORM = bsd ARCH = i586 LIBARCH = i386 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 32 TRUE_PLATFORM = FreeBSD OS_VERSION = 7.0-STABLE FREE_SPACE = 74762400 GNU Make Settings: MAKE = gmake MAKE VERSION = MAKECMDGOALS = sanity MAKEFLAGS = SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.5.0_14 MILESTONE = p8 BUILD_NUMBER = root_11_mar_2008_18_22 External File/Binary Locations: HOTSPOT_SERVER_PATH = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server HOTSPOT_CLIENT_PATH = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client HOTSPOT_IMPORT_PATH = /opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import MOTIF_DIR = /usr/local CACERTS_FILE = ./../src/share/lib/security/cacerts No setting required for Unix Systems WARNING: Your are not building SPONSORS workspace from the control build. This will result in a development-only build of the J2SE workspace, lacking the installation bundles WARNING: Your FreeBSD installation is not valid for building a the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*. Your release is 7.0-STABLE Sanity check passed. /bin/mkdir -p ../build/bsd-i586/hotspot-i586/tmp (cd ./../build/bsd-i586/hotspot-i586/tmp; \ gmake -f /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.5.0_14-p8-root_11_mar_2008_18_22 GAMMADIR=/opt/FreeBSD/src/ports/java/jdk15/work/hotspot ; ) gmake[1]: Entering directory `/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp' if [ `/usr/local/jdk1.5.0/bin/java -fullversion 2>&1 | grep -c '1\.[4567]'` -eq 0 ] ; then \ /usr/local/jdk1.5.0/bin/java -version; \ echo "*** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build"; \ exit 1; \ fi sh /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /opt/FreeBSD/src/ports/java/jdk15/work/hotspot bsd i486 (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Removing ../generated/includeDB.current to force regeneration. cd ../generated; cat /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_core /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_gc /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_parallelScavenge /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/gc_implementation/includeDB_gc_shared /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_ci /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/src/share/vm/includeDB_compiler2 > includeDB cd ../generated; if [ ! -r incls ] ; then \ mkdir incls ; \ fi cd ../generated; /usr/local/jdk1.5.0/bin/java -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /opt/FreeBSD/src/ports/java/jdk15/work/hotspot/build/bsd/platform_i486 includeDB Old database: computing closures New database: reading database: includeDB java.lang.NullPointerException gmake[2]: *** [../generated/includeDB.current] Error 1 gmake[2]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp' gmake: *** [product] Error 2 *** Error code 2 From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 22:37:23 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1C5C1065671 for ; Tue, 11 Mar 2008 22:37:23 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id 64BB58FC1D for ; Tue, 11 Mar 2008 22:37:23 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=guido.klop.ws) by smtp-out1.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1JZD61-0002qs-SI for ; Tue, 11 Mar 2008 23:37:21 +0100 Received: (qmail 4434 invoked from network); 11 Mar 2008 22:37:18 -0000 Received: from localhost (HELO guido.klop.ws) (127.0.0.1) by localhost with SMTP; 11 Mar 2008 22:37:18 -0000 Date: Tue, 11 Mar 2008 23:37:17 +0100 To: ken , mbowie@buzmo.com From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080309.212020.1678758621.ken@tydfam.jp> <20080311.122809.-345485952.ken@tydfam.jp> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080311.122809.-345485952.ken@tydfam.jp> User-Agent: Opera Mail/9.26 (FreeBSD) Cc: freebsd-eclipse@freebsd.org, glewis@eyebeyond.com, freebsd-java@freebsd.org Subject: Re: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 22:37:23 -0000 On Tue, 11 Mar 2008 04:28:09 +0100, ken wrote: > My appology, Mike. > I found that I made a mistake and brought in a lot of bugs relating to > minor versioning of plugins with eclipse-devel332.tgz. > > Please pick up newer one from > http://www.tydfam.jp/eclipse-devel332.tgz and give a try. I checked it > with amd64/jdk15 and it is seemingly OK. Is it possible to install this next to the current eclipse-devel? That would be easy for testing and still having the possibility to switch back fast if something doesn't work. Ronald. -- Ronald Klop Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Tue Mar 11 23:12:58 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E51F41065671; Tue, 11 Mar 2008 23:12:58 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mail1.intricatesoftware.com (cl-18.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:11::2]) by mx1.freebsd.org (Postfix) with ESMTP id 73A3F8FC19; Tue, 11 Mar 2008 23:12:58 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.14.1/8.13.4) with ESMTP id m2BNCoiX002881; Tue, 11 Mar 2008 19:12:50 -0400 (EDT) Received: from seraph.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.1/8.14.1) with ESMTP id m2BNCnb5013435; Tue, 11 Mar 2008 19:12:49 -0400 (EDT) Received: (from truk@localhost) by seraph.intricatesoftware.com (8.14.1/8.14.1/Submit) id m2BNCnbc026845; Tue, 11 Mar 2008 19:12:49 -0400 (EDT) X-Authentication-Warning: seraph.intricatesoftware.com: truk set sender to kurt@intricatesoftware.com using -f From: Kurt Miller To: freebsd-java@freebsd.org, Daniel Eischen Date: Tue, 11 Mar 2008 18:12:47 -0500 User-Agent: KMail/1.9.7 References: <20080309220029.GB93340@llama.fishballoon.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803111912.48601.kurt@intricatesoftware.com> X-SMTP-Vilter-Version: 1.3.6 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,BAYES_00 X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -4.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.9 X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: Scott Mitchell Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 23:12:59 -0000 On Tuesday 11 March 2008 6:31:01 pm Daniel Eischen wrote: > On Tue, 11 Mar 2008, Daniel Eischen wrote: > > > On Mon, 10 Mar 2008, Kurt Miller wrote: > > > >> Hi Daniel, > >> > >> Hmm, well I'm perplexed then. I can't see why > >> work/control/build/bsd-i586/bin/java isn't recording the NEEDED on > >> libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double > >> -pthread is the culprit. Can you experiment on 7.0 to see if they are > >> involved at all? > > > > I'm sorry, this (jdk16) doesn't even come close to building > > on 7.0 using native jdk15. It fails right at the get-go. > > See http://people.freebsd.org/~deischen/jdk16.build.log. > > > Even trying to build jdk15 (1.5.0.14, patchset 8) fails > when using jdk15 (1.5.0.11, patchset 4) as the native > bootstrap: Ugh. When it rains it pours I guess.... There have been reports of people building the jdks on 7.X using diablo to bootstrap their builds. Hopefully that will work for you. -Kurt From owner-freebsd-java@FreeBSD.ORG Wed Mar 12 04:49:13 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F09F11065672; Wed, 12 Mar 2008 04:49:13 +0000 (UTC) (envelope-from mbowie@buzmo.com) Received: from mail136.messagelabs.com (mail136.messagelabs.com [216.82.249.3]) by mx1.freebsd.org (Postfix) with ESMTP id 87BBE8FC17; Wed, 12 Mar 2008 04:49:13 +0000 (UTC) (envelope-from mbowie@buzmo.com) X-VirusChecked: Checked X-Env-Sender: mbowie@buzmo.com X-Msg-Ref: server-14.tower-136.messagelabs.com!1205297352!8542232!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [69.12.11.77] Received: (qmail 13088 invoked from network); 12 Mar 2008 04:49:12 -0000 Received: from smtp1.dfw.fabriclabs.com (HELO smtp1.dfw.fabriclabs.com) (69.12.11.77) by server-14.tower-136.messagelabs.com with AES256-SHA encrypted SMTP; 12 Mar 2008 04:49:12 -0000 Received: from [192.168.10.111] (adsl-70-141-208-222.dsl.irvnca.sbcglobal.net [70.141.208.222]) (authenticated bits=0) by smtp1.dfw.fabriclabs.com (8.13.7/8.13.6) with ESMTP id m2C4n42c081328; Tue, 11 Mar 2008 23:49:05 -0500 (CDT) (envelope-from mbowie@buzmo.com) Message-ID: <47D760C3.5010004@buzmo.com> Date: Tue, 11 Mar 2008 21:49:07 -0700 From: Mike Bowie User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: ken References: <20080309.212020.1678758621.ken@tydfam.jp> <20080311.122809.-345485952.ken@tydfam.jp> In-Reply-To: <20080311.122809.-345485952.ken@tydfam.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ronald-freebsd8@klop.yi.org, freebsd-java@freebsd.org, glewis@eyebeyond.com, freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 04:49:14 -0000 ken wrote: > My appology, Mike. > I found that I made a mistake and brought in a lot of bugs relating to minor versioning of plugins with eclipse-devel332.tgz. > > Please pick up newer one from http://www.tydfam.jp/eclipse-devel332.tgz and give a try. I checked it with amd64/jdk15 and it is seemingly OK. > > Checking the implementation after 400 miles drive did not work... > > Sorry for your incovenience. Hey Ken, Sorry for the delay. I just got around to building it on my home machine today and it looks good thus far. I'll install my "usual" plugins etc tomorrow night and report back if I have any problems. Cheers, Mike. From owner-freebsd-java@FreeBSD.ORG Wed Mar 12 18:25:36 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E279D106566B for ; Wed, 12 Mar 2008 18:25:36 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [213.239.213.48]) by mx1.freebsd.org (Postfix) with ESMTP id A95AD8FC36 for ; Wed, 12 Mar 2008 18:25:36 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id D2A7A17019 for ; Wed, 12 Mar 2008 19:09:26 +0100 (CET) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 7E9C9496; Wed, 12 Mar 2008 19:09:26 +0100 (CET) To: freebsd-java@freebsd.org References: <20080309220029.GB93340@llama.fishballoon.org> <200803111912.48601.kurt@intricatesoftware.com> From: Christian Laursen Date: Wed, 12 Mar 2008 19:09:26 +0100 In-Reply-To: <200803111912.48601.kurt@intricatesoftware.com> (Kurt Miller's message of "Tue\, 11 Mar 2008 18\:12\:47 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-java@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 18:25:37 -0000 Kurt Miller writes: > There have been reports of people building the jdks on 7.X using diablo to > bootstrap their builds. Hopefully that will work for you. I have successfully built jdk16 bootstrapped with diablo-jdk15. I don't recall any problems doing that. [xi@andorian ~]$ uname -a; java -version FreeBSD andorian.borderworlds.dk 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #6: Mon Mar 10 21:45:36 CET 2008 root@andorian.borderworlds.dk:/usr/obj/usr/src/sys/ANDORIAN i386 java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_09_mar_2008_13_43-b00) Java HotSpot(TM) Client VM (build 1.6.0_03-p4-root_09_mar_2008_13_43-b00, mixed mode) -- Christian Laursen From owner-freebsd-java@FreeBSD.ORG Thu Mar 13 13:41:33 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7AD106566C for ; Thu, 13 Mar 2008 13:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1558FC1E for ; Thu, 13 Mar 2008 13:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JZnQT-00023e-Th for freebsd-java@freebsd.org; Thu, 13 Mar 2008 06:24:53 -0700 Message-ID: <16025217.post@talk.nabble.com> Date: Thu, 13 Mar 2008 06:24:53 -0700 (PDT) From: Vadim Voituk To: freebsd-java@freebsd.org In-Reply-To: <47B91CB4.2090501@rochester.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: voituk@ukr.net References: <47B91CB4.2090501@rochester.rr.com> Subject: Re: Compile error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 13:41:33 -0000 Have you solved this problem? How? Eduard Martinescu wrote: > > I'm trying to get the latest version of jdk 1.6 compiled/installed on my > FreeBSD system, but I'm running into a compile error while building the > port. > Last few lines included below, and I think it is tied to the problem > with the 'ls' command. > > Is it just a problem because I'm running an old version of FreeBSD? > > FreeBSD domain.crafts4life.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun > May 8 10:21:06 UTC 2005 > root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > [ > > > hare/vm/prims/jvmtiEnv.cpp ../generated/jvmtifiles/jvmtiEnvStub.cpp > ../generated/jvmtifiles/jvmtiEnvRecommended.cpp > Generating ../generated/jvmtifiles/jvmti.h > /usr/local/diablo-jdk1.5.0/bin/java -classpath ../generated/jvmtifiles > jvmtiGen -IN > /usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmti.xml -XSL > /usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmtiH.xsl -OUT > ../generated/jvmtifiles/jvmti.h > gmake[5]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > /bin/ls: Argument list too long > gmake[5]: Entering directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > if [ -d /usr/ports/java/jdk16/work/hotspot/agent -a "i486" != "ia64" ] ; > then \ > gmake -f sa.make ../generated/sa-jdi.jar; \ > fi > /bin/ls: Argument list too long > gmake[6]: Entering directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > if [ "/usr/local/diablo-jdk1.5.0" = "" ]; then \ > echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build > SA"; \ > exit 1; \ > fi > echo "Making ../generated/sa-jdi.jar" > Making ../generated/sa-jdi.jar > if [ ! -d ../generated/saclasses ] ; then \ > mkdir -p ../generated/saclasses; \ > fi > /usr/local/diablo-jdk1.5.0/bin/javac -source 1.4 -classpath > /usr/local/diablo-jdk1.5.0/lib/tools.jar -g -d ../generated/saclasses > javac: no source files > Usage: javac > where possible options include: > -g Generate all debugging info > -g:none Generate no debugging info > -g:{lines,vars,source} Generate only some debugging info > -nowarn Generate no warnings > -verbose Output messages about what the compiler is > doing > -deprecation Output source locations where deprecated > APIs are used > -classpath Specify where to find user class files > -cp Specify where to find user class files > -sourcepath Specify where to find input source files > -bootclasspath Override location of bootstrap class files > -extdirs Override location of installed extensions > -endorseddirs Override location of endorsed standards path > -d Specify where to place generated class files > -encoding Specify character encoding used by source > files > -source Provide source compatibility with > specified release > -target Generate class files for specific VM version > -version Version information > -help Print a synopsis of standard options > -X Print a synopsis of nonstandard options > -J Pass directly to the runtime system > > gmake[6]: *** [../generated/sa-jdi.jar] Error 2 > gmake[6]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > gmake[5]: *** [all] Error 2 > gmake[5]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > gmake[4]: *** [sa_stuff] Error 2 > gmake[4]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > gmake[3]: *** [product] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > gmake[2]: *** [generic_build2] Error 2 > gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' > gmake[1]: *** [product] Error 2 > gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' > gmake: *** [hotspot-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Compile-error-tp15539778p16025217.html Sent from the freebsd-java mailing list archive at Nabble.com. From owner-freebsd-java@FreeBSD.ORG Thu Mar 13 22:09:01 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30E91065672 for ; Thu, 13 Mar 2008 22:09:01 +0000 (UTC) (envelope-from mbowie@buzmo.com) Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by mx1.freebsd.org (Postfix) with ESMTP id 5868D8FC1F for ; Thu, 13 Mar 2008 22:09:01 +0000 (UTC) (envelope-from mbowie@buzmo.com) X-VirusChecked: Checked X-Env-Sender: mbowie@buzmo.com X-Msg-Ref: server-13.tower-138.messagelabs.com!1205446139!26144127!1 X-StarScan-Version: 5.5.12.14.2; banners=-,-,- X-Originating-IP: [69.12.11.76] Received: (qmail 10635 invoked from network); 13 Mar 2008 22:09:00 -0000 Received: from smtp0.dfw.fabriclabs.com (HELO smtp0.dfw.fabriclabs.com) (69.12.11.76) by server-13.tower-138.messagelabs.com with AES256-SHA encrypted SMTP; 13 Mar 2008 22:09:00 -0000 Received: from mickey.la.buzmo.com (nat.strongaero.com [64.81.41.58]) (authenticated bits=0) by smtp0.dfw.fabriclabs.com (8.13.7/8.13.6) with ESMTP id m2DM5nAO077252; Thu, 13 Mar 2008 17:05:50 -0500 (CDT) (envelope-from mbowie@buzmo.com) Message-ID: <47D9A49A.6050600@buzmo.com> Date: Thu, 13 Mar 2008 15:03:06 -0700 From: Mike Bowie User-Agent: Thunderbird 2.0.0.6 (X11/20071002) MIME-Version: 1.0 To: ken References: <20080309.212020.1678758621.ken@tydfam.jp> <20080311.122809.-345485952.ken@tydfam.jp> In-Reply-To: <20080311.122809.-345485952.ken@tydfam.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 22:09:01 -0000 ken wrote: > My appology, Mike. > I found that I made a mistake and brought in a lot of bugs relating to minor versioning of plugins with eclipse-devel332.tgz. > > Please pick up newer one from http://www.tydfam.jp/eclipse-devel332.tgz and give a try. I checked it with amd64/jdk15 and it is seemingly OK. > > Checking the implementation after 400 miles drive did not work... > > Sorry for your incovenience. > Ket et al, I've been using Ken's 3.2.2 build for a couple of days now under 6.2-RELEASE with no complaints. Will report on my 7.0-RELEASE experiences once I get time to update my machine @ home from an old -SNAPSHOT. As always, nice work Ken! Mike. From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 02:28:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DD1F106566C; Fri, 14 Mar 2008 02:28:17 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0FC8FC1A; Fri, 14 Mar 2008 02:28:16 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id m2E2Rj2S051314; Fri, 14 Mar 2008 11:27:45 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Fri, 14 Mar 2008 11:27:46 +0900 (JST) Message-Id: <20080314.112746.1678760854.ken@tydfam.jp> To: mbowie@buzmo.com From: ken In-Reply-To: <47D9A49A.6050600@buzmo.com> References: <20080309.212020.1678758621.ken@tydfam.jp> <20080311.122809.-345485952.ken@tydfam.jp> <47D9A49A.6050600@buzmo.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92/6226/Fri Mar 14 10:36:11 2008 on daemon.sub.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=9.5 tests=ALL_TRUSTED autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Cc: freebsd-java@freebsd.org, freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel 3.3.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 02:28:17 -0000 Thank you Mike for your report. Apart from 3.3.2, "JBossTool" is reported to have some problem with new wtp 2.0.1(?), and it does not work correctly at my environment. I have to check if I can downgrade wtp and make it work with 3.3.2. Others looks OK so far. From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 03:48:53 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 031DA106566B for ; Fri, 14 Mar 2008 03:48:53 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 950238FC18 for ; Fri, 14 Mar 2008 03:48:52 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m2E3md6S026087; Thu, 13 Mar 2008 23:48:39 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Thu, 13 Mar 2008 23:48:39 -0400 (EDT) Date: Thu, 13 Mar 2008 23:48:39 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kurt Miller In-Reply-To: <47D5FAEF.3080900@intricatesoftware.com> Message-ID: References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 03:48:53 -0000 On Mon, 10 Mar 2008, Kurt Miller wrote: > Daniel Eischen wrote: > >> On Mon, 10 Mar 2008, Kurt Miller wrote: >> >>> Weird. It seems like gcc(1)/ld(1) has changed the way -pthread is >>> handled. In 6.X >>> and below it will record a NEEDED entry for libpthread even if the >>> executable >>> doesn't reference any pthread symbols. I suspect that in 7.X if the >>> executable >>> doesn't reference any pthread symbols it wont record the NEEDED entry. >> >> No, for binaries it works the same way on 7.x as 6.x. >> >> $ gcc -o k k.c -pthread >> $ ldd k >> k: >> libthr.so.3 => /lib/libthr.so.3 (0x2807c000) >> libc.so.7 => /lib/libc.so.7 (0x2808f000) >> >> I believe that -pthread does now act differently in 7.0+ when used >> to build shared libraries. Prior to 7.0, using -pthread to build >> shared libraries would not record a dependency on libpthread, >> whereas in 7.0+ it will record a dependency. >> >> Other than that, the only change in 7.0 is that libthr is now the >> default instead of libkse (nee libpthread). >> > > Hi Daniel, > > Hmm, well I'm perplexed then. I can't see why > work/control/build/bsd-i586/bin/java isn't recording the NEEDED on > libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double > -pthread is the culprit. Can you experiment on 7.0 to see if they are > involved at all? I was able to get jdk16 built on 7.0. Previously (unsuccessfully), I was trying to use jdk-1.5.0.11p5,1 to build jdk16. When that didn't work, I installed jdk-1.5.0.13p7_4,1 from a package that I had built on another box. So using jdk-1.5.0.13p7_4,1, I was able to build jdk-1.6.0.3p4. I also used the same package (jdk-1.5.0.13p7_4,1) to update jdk15 to the latest patchset (jdk-1.5.0.14p8,1). So now the latest patchset of both jdk15 and jdk16 have been built using jdk-1.5.0.13p7_4,1. I have not tried to rebuild either jdk15 or jdk16 using either of the up-to-date jdks. BTW, this was all done manually (cd /usr/ports/java/jdk1X; make; make install). portupgrade wanted to install compat6x and diablo for no apparent reason, when there was already a perfectly good native jdk installed. BTW2, the build of jdk16 was a lot faster than that of jdk15, which surprised me. -- DE From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 08:50:02 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43861065673 for ; Fri, 14 Mar 2008 08:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF18F8FC1D for ; Fri, 14 Mar 2008 08:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2E8o2XW092392 for ; Fri, 14 Mar 2008 08:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2E8o2ul092391; Fri, 14 Mar 2008 08:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2008 08:50:02 GMT Resent-Message-Id: <200803140850.m2E8o2ul092391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anders Nordby Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E3FC1065674 for ; Fri, 14 Mar 2008 08:41:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 59D558FC1C for ; Fri, 14 Mar 2008 08:41:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2E8cDI4077999 for ; Fri, 14 Mar 2008 08:38:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2E8cDcW077998; Fri, 14 Mar 2008 08:38:13 GMT (envelope-from nobody) Message-Id: <200803140838.m2E8cDcW077998@www.freebsd.org> Date: Fri, 14 Mar 2008 08:38:13 GMT From: Anders Nordby To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/121692: Java 1.5 1.5.0.14p8 crashes in RMI TCP Connection daemon thread X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 08:50:02 -0000 >Number: 121692 >Category: java >Synopsis: Java 1.5 1.5.0.14p8 crashes in RMI TCP Connection daemon thread >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 08:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: 7.0-RELEASE with SCHED_ULE >Organization: Aftenposten AS >Environment: FreeBSD muletest.aftenposten.no 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 11 14:09:21 CET 2008 root@vm1.aftenposten.no:/usr/obj/usr/src/sys/VM1 amd64 >Description: When starting Apache ActiveMQ 4.1.1 (see http://activemq.apache.org/), I get this error message: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x0000000804c73697, pid=24591, tid=0x2eb19570 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_14-p8-root_17_feb_2008_14_35 mixed mode) # Problematic frame: # [error occurred during error reporting, step 60, id 0xb] # An error report file with more information is saved as hs_err_pid24591.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list The file hs_err_pid24591.log contains: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x0000000804c73697, pid=24591, tid=0x2eb19570 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_14-p8-root_17_feb_2008_14_35 mixed mode) # Problematic frame: # [error occurred during error reporting, step 60, id 0xb] --------------- T H R E A D --------------- Current thread (0x000000082eb0a000): JavaThread "RMI TCP Connection(6)-10.4.0.151" daemon [_thread_in_Java, id=783390064] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00007ffefffffff0 Registers: RAX=0x00000003ff167000, RBX=0x000000080809cb08, RCX=0x0000000800942f8c, RDX=0x0000000000000001 RSP=0x00007ffffcdcf300, RBP=0x00007fff00000000, RSI=0x0000000000000002, RDI=0x00007ffffcdcf2f0 R8 =0x0000000000000000, R9 =0x00007ffffcdcf2e8, R10=0xffffffffb61fcaf8, R11=0x0000000000000206 R12=0x0000000804c73520, R13=0x000000080809cb08, R14=0x00007ffffcdcf388, R15=0x000000082eb0a000 RIP=0x0000000804c73697, EFL=0x000000000000000c, ERR=0x0000000000000004 TRAPNO=0x000000000000000c Top of Stack: (sp=0x00007ffffcdcf300) 0x00007ffffcdcf300: 000000003f400000 0000000804c733e1 0x00007ffffcdcf310: 00000003ff167000 0000000804c73542 0x00007ffffcdcf320: 00007ffffcdcf330 0000000800ecfc13 0x00007ffffcdcf330: 00007ffffcdcf330 000000080809cb08 0x00007ffffcdcf340: 00007ffffcdcf388 000000080809def0 0x00007ffffcdcf350: 0000000000000000 000000080809cb08 0x00007ffffcdcf360: 00007ffffcdcf388 00007ffffcdcf3f0 0x00007ffffcdcf370: 0000000804c67329 0000000000000000 0x00007ffffcdcf380: 0000000804c70497 000000080d23b2b0 0x00007ffffcdcf390: 0000000800001f80 0000000000000001 0x00007ffffcdcf3a0: 00007ffffcdcf620 00007ffffcdcf6b0 0x00007ffffcdcf3b0: 000000082eb0a000 000000082e45a8a0 0x00007ffffcdcf3c0: 00007ffffcdcf440 00007ffffcdcf6b8 0x00007ffffcdcf3d0: 000000080000000b 000000080809cb08 0x00007ffffcdcf3e0: 0000000804c73240 00007ffffcdcf628 0x00007ffffcdcf3f0: 00007ffffcdcf4f0 0000000800fa30c8 0x00007ffffcdcf400: 0000000800000001 000000082eb0a000 0x00007ffffcdcf410: 00007ffffcdcf490 00007ffffcdcf440 0x00007ffffcdcf420: 000000082eb0a000 0000000804c73240 0x00007ffffcdcf430: 0000000b2e45a888 0000000804c672a9 0x00007ffffcdcf440: 000000082eb0a000 0000000830102b20 0x00007ffffcdcf450: 000000080809cb08 000000080d23b2b0 0x00007ffffcdcf460: 00007ffffcdcf810 0000000804c73520 0x00007ffffcdcf470: 0000000000000000 0000000800000000 0x00007ffffcdcf480: 00007ffffcdcf860 00007ffffcdcf6b0 0x00007ffffcdcf490: 000000082eb0a000 000000082eb13110 0x00007ffffcdcf4a0: 000000082e45a800 000000082e45a8a8 0x00007ffffcdcf4b0: 000000082e45abe8 00007ffffcdd01a0 0x00007ffffcdcf4c0: 000000082e45a888 0000000000000001 0x00007ffffcdcf4d0: 00007ffffcdcf6b0 000000082e45a848 0x00007ffffcdcf4e0: 000000082e45a868 000000082eb0a000 0x00007ffffcdcf4f0: 00007ffffcdcf510 0000000800fa2138 Instructions: (pc=0x0000000804c73697) 0x0000000804c73687: 8b 4c 24 70 48 8b 44 24 78 48 81 c4 80 00 00 00 0x0000000804c73697: 48 8b 5d f0 4c 8b 6b 10 4d 8d 6d 48 49 81 7f 08 Stack: [0x00007ffffccd1000,0x00007ffffcdd1000), sp=0x00007ffffcdcf300, free space=1016k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) [error occurred during error reporting, step 120, id 0xb] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000000082eb0a400 JavaThread "RMI TCP Connection(7)-10.4.0.151" daemon [_thread_blocked, id=783390432] =>0x000000082eb0a000 JavaThread "RMI TCP Connection(6)-10.4.0.151" daemon [_thread_in_Java, id=783390064] 0x000000082eb09800 JavaThread "RMI TCP Connection(5)-10.4.0.151" daemon [_thread_in_native, id=783389696] 0x000000082ea11400 JavaThread "JMX server connection timeout 44" daemon [_thread_blocked, id=782356768] 0x000000082eb09400 JavaThread "RMI TCP Connection(4)-10.4.0.151" daemon [_thread_in_native, id=783389328] 0x000000083020f400 JavaThread "RMI TCP Connection(3)-10.4.0.151" daemon [_thread_in_native, id=807506576] 0x000000083010f400 JavaThread "Journal checkpoint worker" daemon [_thread_blocked, id=807506208] 0x000000082e108c00 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=808555520] 0x000000082e108400 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=783388960] 0x000000082d61b800 JavaThread "ActiveMQ Transport: tcp:///192.168.120.65:54603" daemon [_thread_in_native, id=802308752] 0x000000082d61b400 JavaThread "ActiveMQ Connection Dispatcher: 692200324" daemon [_thread_blocked, id=11547184] 0x000000082f7a7800 JavaThread "MulticastDiscovery: null" daemon [_thread_in_native, id=11551600] 0x000000082f7a7000 JavaThread "ActiveMQ Transport Status Monitor: stomp" daemon [_thread_blocked, id=11551232] 0x000000082f7a6c00 JavaThread "ActiveMQ Transport Server: stomp://localhost:61613" daemon [_thread_in_native, id=11550864] 0x000000082f7a6800 JavaThread "ActiveMQ Transport Status Monitor: ssl" daemon [_thread_blocked, id=11550496] 0x000000082f7a5000 JavaThread "ActiveMQ Transport Server: ssl://localhost:61617" daemon [_thread_in_native, id=11550128] 0x000000082f7a6000 JavaThread "ActiveMQ Transport Status Monitor: openwire" daemon [_thread_blocked, id=11549760] 0x000000082f7a5c00 JavaThread "MulticastDiscovery: tcp://muletest.aftenposten.no:61616" daemon [_thread_in_native, id=11549392] 0x000000082f7a5800 JavaThread "ActiveMQ Transport Server: tcp://localhost:61616" daemon [_thread_in_native, id=11549024] 0x000000082f7a5400 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=11548656] 0x000000082f7a4400 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=11547920] 0x0000000830b0f400 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=816943392] 0x000000082fd10000 JavaThread "RMI RenewClean-[192.168.120.65:54952]" daemon [_thread_blocked, id=802308384] 0x000000082f7a4800 JavaThread "derby.antiGC" daemon [_thread_blocked, id=11547552] 0x0000000830307800 JavaThread "GC Daemon" daemon [_thread_blocked, id=808555152] 0x0000000830307400 JavaThread "RMI Reaper" [_thread_blocked, id=808554784] 0x000000082dd38c00 JavaThread "RMI TCP Accept-1099" daemon [_thread_in_native, id=11546816] 0x000000082dd38800 JavaThread "ActiveMQ Journal Checkpoint Worker" daemon [_thread_blocked, id=11546448] 0x000000082dd36400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=11545712] 0x000000082dd36000 JavaThread "Timer-0" daemon [_thread_blocked, id=11545344] 0x000000082dd34c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11544976] 0x000000082dd34000 JavaThread "CompilerThread1" daemon [_thread_in_native, id=11544608] 0x000000082dd33400 JavaThread "CompilerThread0" daemon [_thread_in_native, id=11544240] 0x000000082dd32800 JavaThread "AdapterThread" daemon [_thread_blocked, id=11543872] 0x000000082dd31c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11543504] 0x000000082dd31400 JavaThread "Finalizer" daemon [_thread_blocked, id=11543136] 0x0000000800b32c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=11542768] 0x0000000800b2bc00 JavaThread "main" [_thread_blocked, id=11538720] Other Threads: 0x0000000800b197b0 VMThread [id=11542400] 0x0000000800b198c0 WatcherThread [id=11546080] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 16960K, used 11775K [0x0000000822690000, 0x0000000823e40000, 0x000000082d130000) eden space 15680K, 67% used [0x0000000822690000,0x00000008230d6d70,0x00000008235e0000) from space 1280K, 97% used [0x00000008235e0000,0x0000000823719088,0x0000000823720000) to space 2176K, 0% used [0x0000000823c20000,0x0000000823c20000,0x0000000823e40000) PSOldGen total 5120K, used 3731K [0x000000080d130000, 0x000000080d630000, 0x0000000822690000) object space 5120K, 72% used [0x000000080d130000,0x000000080d4d4c18,0x000000080d630000) PSPermGen total 24704K, used 24662K [0x0000000807d30000, 0x0000000809550000, 0x000000080d130000) object space 24704K, 99% used [0x0000000807d30000,0x0000000809545978,0x0000000809550000) Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java 0x000000080063b000 /lib/libz.so.4 0x000000080074f000 /lib/libthr.so.3 0x0000000800865000 /lib/libc.so.7 0x0000000800c00000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so 0x00000008014f9000 /usr/lib/libstdc++.so.6 0x0000000801705000 /lib/libm.so.5 0x000000080181f000 /lib/libgcc_s.so.1 0x000000080192c000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so 0x0000000801a38000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so 0x0000000801b47000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so 0x0000000801c6f000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so 0x000000082e600000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so 0x000000082e712000 /usr/local/jdk1.5.0/jre/lib/amd64/libmanagement.so 0x000000082ff00000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio.so 0x0000000830800000 /usr/local/jdk1.5.0/jre/lib/amd64/librmi.so 0x0000000800509000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dderby.system.home=/home/ap/apache-activemq-4.1.1/data -Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=/home/ap/apache-activemq-4.1.1/conf/broker.ks -Djavax.net.ssl.trustStore=/home/ap/apache-activemq-4.1.1/conf/broker.ts -Dactivemq.home=/home/ap/apache-activemq-4.1.1 -Dactivemq.base=/home/ap/apache-activemq-4.1.1 java_command: /home/ap/apache-activemq-4.1.1/bin/run.jar start Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/home/ap/resin/bin:/home/ap/mule/bin:/home/ap/maven/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/ap/bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/amd64/server:/usr/local/jdk1.5.0/jre/lib/amd64:/usr/local/jdk1.5.0/jre/../lib/amd64 SHELL=/usr/local/bin/bash Signal Handlers: SIGSEGV: [libjvm.so+0x6540d0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x6540d0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x55e0c0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x55e0c0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x55e0c0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGUSR2: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGINT: [libjvm.so+0x55ff30], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x55ff30], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x55ff30], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 11 14:09:21 CET 2008 root@vm1.aftenposten.no:/usr/obj/usr/src/sys/VM1 amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 11095 CPU:total 8 em64t ht Memory: 4k page, physical 16286900k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_14-p8-root_17_feb_2008_14_35) for freebsd-amd64, built on Feb 17 2008 14:44:42 by root with gcc 4.2.1 20070719 [FreeBSD] >How-To-Repeat: Start ActiveMQ 4.1.1 with JDK 1.5.0.14p8 (built from ports/java/jdk15). >Fix: N/A >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 11:43:45 2008 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 425B31065674 for ; Fri, 14 Mar 2008 11:43:45 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB528FC21 for ; Fri, 14 Mar 2008 11:43:45 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from 189.72.153.114 (189-72-153-114.bsace702.dsl.brasiltelecom.net.br [189.72.153.114]) by goat.gigo.com (Postfix) with ESMTP id F39CDB93F for ; Fri, 14 Mar 2008 04:27:08 -0700 (PDT) Received: (qmail 58717 invoked by uid 1001); 14 Mar 2008 08:24:07 -0300 Date: 14 Mar 2008 08:24:07 -0300 Message-ID: <20080314112407.58713.qmail@exxodus.fedaykin.here> To: FreeBSD-gnats-submit@freebsd.org From: Mario Sergio Fujikawa Ferreira X-send-pr-version: 3.113 X-GNATS-Notify: Cc: java@FreeBSD.org Subject: [PATCH] java/jai: update to 1.1.3 (works on FreeBSD 7 and removes ONLY_FOR_ARCHS) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 11:43:45 -0000 >Submitter-Id: current-users >Originator: Mario Sergio Fujikawa Ferreira >Organization: >Confidential: no >Synopsis: [PATCH] java/jai: update to 1.1.3 (works on FreeBSD 7 and removes ONLY_FOR_ARCHS) >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 7.0-STABLE i386 >Environment: System: FreeBSD exxodus.fedaykin.here 7.0-STABLE FreeBSD 7.0-STABLE #35: Fri Feb 29 10:35:04 BRT 2008 >Description: - Update to 1.1.3 - No longer limitted to i386 though at expense of performance (which I neither mind nor notice since I want this to work with FreeBSD 7 and now it does) Added file(s): - files/pkg-message.in Removed file(s): - pkg-message-jre - pkg-message-libmap Port maintainer (java@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- jai-1.1.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/java/jai/Makefile /usr/home/lioux/src/myports/tmp/jai/Makefile --- /usr/ports/java/jai/Makefile 2007-05-20 08:01:32.000000000 -0300 +++ /usr/home/lioux/src/myports/tmp/jai/Makefile 2008-03-07 04:10:21.000000000 -0300 @@ -6,11 +6,10 @@ # PORTNAME= jai -PORTVERSION= 1.1.2 -PORTREVISION= 2 +PORTVERSION= 1.1.3 CATEGORIES= java graphics MASTER_SITES= # -DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-lib-linux-i586 +DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-lib MAINTAINER= java@FreeBSD.org COMMENT= High performance image processing libraries for Java @@ -19,73 +18,45 @@ JAVA_VERSION= 1.3+ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g} NO_BUILD= yes -ONLY_FOR_ARCHS= i386 + +USE_ZIP= yes +SUB_FILES= pkg-message +SUB_LIST= TARGET_DIR=${TARGET_DIR} +PKGMESSAGE= ${WRKDIR}/pkg-message RESTRICTED= "Redistribution is not permitted" -DOWNLOAD_URL= http://java.sun.com/products/java-media/jai/downloads/download-${PORTVERSION:S/./_/g}.html +DOWNLOAD_URL= http://java.sun.com/products/java-media/jai/current.html TARGET_DIR= ${JAVASHAREDIR}/${PORTNAME} -IMAGEIO_DIR= ${JAVASHAREDIR}/jai-imageio -PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} JAVA_HOME=${JAVA_HOME:S/^${PREFIX}\///} IMAGEIO_DIR=${IMAGEIO_DIR:S/^${PREFIX}\///} -PKGMESSAGE= ${WRKDIR}/pkg-message +PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} + +PORTDOCS= \ + COPYRIGHT-jai.txt \ + DISTRIBUTIONREADME-jai.txt \ + LICENSE-jai.txt \ + THIRDPARTYLICENSEREADME-jai.txt .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) -IGNORE= "You must manually fetch the \"Linux CLASSPATH Install\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again" -.endif - -.if ${JAVA_PORT_OS} == "native" -WITH_PLUGINWRAPPER= yes -RUN_DEPENDS+= ${LOCALBASE}/lib/pluginwrapper/jai.so:${PORTSDIR}/www/linuxpluginwrapper -.endif - -.if defined(NOINSTALL_IN_JRE) -PLIST_SUB+= INSTALL_IN_JRE="@comment " -.else -PLIST_SUB+= INSTALL_IN_JRE="" -.endif - -pre-install: -.if defined(NOINSTALL_IN_JRE) - @${SED} -e "s:%%TARGET_DIR%%:${TARGET_DIR}:g" ${MASTERDIR}/pkg-message-jre > ${PKGMESSAGE} -.endif -.if defined(WITH_PLUGINWRAPPER) -.if defined(NOINSTALL_IN_JRE) - @${ECHO_CMD} >> ${PKGMESSAGE} - @${SED} -e "s:%%LIBDIR%%:${TARGET_DIR}/lib:g" ${MASTERDIR}/pkg-message-libmap >> ${PKGMESSAGE} -.else - @${SED} -e "s:%%LIBDIR%%:${JAVA_HOME}/jre/lib/i386:g" ${MASTERDIR}/pkg-message-libmap > ${PKGMESSAGE} -.endif +IGNORE= "You must manually fetch from the \"Java Advanced Imaging API 1.1.3 Download Page\", the \"Java (no native acceleration)\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again" .endif do-install: - @${ECHO_MSG} -n ">> Creating destination directory..." - @${MKDIR} ${TARGET_DIR} - @${ECHO_MSG} " [DONE]" - @${ECHO_MSG} -n ">> Installing libraries..." - @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT-jai.txt ${TARGET_DIR} - @${INSTALL_DATA} ${WRKSRC}/INSTALL-jai.txt ${TARGET_DIR} - @${INSTALL_DATA} ${WRKSRC}/LICENSE-jai.txt ${TARGET_DIR} - @${INSTALL_DATA} ${WRKSRC}/README-jai.txt ${TARGET_DIR} - @${MKDIR} ${TARGET_DIR}/jar - @${INSTALL_DATA} ${WRKSRC}/lib/jai_codec.jar ${TARGET_DIR}/jar - @${INSTALL_DATA} ${WRKSRC}/lib/jai_core.jar ${TARGET_DIR}/jar - @${INSTALL_DATA} ${WRKSRC}/lib/mlibwrapper_jai.jar ${TARGET_DIR}/jar - @${MKDIR} ${TARGET_DIR}/lib - @${INSTALL_DATA} ${WRKSRC}/lib/libmlib_jai.so ${TARGET_DIR}/lib -.if !defined(NOINSTALL_IN_JRE) - @${LN} -sf ${TARGET_DIR}/jar/jai_codec.jar ${JAVA_HOME}/jre/lib/ext - @${LN} -sf ${TARGET_DIR}/jar/jai_core.jar ${JAVA_HOME}/jre/lib/ext - @${LN} -sf ${TARGET_DIR}/jar/mlibwrapper_jai.jar ${JAVA_HOME}/jre/lib/ext - @${LN} -sf ${TARGET_DIR}/lib/libmlib_jai.so ${JAVA_HOME}/jre/lib/i386 -.endif - @${ECHO_MSG} " [DONE]" +# documentation +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif +# jars + @${MKDIR} ${TARGET_DIR} + @${INSTALL_DATA} ${WRKSRC}/lib/jai_codec.jar ${TARGET_DIR} + @${INSTALL_DATA} ${WRKSRC}/lib/jai_core.jar ${TARGET_DIR} post-install: -.if defined(NOINSTALL_IN_JRE) || defined(WITH_PLUGINWRAPPER) - @${CAT} ${PKGMESSAGE} -.endif + @${CAT} ${PKGMESSAGE} .include diff -ruN --exclude=CVS /usr/ports/java/jai/distinfo /usr/home/lioux/src/myports/tmp/jai/distinfo --- /usr/ports/java/jai/distinfo 2006-01-30 09:30:46.000000000 -0200 +++ /usr/home/lioux/src/myports/tmp/jai/distinfo 2008-03-07 03:51:54.000000000 -0300 @@ -1,3 +1,3 @@ -MD5 (jai-1_1_2-lib-linux-i586.tar.gz) = 62d641d17cb5df836e7cd1ddc751546b -SHA256 (jai-1_1_2-lib-linux-i586.tar.gz) = 8b4c8abba994f7d1de24786356c05df87cf836b66fced520b7993469a31f4056 -SIZE (jai-1_1_2-lib-linux-i586.tar.gz) = 2611646 +MD5 (jai-1_1_3-lib.zip) = ca8b26b359fcb2fa2c34b77add9af808 +SHA256 (jai-1_1_3-lib.zip) = 2c7c55e14bc7721fa91b1108d68111130ce9d69e3caa7d2d2a60f6b0b0aeb752 +SIZE (jai-1_1_3-lib.zip) = 2056699 diff -ruN --exclude=CVS /usr/ports/java/jai/files/pkg-message.in /usr/home/lioux/src/myports/tmp/jai/files/pkg-message.in --- /usr/ports/java/jai/files/pkg-message.in 1969-12-31 21:00:00.000000000 -0300 +++ /usr/home/lioux/src/myports/tmp/jai/files/pkg-message.in 2008-03-07 04:10:53.000000000 -0300 @@ -0,0 +1,4 @@ +The JAI libraries are not installed in JRE, so you have to add + %%TARGET_DIR%%/jai_codec.jar + %%TARGET_DIR%%/jai_core.jar +to the CLASSPATH environment variable. diff -ruN --exclude=CVS /usr/ports/java/jai/pkg-message-jre /usr/home/lioux/src/myports/tmp/jai/pkg-message-jre --- /usr/ports/java/jai/pkg-message-jre 2004-01-11 08:48:33.000000000 -0200 +++ /usr/home/lioux/src/myports/tmp/jai/pkg-message-jre 1969-12-31 21:00:00.000000000 -0300 @@ -1,7 +0,0 @@ -The JAI libraries are not installed in JRE, so you have to add - %%TARGET_DIR%%/jar/jai_codec.jar - %%TARGET_DIR%%/jar/jai_core.jar - %%TARGET_DIR%%/jar/mlibwrapper_jai.jar -to the CLASSPATH environment variable, and add - %%TARGET_DIR%%/lib -to the LD_LIBRARY_PATH environment variable. diff -ruN --exclude=CVS /usr/ports/java/jai/pkg-message-libmap /usr/home/lioux/src/myports/tmp/jai/pkg-message-libmap --- /usr/ports/java/jai/pkg-message-libmap 2004-01-11 08:48:33.000000000 -0200 +++ /usr/home/lioux/src/myports/tmp/jai/pkg-message-libmap 1969-12-31 21:00:00.000000000 -0300 @@ -1,7 +0,0 @@ -In order to use the JAI API on FreeBSD native JavaVM, -describe as follows to your /etc/libmap.conf. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[%%LIBDIR%%/libmlib_jai.so] -libm.so.6 libm.so.2 -libc.so.6 pluginwrapper/jai.so -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -ruN --exclude=CVS /usr/ports/java/jai/pkg-plist /usr/home/lioux/src/myports/tmp/jai/pkg-plist --- /usr/ports/java/jai/pkg-plist 2004-01-11 08:48:33.000000000 -0200 +++ /usr/home/lioux/src/myports/tmp/jai/pkg-plist 2008-03-07 04:08:57.000000000 -0300 @@ -1,20 +1,3 @@ -%%T%%/COPYRIGHT-jai.txt -%%T%%/INSTALL-jai.txt -%%T%%/LICENSE-jai.txt -%%T%%/README-jai.txt -%%T%%/jar/jai_codec.jar -%%T%%/jar/jai_core.jar -%%T%%/jar/mlibwrapper_jai.jar -%%T%%/lib/libmlib_jai.so -%%INSTALL_IN_JRE%%@exec /bin/ln -sf %D/%%T%%/jar/jai_codec.jar %D/%%JAVA_HOME%%/jre/lib/ext -%%INSTALL_IN_JRE%%@exec /bin/ln -sf %D/%%T%%/jar/jai_core.jar %D/%%JAVA_HOME%%/jre/lib/ext -%%INSTALL_IN_JRE%%@exec /bin/ln -sf %D/%%T%%/jar/mlibwrapper_jai.jar %D/%%JAVA_HOME%%/jre/lib/ext -%%INSTALL_IN_JRE%%@exec /bin/ln -sf %D/%%T%%/lib/libmlib_jai.so %D/%%JAVA_HOME%%/jre/lib/i386 -%%INSTALL_IN_JRE%%@unexec /bin/rm -f %D/%%JAVA_HOME%%/jre/lib/ext/jai_codec.jar -%%INSTALL_IN_JRE%%@unexec /bin/rm -f %D/%%JAVA_HOME%%/jre/lib/ext/jai_core.jar -%%INSTALL_IN_JRE%%@unexec /bin/rm -f %D/%%JAVA_HOME%%/jre/lib/ext/mlibwrapper_jai.jar -%%INSTALL_IN_JRE%%@unexec [ ! -e %D/%%IMAGEIO_DIR%%/jar/mlibwrapper_jai.jar ] || /bin/ln -sf %D/%%IMAGEIO_DIR%%/jar/mlibwrapper_jai.jar %D/%%JAVA_HOME%%/jre/lib/ext -%%INSTALL_IN_JRE%%@unexec /bin/rm -f %D/%%JAVA_HOME%%/jre/lib/i386/libmlib_jai.so -@dirrm %%T%%/lib -@dirrm %%T%%/jar +%%T%%/jai_codec.jar +%%T%%/jai_core.jar @dirrm %%T%% --- jai-1.1.3.patch ends here --- From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 11:50:12 2008 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 939F01065675; Fri, 14 Mar 2008 11:50:12 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8127D8FC13; Fri, 14 Mar 2008 11:50:12 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2EBoCJK007079; Fri, 14 Mar 2008 11:50:12 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2EBoCAF007075; Fri, 14 Mar 2008 11:50:12 GMT (envelope-from edwin) Date: Fri, 14 Mar 2008 11:50:12 GMT Message-Id: <200803141150.m2EBoCAF007075@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/121698: [PATCH] java/jai: update to 1.1.3 (works on FreeBSD 7 and removes ONLY_FOR_ARCHS) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 11:50:12 -0000 Synopsis: [PATCH] java/jai: update to 1.1.3 (works on FreeBSD 7 and removes ONLY_FOR_ARCHS) Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Fri Mar 14 11:50:12 UTC 2008 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=121698 From owner-freebsd-java@FreeBSD.ORG Fri Mar 14 13:11:58 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D54491065671; Fri, 14 Mar 2008 13:11:58 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mail1.intricatesoftware.com (cl-18.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:11::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD228FC15; Fri, 14 Mar 2008 13:11:58 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from seraph.intricatesoftware.com (relay@localhost.intricatesoftware.com [IPv6:::1]) by mail1.intricatesoftware.com (8.14.1/8.13.4) with ESMTP id m2EDBko2014250; Fri, 14 Mar 2008 09:11:46 -0400 (EDT) Received: from seraph.intricatesoftware.com (truk@localhost.intricatesoftware.com [127.0.0.1]) by seraph.intricatesoftware.com (8.14.1/8.14.1) with ESMTP id m2EDBXMn030199; Fri, 14 Mar 2008 09:11:33 -0400 (EDT) Message-ID: <47DA7985.3040706@intricatesoftware.com> Date: Fri, 14 Mar 2008 09:11:33 -0400 From: Kurt Miller User-Agent: Thunderbird 2.0.0.12 (X11/20080228) MIME-Version: 1.0 To: Daniel Eischen References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SMTP-Vilter-Version: 1.3.6 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean X-Spamd-Symbols: ALL_TRUSTED,AWL,BAYES_00 X-SMTP-Vilter-Spam-Backend: spamd X-Spam-Score: -4.4 X-Spam-Threshold: 5.0 X-Spam-Probability: -0.9 X-SMTP-Vilter-Unwanted-Backend: attachment X-SMTP-Vilter-attachment-Unwanted-Status: clean Cc: Scott Mitchell , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 13:11:59 -0000 Daniel Eischen wrote: > On Mon, 10 Mar 2008, Kurt Miller wrote: > >> Daniel Eischen wrote: >> >>> On Mon, 10 Mar 2008, Kurt Miller wrote: >>> >>>> Weird. It seems like gcc(1)/ld(1) has changed the way -pthread is >>>> handled. In 6.X >>>> and below it will record a NEEDED entry for libpthread even if the >>>> executable >>>> doesn't reference any pthread symbols. I suspect that in 7.X if the >>>> executable >>>> doesn't reference any pthread symbols it wont record the NEEDED entry. >>> >>> No, for binaries it works the same way on 7.x as 6.x. >>> >>> $ gcc -o k k.c -pthread >>> $ ldd k >>> k: >>> libthr.so.3 => /lib/libthr.so.3 (0x2807c000) >>> libc.so.7 => /lib/libc.so.7 (0x2808f000) >>> >>> I believe that -pthread does now act differently in 7.0+ when used >>> to build shared libraries. Prior to 7.0, using -pthread to build >>> shared libraries would not record a dependency on libpthread, >>> whereas in 7.0+ it will record a dependency. >>> >>> Other than that, the only change in 7.0 is that libthr is now the >>> default instead of libkse (nee libpthread). >>> >> >> Hi Daniel, >> >> Hmm, well I'm perplexed then. I can't see why >> work/control/build/bsd-i586/bin/java isn't recording the NEEDED on >> libthr.so. Perhaps the -Wl,-soname=lib.so argument or the double >> -pthread is the culprit. Can you experiment on 7.0 to see if they are >> involved at all? > > I was able to get jdk16 built on 7.0. Previously (unsuccessfully), > I was trying to use jdk-1.5.0.11p5,1 to build jdk16. When that > didn't work, I installed jdk-1.5.0.13p7_4,1 from a package that > I had built on another box. So using jdk-1.5.0.13p7_4,1, I was > able to build jdk-1.6.0.3p4. I also used the same package > (jdk-1.5.0.13p7_4,1) to update jdk15 to the latest patchset > (jdk-1.5.0.14p8,1). So now the latest patchset of both jdk15 > and jdk16 have been built using jdk-1.5.0.13p7_4,1. I have > not tried to rebuild either jdk15 or jdk16 using either of > the up-to-date jdks. > > BTW, this was all done manually (cd /usr/ports/java/jdk1X; > make; make install). portupgrade wanted to install compat6x > and diablo for no apparent reason, when there was already > a perfectly good native jdk installed. Ok so you and others can build the jdks fine on 7.0R. I guess I'm out of ideas as to why Scott and Nicolas's systems don't record the dependency on libthr.so. > BTW2, the build of jdk16 was a lot faster than that of jdk15, > which surprised me. In 1.6 the debug portion of the build can be optionally turned off using SKIP_FASTDEBUG_BUILD="true" which is the default. In 1.5 the hotspot debug binaries are always built (although only installed if the port DEBUG option is on). -Kurt From owner-freebsd-java@FreeBSD.ORG Sat Mar 15 00:21:39 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D55106566B for ; Sat, 15 Mar 2008 00:21:39 +0000 (UTC) (envelope-from sendbounces@gmail.com) Received: from mail.netpacq.com (mail.netpacq.com [63.64.44.46]) by mx1.freebsd.org (Postfix) with ESMTP id 638C68FC18 for ; Sat, 15 Mar 2008 00:21:39 +0000 (UTC) (envelope-from sendbounces@gmail.com) Received: from send.netpacq.com ([63.64.44.185]) by mail.netpacq.com (Merak 5.9.4) with SMTP id BGA7434 for ; Fri, 14 Mar 2008 16:17:32 -0800 To: java@freebsd.org Message-ID: Date: Fri, 14 Mar 2008 16:55:31 -0700 From: "Netpacq Systems Inc." MIME-Version: 1.0 X-Mailer-LID: 25 X-Mailer-SID: 176 X-Mailer-Sent-By: 1 Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: BoatPILE.COM - Your New Boating Community X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: support@boatpile.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 00:21:39 -0000 BoatPile.com, Your New Boating Community! - Secure posting - No Registration Required - No Membership Required - No Posting Restrictions - No Google or Flashy Annoying Ads - 154 Categories - 164 Cities - Over 10,000 current postings Try WWW.BoatPile.COM now! Best Regards, Tell a Friend: http://send.netpacq.com/sendfriend.php?M=269598&N=176&L=25&C=2e4abe344701c6cadc3394b25a73de09&F=3&i=39 Edit Email Preferences: http://send.netpacq.com/modifydetails.php?M=269598&N=176&L=25&C=2e4abe344701c6cadc3394b25a73de09&F=9 Unsubscribe: http://send.netpacq.com/unsubscribe.php?M=269598&N=176&L=25&C=2e4abe344701c6cadc3394b25a73de09 From owner-freebsd-java@FreeBSD.ORG Sat Mar 15 11:48:38 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B701106564A for ; Sat, 15 Mar 2008 11:48:38 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2518FC12 for ; Sat, 15 Mar 2008 11:48:37 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080315115109.WDQ27871.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Sat, 15 Mar 2008 11:51:09 +0000 Received: from llama.fishballoon.org ([81.101.131.46]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080315114840.IPPS29112.aamtaout04-winn.ispmail.ntl.com@llama.fishballoon.org>; Sat, 15 Mar 2008 11:48:40 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]:58252) by llama.fishballoon.org with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JaUsL-0001ws-Rc; Sat, 15 Mar 2008 11:48:33 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.14.2/8.14.2/Submit) id m2FBmW4o002155; Sat, 15 Mar 2008 11:48:32 GMT (envelope-from scott) Date: Sat, 15 Mar 2008 11:48:32 +0000 From: Scott Mitchell To: Kurt Miller Message-ID: <20080315114832.GB1563@tuatara.fishballoon.org> References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> <47DA7985.3040706@intricatesoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47DA7985.3040706@intricatesoftware.com> X-Operating-System: FreeBSD 7.0-RELEASE i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Daniel Eischen , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 11:48:38 -0000 On Fri, Mar 14, 2008 at 09:11:33AM -0400, Kurt Miller wrote: > Daniel Eischen wrote: > > > > I was able to get jdk16 built on 7.0. Previously (unsuccessfully), > > I was trying to use jdk-1.5.0.11p5,1 to build jdk16. When that > > didn't work, I installed jdk-1.5.0.13p7_4,1 from a package that > > I had built on another box. So using jdk-1.5.0.13p7_4,1, I was > > able to build jdk-1.6.0.3p4. I also used the same package > > (jdk-1.5.0.13p7_4,1) to update jdk15 to the latest patchset > > (jdk-1.5.0.14p8,1). So now the latest patchset of both jdk15 > > and jdk16 have been built using jdk-1.5.0.13p7_4,1. I have > > not tried to rebuild either jdk15 or jdk16 using either of > > the up-to-date jdks. > > > > BTW, this was all done manually (cd /usr/ports/java/jdk1X; > > make; make install). portupgrade wanted to install compat6x > > and diablo for no apparent reason, when there was already > > a perfectly good native jdk installed. > > Ok so you and others can build the jdks fine on 7.0R. I guess I'm out of > ideas as to why Scott and Nicolas's systems don't record the dependency > on libthr.so. Yep, it's a mystery for sure... based on what Daniel's saying though, it might be worth me trying to build the latest jdk-1.5.0 and bootstrapping from that instead of diablo. Thanks all for your help with this. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Sat Mar 15 23:22:13 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B78181065670; Sat, 15 Mar 2008 23:22:13 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA798FC1C; Sat, 15 Mar 2008 23:22:12 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20080315232521.QPXX19530.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Sat, 15 Mar 2008 23:25:21 +0000 Received: from llama.fishballoon.org ([81.101.131.46]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20080315232525.HWDE219.aamtaout01-winn.ispmail.ntl.com@llama.fishballoon.org>; Sat, 15 Mar 2008 23:25:25 +0000 Received: from tuatara.fishballoon.org ([192.168.1.6]:52760) by llama.fishballoon.org with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JafhY-0001VU-Og; Sat, 15 Mar 2008 23:22:08 +0000 Received: (from scott@localhost) by tuatara.fishballoon.org (8.14.2/8.14.2/Submit) id m2FNM7A5033610; Sat, 15 Mar 2008 23:22:07 GMT (envelope-from scott) Date: Sat, 15 Mar 2008 23:22:07 +0000 From: Scott Mitchell To: Kurt Miller Message-ID: <20080315232207.GA1610@tuatara.fishballoon.org> References: <20080309220029.GB93340@llama.fishballoon.org> <200803100932.37017.lists@intricatesoftware.com> <20080310231803.GC22200@tuatara.fishballoon.org> <200803102130.02371.kurt@intricatesoftware.com> <47D5FAEF.3080900@intricatesoftware.com> <47DA7985.3040706@intricatesoftware.com> <20080315114832.GB1563@tuatara.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080315114832.GB1563@tuatara.fishballoon.org> X-Operating-System: FreeBSD 7.0-RELEASE i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Daniel Eischen , freebsd-java@freebsd.org Subject: Re: jdk16 build failure on 7.0R/i386 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 23:22:13 -0000 On Sat, Mar 15, 2008 at 11:48:32AM +0000, Scott Mitchell wrote: > On Fri, Mar 14, 2008 at 09:11:33AM -0400, Kurt Miller wrote: > > Daniel Eischen wrote: > > > > > > I was able to get jdk16 built on 7.0. Previously (unsuccessfully), > > > I was trying to use jdk-1.5.0.11p5,1 to build jdk16. When that > > > didn't work, I installed jdk-1.5.0.13p7_4,1 from a package that > > > I had built on another box. So using jdk-1.5.0.13p7_4,1, I was > > > able to build jdk-1.6.0.3p4. I also used the same package > > > (jdk-1.5.0.13p7_4,1) to update jdk15 to the latest patchset > > > (jdk-1.5.0.14p8,1). So now the latest patchset of both jdk15 > > > and jdk16 have been built using jdk-1.5.0.13p7_4,1. I have > > > not tried to rebuild either jdk15 or jdk16 using either of > > > the up-to-date jdks. > > > > > > BTW, this was all done manually (cd /usr/ports/java/jdk1X; > > > make; make install). portupgrade wanted to install compat6x > > > and diablo for no apparent reason, when there was already > > > a perfectly good native jdk installed. > > > > Ok so you and others can build the jdks fine on 7.0R. I guess I'm out of > > ideas as to why Scott and Nicolas's systems don't record the dependency > > on libthr.so. > > Yep, it's a mystery for sure... based on what Daniel's saying though, it > might be worth me trying to build the latest jdk-1.5.0 and bootstrapping > from that instead of diablo. Well, that failed in the same way as the jdk16 build. I'm starting to think there's maybe something not configured right on this machine, although it's not had any trouble building anything else since I upgraded it to 7.0 (binary upgrade using freebsd-update). I'm going to try a source upgrade to 7.0 on another box and see if I have any more luck there. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon