From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 09:14:34 2007 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 2AA9216A420 for ; Sun, 5 Aug 2007 09:14:34 +0000 (UTC) (envelope-from lists_freebsd_org@07.antispam.web-wahnsinn.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.freebsd.org (Postfix) with ESMTP id A03AE13C459 for ; Sun, 5 Aug 2007 09:14:33 +0000 (UTC) (envelope-from lists_freebsd_org@07.antispam.web-wahnsinn.de) Received: (qmail 12587 invoked from network); 5 Aug 2007 08:47:47 -0000 Received: from unknown (HELO [192.168.3.5]) (023415@[217.95.65.29]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP; 5 Aug 2007 08:47:47 -0000 From: Tobias Grosser To: freebsd-java@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain Date: Sun, 05 Aug 2007 10:47:46 +0200 Message-Id: <1186303666.36623.23.camel@tobias.wg.> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: Gcc bugs break java/jdk15 build? [Workaround] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists_freebsd_org@07.antispam.web-wahnsinn.de List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 09:14:34 -0000 Hi, since the last gcc import (Update to 4.2) I had problems to compile java/jdk15 (using linux-sun-jdk14/15 and diablo-jdk15), because often the linux-sun-jdk crashed or I got the following errors: ../../../../../src/share/classes/sun/security/util/SignatureFileVerifier.java:22: cannot find symbol symbol : class timestamp location: package sun.security import sun.security.timestamp.TimestampToken; ^ ../../../../../src/share/classes/sun/security/provider/X509Factory.java:17: cannot find symbol symbol : class certpath location: package sun.security.provider import sun.security.provider.certpath.X509CertPath; ^ ../../../../../src/share/classes/sun/security/provider/X509Factory.java:18: cannot find symbol symbol : class certpath location: package sun.security.provider import sun.security.provider.certpath.X509CertificatePair; ^ ../../../../../src/share/classes/java/security/Signature.java:21: cannot find symbol symbol : class crypto location: package javax import javax.crypto.Cipher; ^ ../../../../../src/share/classes/java/security/Signature.java:22: cannot find symbol symbol : class crypto location: package javax import javax.crypto.CipherSpi; ^ ../../../../../src/share/classes/java/security/Signature.java:23: cannot find symbol symbol : class crypto location: package javax import javax.crypto.IllegalBlockSizeException; ^ ../../../../../src/share/classes/java/security/Signature.java:24: cannot find symbol symbol : class crypto location: package javax import javax.crypto.BadPaddingException; ^ ../../../../../src/share/classes/java/security/Signature.java:25: cannot find symbol symbol : class crypto location: package javax import javax.crypto.NoSuchPaddingException; ^ ../../../../../src/share/classes/java/security/Signature.java:1179: cannot find symbol symbol : class Cipher location: class java.security.Signature.CipherAdapter private final Cipher cipher; ^ ../../../../../src/share/classes/java/security/Signature.java:1183: cannot find symbol symbol : class Cipher location: class java.security.Signature.CipherAdapter CipherAdapter(Cipher cipher) { ^ ../../../../../src/share/classes/java/lang/reflect/AccessibleObject.java:131: missing return value return override; ^ I tried the update to gcc 4.2.1 (http://people.freebsd.org/~kan/contrib-gcc421.tar.gz), but the build also breaks. (I am not sure, if it was the same error) The solution I found was to decrease optimization by replacing every occurence of "-O2" or "-O3" in the files: - ports/java/jdk15/work/j2se/make/common/Defs-bsd.gmk - ports/java/jdk15/work/hotspot/build/bsd/makefiles/gcc.make with "-O1" and bootstrap using linux-sun-jdk15. With decreased optimization the jdk15 port compiles fine. I tried to compile the jdk15 with optimization using the new compiled java/jdk15 to bootstrap, but again the compile errors from above broke the build. With decreased opimization it works again. Bye Tobias From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 12:47:49 2007 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 8643A16A417 for ; Sun, 5 Aug 2007 12:47:49 +0000 (UTC) (envelope-from ggeorgiev@synchsource.com) Received: from fbr02.csee.onr.siteprotect.com (fbr02.csee.onr.siteprotect.com [64.26.60.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7416F13C45B for ; Sun, 5 Aug 2007 12:47:49 +0000 (UTC) (envelope-from ggeorgiev@synchsource.com) Received: from smtpauth00.csee.onr.siteprotect.com (smtpauth00.csee.onr.siteprotect.com [64.26.60.144]) by fbr02.csee.onr.siteprotect.com (Postfix) with ESMTP id DDB3D3B85FA for ; Sun, 5 Aug 2007 07:21:57 -0500 (CDT) Received: from localhost (unknown [85.187.87.136]) (Authenticated sender: ggeorgiev@synchsource.com) by smtpauth00.csee.onr.siteprotect.com (Postfix) with ESMTP id 91AE875805F for ; Sun, 5 Aug 2007 07:22:04 -0500 (CDT) Date: Sun, 05 Aug 2007 15:20:15 +0300 To: freebsd-java@freebsd.org From: "Georgi Georgiev" Organization: SynchSource Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: User-Agent: Opera Mail/9.22 (FreeBSD) Subject: jdk16 port wrong distinfo 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, 05 Aug 2007 12:47:49 -0000 Hi , i guess distinfo in jdk16 port is wrong it tryes to build jdk15 cd /usr/ports/java/jdk16/ gg# cat distinfo MD5 (jdk-1_5_0_12-fcs-src-b04-jrl-02_may_2007.jar) =3D = deb204740d2f8a799ba8658c8c768ebe SHA256 (jdk-1_5_0_12-fcs-src-b04-jrl-02_may_2007.jar) =3D = 8b93abe500d58a9b2d766ded6f9041e8bc457b785e6751e0e3d1d8308ed23a3f SIZE (jdk-1_5_0_12-fcs-src-b04-jrl-02_may_2007.jar) =3D 57752561 MD5 (jdk-1_5_0_12-fcs-bin-b04-jrl-02_may_2007.jar) =3D = 80996fbf2db79d9fa4a75e17bc1f6551 SHA256 (jdk-1_5_0_12-fcs-bin-b04-jrl-02_may_2007.jar) =3D = 886c57a62f6691954269a84d4cd0a32c8d61eb4e04c4028933e0e9bfae2cf999 SIZE (jdk-1_5_0_12-fcs-bin-b04-jrl-02_may_2007.jar) =3D 2211514 MD5 (bsd-jdk15-patches-6.tar.bz2) =3D 9277d3624b9879583c1dc74c798321e2 SHA256 (bsd-jdk15-patches-6.tar.bz2) =3D = 6f9c225db85f63a0b9c41f0eab50c3e3394dbe163f6cc8d936f2afe76010cdd1 SIZE (bsd-jdk15-patches-6.tar.bz2) =3D 777561 MD5 (jce_policy-1_5_0.zip) =3D 169441bba1ca95e84e030e116f258d79 SHA256 (jce_policy-1_5_0.zip) =3D = 4de78da737c6d66b74eb6caebf6bdb0648825a95e2909e815678a0d306bf6d8b SIZE (jce_policy-1_5_0.zip) =3D 8826 MD5 (tzupdater-1_2_1-2007f.zip) =3D f2ea5ca92b89ef767488a7ffd351cb3f SHA256 (tzupdater-1_2_1-2007f.zip) =3D = 48c21fe64c9fcf8c612ea2ec5043e4bbeb37fea2e07d980d7297b130a32a29c1 SIZE (tzupdater-1_2_1-2007f.zip) =3D 258198 -- = Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 16:00:10 2007 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 7B1B116A418 for ; Sun, 5 Aug 2007 16:00:10 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 07AC713C467 for ; Sun, 5 Aug 2007 16:00:09 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so645453uge for ; Sun, 05 Aug 2007 09:00:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=slVsZGhhLKrSlvCHhUmE7zCrIpEI6G6GObkSaN/EIVImREsK6B5lHjPTM1oRvt3pBEHIlFpT/MD/9I0i7O5f5BHfoBTFU/URIqpIXo40VK6mFpKYKmvAOf+/DVQX9wgjwowhDW2/H2eVjBOxrK1xttJ8GkRoFCnji30R86iSeZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=Us+4MfuPquhrNxYJMQ1NOnl/jATxHsF5DV7kkVaHFEvLpiudgRBTum7rGA2OXD/s6noxKEWS6YfG2oeT2RxA/9F7szh/ahXj6bkeVY1Snue16RXvkY49UVJ4g5vNl3lNTBghZ5PJ23jkdNc2G/EQJIcz9MS+j4nZcsD+o8kn1lQ= Received: by 10.67.27.20 with SMTP id e20mr1662848ugj.1186328057007; Sun, 05 Aug 2007 08:34:17 -0700 (PDT) Received: from 195-241-221-201.dsl.ip.tiscali.nl ( [195.241.221.201]) by mx.google.com with ESMTPS id k7sm5077475nfh.2007.08.05.08.34.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Aug 2007 08:34:15 -0700 (PDT) Message-ID: <46B5EDF6.3020603@gmail.com> Date: Sun, 05 Aug 2007 17:34:14 +0200 From: Rene Ladan User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Greg Lewis , java@freebsd.org References: <20070803053142.GA4434@misty.eyesbeyond.com> In-Reply-To: <20070803053142.GA4434@misty.eyesbeyond.com> X-Enigmail-Version: 0.95.1 Content-Type: multipart/mixed; boundary="------------060106030301020800010500" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 05 Aug 2007 16:00:10 -0000 This is a multi-part message in MIME format. --------------060106030301020800010500 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Greg Lewis schreef: > On behalf of the BSD Java Porting team, I'm pleased to announce the > availability of Patchset 1 "Brumby" for JDK 1.6, based on the > JDK 1.6.0 JRL source code. > > As usual with the first patchset for a release, this patchset may be a > little rough around the edges. Its considered beta and shouldn't be used > in a production environment. Having said that, it feels more solid than > the first patchsets for previous JDK releases and should generally work > fairly well. > > A special note of thanks to Kurt Miller for getting HotSpot running so > smoothly for this release. > > The following platforms are supported by this release: > > FreeBSD 6.2/i386 (or later) > FreeBSD 6.2/amd64 (or later) > OpenBSD 4.0/i386 (or later) > OpenBSD 4.0/amd64 (or later) > > The patchset can be downloaded at: > > http://www.eyesbeyond.com/freebsddom/java/jdk16.html > > Please download and test the jdk16 port framework from > > http://people.freebsd.org/~glewis/jdk16.tgz > > This port will be committed following a short feedback period for testing. > I tried installing this on my i386 FreeBSD-CURRENT SMP box (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The build first failed because of GCC 4.2 warnings-as-errors about deprecated string conversions. After commenting out a -Werror in work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug server built fine, but it failed in test_gamma. I've attached the hs_err log. I know CURRENT is not supported, but jkim@ somehow managed to build it on an amd64 box. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 --------------060106030301020800010500-- From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 16:09:20 2007 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 58E5C16A41A for ; Sun, 5 Aug 2007 16:09:20 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.235]) by mx1.freebsd.org (Postfix) with ESMTP id E8BB013C48E for ; Sun, 5 Aug 2007 16:09:19 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so858710hub for ; Sun, 05 Aug 2007 09:09:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=JYEG93cLUzRQqhTT0MXtzuswZewsVFPoLTkBqFmYOzRQWghcqxVGlU7jLYVFAL5vk7F7hE7wP57tP+5YbY55i+0fEkxzO6jtnSOSC8HRSwGGR73Wbu85nvpLmNwm++svVQV/0uLRs4KNRShAwRdMyFPGPIRphD7abO6WD4nX6yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=mqnHRvJyhUwsHNA3EbhcCShL/l+04jFaPNEDZ99eTTgyUEE/EsqHnG2X26N+5AQ31K30TfaaSAb8RY1JRz84EFbagWwiroRVcw190OVnwAOHnTlOPClSul0sjDXfToWysMbzDXBBF8sFWz38emuB5kk9i0+EKcef26qLddHf4iw= Received: by 10.86.65.11 with SMTP id n11mr3751489fga.1186330158439; Sun, 05 Aug 2007 09:09:18 -0700 (PDT) Received: from 195-241-221-201.dsl.ip.tiscali.nl ( [195.241.221.201]) by mx.google.com with ESMTPS id 33sm5082041nfu.2007.08.05.09.09.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Aug 2007 09:09:17 -0700 (PDT) Message-ID: <46B5F62C.1070705@gmail.com> Date: Sun, 05 Aug 2007 18:09:16 +0200 From: Rene Ladan User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Greg Lewis , java@freebsd.org References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> In-Reply-To: <46B5EDF6.3020603@gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 05 Aug 2007 16:09:20 -0000 Rene Ladan schreef: > I tried installing this on my i386 FreeBSD-CURRENT SMP box (2007-08-04 > 06:32 UTC) using diablo-jdk15 as bootstrap. The build first failed > because of GCC 4.2 warnings-as-errors about deprecated string > conversions. After commenting out a -Werror in > work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug server > built fine, but it failed in test_gamma. I've attached the hs_err log. > The patch seems to be removed by the mailing list software (judging from the web archive, I've put a copy at http://home.tiscali.nl/rladan/freebsd/hs_err_pid90983.log Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 22:00:12 2007 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 7BAA716A41B for ; Sun, 5 Aug 2007 22:00:12 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 46ADB13C4D0 for ; Sun, 5 Aug 2007 22:00:11 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost [127.0.0.1]) by misty.eyesbeyond.com (8.13.8/8.13.8) with ESMTP id l75M06lA005029; Sun, 5 Aug 2007 16:00:08 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.8/8.13.8/Submit) id l75M02w2005028; Sun, 5 Aug 2007 16:00:02 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 5 Aug 2007 16:00:02 -0600 From: Greg Lewis To: Georgi Georgiev Message-ID: <20070805220002.GA4955@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: jdk16 port wrong distinfo 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, 05 Aug 2007 22:00:12 -0000 On Sun, Aug 05, 2007 at 03:20:15PM +0300, Georgi Georgiev wrote: > Hi , i guess distinfo in jdk16 port is wrong it tryes to build jdk15 > > cd /usr/ports/java/jdk16/ > gg# cat distinfo > MD5 (jdk-1_5_0_12-fcs-src-b04-jrl-02_may_2007.jar) = jdk16 was repo copied from jdk15 per standard procedure. The one you have is after the repo copy but before I committed the actual 1.6 bits. Please update your ports. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Aug 5 23:38:58 2007 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 361ED16A418 for ; Sun, 5 Aug 2007 23:38:58 +0000 (UTC) (envelope-from reddy@force10networks.com) Received: from mx.force10networks.com (nat-eqx.force10networks.com [69.25.56.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1F3E713C45D for ; Sun, 5 Aug 2007 23:38:57 +0000 (UTC) (envelope-from reddy@force10networks.com) Received: from EXCH-CLUSTER-03.force10networks.com ([10.11.0.53]) by mx.force10networks.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 5 Aug 2007 06:20:01 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Sun, 5 Aug 2007 06:19:57 -0700 Message-ID: <44ED058B21DF294ABE394CABE5C1B521DA5BC6@EXCH-CLUSTER-03.force10networks.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD java license.. Thread-Index: AcfWcGVM72kFXxZgSzijpRHyvv2x/gAAzAegADutetA= References: From: "Bramananda Reddy Gopalswamy" To: X-OriginalArrivalTime: 05 Aug 2007 13:20:01.0684 (UTC) FILETIME=[5425B540:01C7D763] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: FreeBSD java license.. 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, 05 Aug 2007 23:38:58 -0000 Hi, =20 An extract from the licensing terms is given below. Do these terms hold good even now, after Sun revoked FreeBSD java license? Has this dispute between Sun and FreeBSD foundation settled? But, why such restrictions when Sun Java does not have any like this. Why should I go for commercial license when I want to package FreeBSD java in my security appliance? Do I have to? =20 I. Current Field of Use for Java SE =20 You may currently redistribute the combined FreeBSD and Java SE technologies so long as it is bundled with or integrated in Java-enabled general purpose desktop computers and servers, pursuant to your license with FreeBSD Foundation and you have executed a Trademark License with Sun (see Section III below). You may not distribute Java SE in any other devices or fields of use, including, without limitation, embedded applications, embedded devices, cell phones, wireless devices, TV devices, telematics devices and home gateway devices. =20 II. Additional Fields of Use Commercial Use =20 If you are interested in using the combined FreeBSD and Java SE technology in a field-of-use other than "Java-enabled general purpose desktop computers and general purpose servers", you will need to sign an additional commercial use license with Sun permitting redistribution in the desired field of use. There are fees associated with the commercial use license. In order to obtain the additional license for review and execution, please send an email to Freebsd_Sun_Info@sun.com =20 =20 Thanks, Reddy =20 =20 ________________________________ From: Bramananda Reddy Gopalswamy=20 Sent: Saturday, August 04, 2007 2:16 PM To: freebsd-java@freebsd.org Subject: FW: FreeBSD java license.. =20 Hi, =20 I tried posting my query to Freebsd_Sun_Info@sun.com , but it bounced back. =20 Anybody else here can reply on this? =20 -Reddy =20 =20 ________________________________ From: Bramananda Reddy Gopalswamy=20 Sent: Saturday, August 04, 2007 1:51 PM To: Freebsd_Sun_Info@sun.com Subject: FreeBSD java license.. =20 Hi, =20 I am working on a project aiming to provide an on-box web interface for managing Force10 Networks's P-Series security appliances. P-Series offers high performance network traffic inspection, monitoring and capture at 10 Gbps. You can checkout this link for details.=20 =20 http://www.force10networks.com/products/pseries.asp =20 P-Series is currently based on FreeBSD operating system. =20 For providing a web-based management interface for P-Series, I plan to bundle FreeBSD JRE 1.5 and Tomcat 6 in the P-Series box. I tried downloading Diablo JRE from http://www.freebsdfoundation.org/downloads/java.shtml and read through the license agreement prompted. It was clear that Force10 needs to sign up a Trademark license agreement with Sun. But, I am not sure if I also have to execute a commercial license too. Pls clarify the terms and conditions and pricing details if any. =20 Expecting an earlier response. =20 Thanks, Bramanandha Reddy Engineering Manager Phone: +91-9884244485 Force10 Networks Inc. www.force10networks.com =20 =20 From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 06:52:07 2007 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 17ECB16A419 for ; Mon, 6 Aug 2007 06:52:06 +0000 (UTC) (envelope-from ggeorgiev@synchsource.com) Received: from smtpauth00.csee.onr.siteprotect.com (smtpauth00.csee.onr.siteprotect.com [64.26.60.144]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA2813C461 for ; Mon, 6 Aug 2007 06:52:05 +0000 (UTC) (envelope-from ggeorgiev@synchsource.com) Received: from localhost (unknown [85.187.87.136]) (Authenticated sender: ggeorgiev@synchsource.com) by smtpauth00.csee.onr.siteprotect.com (Postfix) with ESMTP id 2F191758073; Mon, 6 Aug 2007 01:52:04 -0500 (CDT) To: "Greg Lewis" From: "Georgi Georgiev" Organization: SynchSource Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 MIME-Version: 1.0 References: <20070805220002.GA4955@misty.eyesbeyond.com> Content-Transfer-Encoding: Quoted-Printable Date: Mon, 06 Aug 2007 09:50:12 +0300 Message-ID: In-Reply-To: <20070805220002.GA4955@misty.eyesbeyond.com> User-Agent: Opera Mail/9.22 (FreeBSD) Cc: freebsd-java@freebsd.org Subject: Re: jdk16 port wrong distinfo 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, 06 Aug 2007 06:52:07 -0000 On Mon, 06 Aug 2007 01:00:02 +0300, Greg Lewis = wrote: > On Sun, Aug 05, 2007 at 03:20:15PM +0300, Georgi Georgiev wrote: >> Hi , i guess distinfo in jdk16 port is wrong it tryes to build jdk15 >> >> cd /usr/ports/java/jdk16/ >> gg# cat distinfo >> MD5 (jdk-1_5_0_12-fcs-src-b04-jrl-02_may_2007.jar) =3D > > jdk16 was repo copied from jdk15 per standard procedure. The one you = = > have > is after the repo copy but before I committed the actual 1.6 bits. = > Please > update your ports. > thanks -- = Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 11:08:26 2007 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 130EF16A4F6 for ; Mon, 6 Aug 2007 11:08:26 +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 03BBF13C46E for ; Mon, 6 Aug 2007 11:08:26 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l76B8PiU029922 for ; Mon, 6 Aug 2007 11:08:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l76B8OqO029918 for freebsd-java@FreeBSD.org; Mon, 6 Aug 2007 11:08:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Aug 2007 11:08:24 GMT Message-Id: <200708061108.l76B8OqO029918@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 you 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, 06 Aug 2007 11:08:26 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b 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 8 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 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 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 11:20:12 2007 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 064F516A418 for ; Mon, 6 Aug 2007 11:20:12 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone1.qsi.net.nz (drone1-svc-skyt.qsi.net.nz [202.89.128.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3A25A13C459 for ; Mon, 6 Aug 2007 11:20:10 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 27456 invoked by uid 0); 6 Aug 2007 11:20:09 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 6 Aug 2007 11:20:08 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id C40D27E85D; Mon, 6 Aug 2007 23:20:07 +1200 (NZST) Date: Mon, 6 Aug 2007 23:20:07 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Message-ID: <20070806112007.GA77587@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Core dumps for JDK 1.5.0_12-p6 with Geronimo 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, 06 Aug 2007 11:20:12 -0000 Hi all, I've been experimenting with using the latest JDK 1.5 on Apache Geronimo, and I can get the JVM to dump core when I place the machine under load. I've attached the error log for anyone that wants to attempt a fix. Cheers. -- Jonathan Chen | To do is to be -- Nietzsche | To be is to do -- Sartre | Scooby do be do -- Scooby # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2840fb99, pid=77427, tid=0x8415200 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_12-p6-root_28_jul_2007_17_22 mixed mode) # Problematic frame: # V [libjvm.so+0x26eb99] # --------------- T H R E A D --------------- Current thread (0x08415000): JavaThread "RMI RenewClean-[192.168.1.100:9999]" daemon [_thread_in_vm, id=138498560] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000000 Registers: EAX=0x00000000, EBX=0x287bf920, ECX=0x287b1128, EDX=0x287990b0 ESP=0xbeee82f0, EBP=0xbeee8308, ESI=0x08415000, EDI=0xbeee844c EIP=0x2840fb99, EFLAGS=0x00010206 Top of Stack: (sp=0xbeee82f0) 0xbeee82f0: 0000010c beee844c 00000050 08415000 0xbeee8300: 00000050 287bf920 beee8358 285a5c5e 0xbeee8310: beee8450 beee844c 00000050 08415000 0xbeee8320: 280b47a4 08415200 beee8378 280a5e05 0xbeee8330: 08054100 08415248 0000000f 280b47a4 0xbeee8340: 280b47a4 08415248 08054100 287bf920 0xbeee8350: 08415000 08415000 beee8388 285a61ca 0xbeee8360: beee844c 00000050 beee8450 08415000 Instructions: (pc=0x2840fb99) 0x2840fb89: d8 0a 00 00 8b 8b 2c 07 00 00 83 c2 08 83 c1 08 0x2840fb99: 89 10 8b 93 1c 2f 00 00 83 c2 08 89 08 89 10 83 Stack: [0xbee6a000,0xbeeea000), sp=0xbeee82f0, free space=504k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x26eb99] V [libjvm.so+0x404c5e] V [libjvm.so+0x4051ca] V [libjvm.so+0x2707ee] V [libjvm.so+0x48004b] V [libjvm.so+0x19d8a0] V [libjvm.so+0x51742a] V [libjvm.so+0x2df931] V [libjvm.so+0x2dfb5e] V [libjvm.so+0x55b23c] V [libjvm.so+0x55b808] j sun.misc.Unsafe.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;+0 j sun.reflect.ClassDefiner.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;)Ljava/lang/Class;+27 j sun.reflect.MethodAccessorGenerator$1.run()Ljava/lang/Object;+21 v ~StubRoutines::call_stub V [libjvm.so+0x28c338] V [libjvm.so+0x489338] V [libjvm.so+0x28ba7f] V [libjvm.so+0x2e23b5] C [libjava.so+0x116ed] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x25 j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.misc.Unsafe.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;+0 j sun.reflect.ClassDefiner.defineClass(Ljava/lang/String;[BIILjava/lang/ClassLoader;)Ljava/lang/Class;+27 j sun.reflect.MethodAccessorGenerator$1.run()Ljava/lang/Object;+21 v ~StubRoutines::call_stub j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0 v ~C2IAdapter J sun.reflect.MethodAccessorGenerator.generate(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;IZZLjava/lang/Class;)Lsun/reflect/MagicAccessorImpl; v ~I2CAdapter j sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;ILjava/lang/Class;)Lsun/reflect/SerializationConstructorAccessorImpl;+15 j sun.reflect.ReflectionFactory.newConstructorForSerialization(Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;+34 j java.io.ObjectStreamClass.getSerializableConstructor(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;+64 j java.io.ObjectStreamClass.access$1500(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;+1 j java.io.ObjectStreamClass$2.run()Ljava/lang/Object;+143 v ~StubRoutines::call_stub j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0 j java.io.ObjectStreamClass.(Ljava/lang/Class;)V+106 j java.io.ObjectStreamClass.lookup(Ljava/lang/Class;Z)Ljava/io/ObjectStreamClass;+213 j java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V+185 j java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V+16 j sun.rmi.transport.DGCImpl_Stub.dirty([Ljava/rmi/server/ObjID;JLjava/rmi/dgc/Lease;)Ljava/rmi/dgc/Lease;+31 j sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(Ljava/util/Set;J)V+43 j sun.rmi.transport.DGCClient$EndpointEntry.access$1600(Lsun/rmi/transport/DGCClient$EndpointEntry;Ljava/util/Set;J)V+3 j sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run()V+233 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08af6800 JavaThread "RMI TCP Connection(4)-192.168.1.100" daemon [_thread_in_native, id=145642496] 0x08e73a00 JavaThread "http-0.0.0.0-8080-2" daemon [_thread_blocked, id=136562176] 0x08ae5c00 JavaThread "HitCountQueueProcessor" daemon [_thread_blocked, id=151861248] 0x090d3200 JavaThread "TP-Processor12" daemon [_thread_in_native, id=151860224] 0x08bfbe00 JavaThread "TP-Processor11" daemon [_thread_in_native, id=151859200] 0x08bfba00 JavaThread "TP-Processor10" daemon [_thread_blocked, id=146783232] 0x08bfb600 JavaThread "TP-Processor9" daemon [_thread_blocked, id=146782208] 0x085e5600 JavaThread "TP-Processor8" daemon [_thread_in_native, id=140400640] 0x085e5200 JavaThread "TP-Processor7" daemon [_thread_in_native, id=140399616] 0x08fa6e00 JavaThread "TP-Processor6" daemon [_thread_in_native, id=140398592] 0x08fa6a00 JavaThread "TP-Processor5" daemon [_thread_in_native, id=150629376] 0x08e73c00 JavaThread "http-0.0.0.0-8080-1" daemon [_thread_blocked, id=149372416] 0x08d50c00 JavaThread "future invalidations thread" [_thread_blocked, id=148180480] 0x08f44000 JavaThread "Timer-9" daemon [_thread_blocked, id=150225408] 0x083ab400 JavaThread "Store userCache Expiry Thread" daemon [_thread_blocked, id=138065408] 0x083ab000 JavaThread "Store userCache Spool Thread" daemon [_thread_blocked, id=138064384] 0x0821a600 JavaThread "Geronimo hot deploy scanner" daemon [_thread_blocked, id=143180800] 0x089e4400 JavaThread "Geronimo Config Store Reaper" daemon [_thread_blocked, id=145579008] 0x08ad5400 JavaThread "TP-Monitor" daemon [_thread_blocked, id=145577472] 0x08ad5000 JavaThread "TP-Processor4" daemon [_thread_in_native, id=145576448] 0x08ab8c00 JavaThread "TP-Processor3" daemon [_thread_in_native, id=145460736] 0x08ab8800 JavaThread "TP-Processor2" daemon [_thread_in_native, id=145459712] 0x08ab8400 JavaThread "TP-Processor1" daemon [_thread_in_native, id=145458688] 0x08ab8000 JavaThread "http-0.0.0.0-8080-Acceptor-0" daemon [_thread_in_native, id=145457664] 0x08935e00 JavaThread "http-0.0.0.0-8443-Acceptor-0" daemon [_thread_in_native, id=135344128] 0x0853cc00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Geronimo]]" daemon [_thread_blocked, id=138499584] 0x085fd600 JavaThread "Yoko:Server:StarterThread" daemon [_thread_in_native, id=138670080] 0x089e4000 JavaThread "Yoko:Server:StarterThread" daemon [_thread_in_native, id=138501120] 0x085fd000 JavaThread "Yoko:Server:StarterThread" daemon [_thread_in_native, id=138978816] 0x0821ac00 JavaThread "Yoko:Server:StarterThread" daemon [_thread_in_native, id=138979840] 0x08113e00 JavaThread "service.ejbd@27777511" daemon [_thread_in_native, id=139382784] 0x0863f800 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=140769792] 0x0863f400 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=140768768] 0x0863f000 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=140767744] 0x0848ac00 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=138980864] 0x082aaa00 JavaThread "ActiveMQ Transport Status Monitor: tcp://0.0.0.0:61616" daemon [_thread_blocked, id=137014272] 0x082aa600 JavaThread "ActiveMQ Transport Server: tcp://0.0.0.0:61616" daemon [_thread_in_native, id=137013248] 0x082aa200 JavaThread "ActiveMQ Transport Status Monitor: stomp://0.0.0.0:61613" daemon [_thread_blocked, id=137012224] 0x08668e00 JavaThread "ActiveMQ Transport Server: stomp://0.0.0.0:61613" daemon [_thread_in_native, id=137011200] 0x0823c800 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=136563200] 0x08668600 JavaThread "Timer-8" daemon [_thread_blocked, id=140937216] 0x08668200 JavaThread "Timer-7" daemon [_thread_blocked, id=140936192] 0x083c5a00 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=138173440] 0x083c5400 JavaThread "Thread-10" daemon [_thread_in_native, id=138171904] 0x08159600 JavaThread "Timer-6" daemon [_thread_blocked, id=138170880] 0x08159400 JavaThread "derby.NetworkServerStarter" daemon [_thread_blocked, id=135633408] 0x0843fe00 JavaThread "Timer-5" daemon [_thread_blocked, id=135630848] 0x08113c00 JavaThread "derby.antiGC" daemon [_thread_blocked, id=139562496] 0x0843f800 JavaThread "Socket Server: tcp://0.0.0.0:4242" daemon [_thread_in_native, id=138672640] 0x0843f200 JavaThread "Timer-4" daemon [_thread_blocked, id=138671104] 0x08a3b400 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=138500096] =>0x08415000 JavaThread "RMI RenewClean-[192.168.1.100:9999]" daemon [_thread_in_vm, id=138498560] 0x08113600 JavaThread "GC Daemon" daemon [_thread_blocked, id=135346176] 0x08113200 JavaThread "RMI Reaper" [_thread_blocked, id=135345152] 0x08a3bc00 JavaThread "RMI TCP Accept-9999" daemon [_thread_in_native, id=141423616] 0x087cec00 JavaThread "FlushManager" daemon [_thread_blocked, id=142405120] 0x08518000 JavaThread "LogFileManager.EventManager" daemon [_thread_blocked, id=142404096] 0x086df600 JavaThread "RMI TCP Accept-1099" daemon [_thread_in_native, id=141424640] 0x086df000 JavaThread "Timer-3" daemon [_thread_blocked, id=141423104] 0x084ed200 JavaThread "Timer-2" daemon [_thread_blocked, id=139383808] 0x08347200 JavaThread "Timer-0" [_thread_blocked, id=137655296] 0x081bde00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=136101888] 0x081bda00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=136043520] 0x081bd600 JavaThread "CompilerThread0" daemon [_thread_blocked, id=136042496] 0x081bd200 JavaThread "AdapterThread" daemon [_thread_blocked, id=136041472] 0x0817de00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=136040448] 0x0817d200 JavaThread "Finalizer" daemon [_thread_blocked, id=135779328] 0x08067e00 JavaThread "Reference Handler" daemon [_thread_blocked, id=135778304] 0x08067000 JavaThread "main" [_thread_blocked, id=134594560] Other Threads: 0x0816f400 VMThread [id=134642688] 0x08056c00 WatcherThread [id=136102912] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08063700/0x08063740] Threads_lock - owner thread: 0x0816f400 [0x080537e0/0x08063d00] Heap_lock - owner thread: 0x08e73a00 Heap def new generation total 7744K, used 212K [0x2eaf0000, 0x2f350000, 0x323d0000) eden space 6912K, 3% used [0x2eaf0000, 0x2eb25258, 0x2f1b0000) from space 832K, 0% used [0x2f1b0000, 0x2f1b0000, 0x2f280000) to space 832K, 0% used [0x2f280000, 0x2f280000, 0x2f350000) tenured generation total 68284K, used 34347K [0x323d0000, 0x3667f000, 0x4eaf0000) the space 68284K, 50% used [0x323d0000, 0x3455afb0, 0x3455b000, 0x3667f000) compacting perm gen total 65536K, used 65536K [0x4eaf0000, 0x52af0000, 0x52af0000) the space 65536K, 100% used [0x4eaf0000, 0x52af0000, 0x52af0000, 0x52af0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/jre/bin/java 0x28083000 /lib/libz.so.3 0x28094000 /lib/libpthread.so.2 0x280b9000 /lib/libc.so.6 0x281a1000 /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so 0x287db000 /lib/libm.so.4 0x287f2000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x287fb000 /usr/local/jdk1.5.0/jre/lib/i386/libinstrument.so 0x28805000 /usr/X11R6/lib/libiconv.so.3 0x288fa000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x28907000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x28926000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x5339d000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so 0x53428000 /usr/local/jdk1.5.0/jre/lib/i386/libnio.so 0x53092000 /usr/local/jdk1.5.0/jre/lib/i386/librmi.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx512M -javaagent:/usr/local/geronimo-2.0/bin/jpa.jar -Dorg.apache.geronimo.base.dir=/usr/local/geronimo-2.0 -Djava.endorsed.dirs=/usr/local/geronimo-2.0/lib/endorsed:/usr/local/jdk1.5.0/jre/lib/endorsed -Djava.ext.dirs=/usr/local/geronimo-2.0/lib/ext:/usr/local/jdk1.5.0/jre/lib/ext -Djava.io.tmpdir=var/temp java_command: /usr/local/geronimo-2.0/bin/server.jar --long Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/root/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/server:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386 SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x572980], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x572980], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x489340], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x489340], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x489340], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x489410], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x489340], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x487a70], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGQUIT: [libjvm.so+0x487a70], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x487a70], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 27 21:15:08 NZST 2007 root@osiris.chen.org.nz:/usr/obj/usr/src/sys/OSIRIS i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, mmxext, 3dnowext, 3dnow Memory: 4k page, physical 860528k vm_info: Java HotSpot(TM) Server VM (1.5.0_12-p6-root_28_jul_2007_17_22) for freebsd-x86, built on Jul 28 2007 17:54:56 by root with gcc 3.4.6 [FreeBSD] 20060305 From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 13:54:19 2007 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 0408716A420; Mon, 6 Aug 2007 13:54:19 +0000 (UTC) (envelope-from iang@iang.org) Received: from skaro.afraid.org (skaro.afraid.org [212.169.1.61]) by mx1.freebsd.org (Postfix) with ESMTP id B7FEF13C478; Mon, 6 Aug 2007 13:54:18 +0000 (UTC) (envelope-from iang@iang.org) Received: from [127.0.0.1] (localhost.cthulhu.dircon.co.uk [127.0.0.1]) by skaro.afraid.org (Postfix) with ESMTP id E41D85D23; Mon, 6 Aug 2007 14:36:01 +0100 (GMT/BST) Message-ID: <46B723D7.8090702@iang.org> Date: Mon, 06 Aug 2007 15:36:23 +0200 From: Iang User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: Ernst de Haan References: <9F90521E-76CF-4C93-84E1-B1083F76C2A5@FreeBSD.org> In-Reply-To: <9F90521E-76CF-4C93-84E1-B1083F76C2A5@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java@FreeBSD.org Subject: Re: Why do you run/prefer Java on FreeBSD? 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, 06 Aug 2007 13:54:19 -0000 Ernst de Haan wrote: > Java on FreeBSD-folks, > > > I intend to write an article on why and when Java on FreeBSD is a good > choice. I'd love to get insights from you guys (and girls?). > > So: > - why do you run Java on FreeBSD (instead of Solaris or Linux)? For server-side security (#1) and reliability (#2). Linux has traditionally been neither although has got a lot better. Solaris is priced for a big institutions setting, and would score well on reliability. > - do you consider Java on FreeBSD fast? Reasonably so. Speed is no real issue. > - do you consider it stable/reliable? Yes. > - do you consider it secure? Yes, Java as a language. Java as a platform has some security quirks that have to be worked around (crypto framework, lack of platform IPC messaging). I only use J2SE and write most code locally. > - which version of Java are you running? Currently 1.5, but all since 1.0. > - was the installation of Java easy or a pain? (or somewhere in between?) It has never been easy. Sometimes a real pain, sometimes less of a pain. But once it has done, it has been solid, in general, and more robust than Linux implementations (I haven't a lot of experience with them, but I've always been glad to get back to FreeBSD). > - how important is Java 1.6 for you? No plans. iang From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 17:56:26 2007 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 9AF0716A46B; Mon, 6 Aug 2007 17:56:26 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from smtp-out4.libero.it (smtp-out4.libero.it [212.52.84.46]) by mx1.freebsd.org (Postfix) with ESMTP id 1FDFD13C4B5; Mon, 6 Aug 2007 17:56:25 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from localhost (172.31.0.50) by smtp-out4.libero.it (7.3.120) id 4688F35003436071; Mon, 6 Aug 2007 19:32:17 +0200 Received: from smtp-out4.libero.it ([172.31.0.40]) by localhost (asav-out9.libero.it [192.168.32.37]) (amavisd-new, port 10024) with ESMTP id 9IF3Oj7Gx-KN; Mon, 6 Aug 2007 19:32:17 +0200 (CEST) Received: from mailrelay07.libero.it (192.168.32.94) by smtp-out4.libero.it (7.3.120) id 4611FEBC09DAFD11; Mon, 6 Aug 2007 19:32:17 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AusRALL3tkbAqBED/2dsb2JhbAANigCjXQ Received: from unknown (HELO libero.it) ([192.168.17.3]) by outrelay07.libero.it with ESMTP; 06 Aug 2007 19:32:17 +0200 Date: Mon, 6 Aug 2007 19:32:17 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "glewis" , "freebsd-java" X-XaM3-API-Version: 4.3 (R1) (B3pl19) X-SenderIP: 82.51.158.77 Cc: Subject: java/jdk16 - fix ControlPanel startup 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, 06 Aug 2007 17:56:26 -0000 # $FreeBSD: ports/java/jdk16/Makefile,v 1.134 2007/08/05 20:39:48 glewis = Exp $ Change the shebang on bin/jcontrol and jre/bin/jcontrol to fix ControlPan= el. $ cat /usr/ports/java/jdk16/files/patch-jcontrol --- ../../deploy/src/plugin/solaris/controlpanel/jcontrol.orig 2007-03-14= 09:16:10.000000000 +0100 +++ ../../deploy/src/plugin/solaris/controlpanel/jcontrol 2007-08-06 15:0= 3:47.000000000 +0200 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # @(#)jcontrol 1.40 06/01/27 # From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 18:28:49 2007 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 16C2A16A419 for ; Mon, 6 Aug 2007 18:28:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id CC70013C465 for ; Mon, 6 Aug 2007 18:28:46 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l76ISjfI039731; Mon, 6 Aug 2007 14:28:45 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Mon, 6 Aug 2007 14:28:26 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708061428.37852.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3878/Mon Aug 6 12:24:41 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: barbara , glewis Subject: Re: java/jdk16 - fix ControlPanel startup 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, 06 Aug 2007 18:28:49 -0000 On Monday 06 August 2007 01:32 pm, barbara wrote: > # $FreeBSD: ports/java/jdk16/Makefile,v 1.134 2007/08/05 20:39:48 > glewis Exp $ > > > Change the shebang on bin/jcontrol and jre/bin/jcontrol to fix > ControlPanel. > > $ cat /usr/ports/java/jdk16/files/patch-jcontrol > --- > ../../deploy/src/plugin/solaris/controlpanel/jcontrol.orig 2007-03- >14 09:16:10.000000000 +0100 +++ > ../../deploy/src/plugin/solaris/controlpanel/jcontrol 2007-08-06 > 15:03:47.000000000 +0200 @@ -1,4 +1,4 @@ > -#!/bin/bash > +#!/bin/sh > # > # @(#)jcontrol 1.40 06/01/27 > # This problem is already fixed in Java porting team's CVS. Unfortunately I found it after patchset 1 was tagged. So, it wasn't included in the first patchset. :-( Greg, may I commit the patch in ports? Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 20:51:49 2007 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 C3E6316A418 for ; Mon, 6 Aug 2007 20:51:49 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 90BDD13C4A3 for ; Mon, 6 Aug 2007 20:51:49 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost [127.0.0.1]) by misty.eyesbeyond.com (8.13.8/8.13.8) with ESMTP id l76KpnOw015581; Mon, 6 Aug 2007 14:51:49 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.8/8.13.8/Submit) id l76KpmSK015580; Mon, 6 Aug 2007 14:51:48 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 6 Aug 2007 14:51:48 -0600 From: Greg Lewis To: barbara Message-ID: <20070806205148.GB15473@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-java Subject: Re: java/jdk16 - fix ControlPanel startup 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, 06 Aug 2007 20:51:49 -0000 On Mon, Aug 06, 2007 at 07:32:17PM +0200, barbara wrote: > # $FreeBSD: ports/java/jdk16/Makefile,v 1.134 2007/08/05 20:39:48 glewis Exp $ > > > Change the shebang on bin/jcontrol and jre/bin/jcontrol to fix ControlPanel. > > $ cat /usr/ports/java/jdk16/files/patch-jcontrol > --- ../../deploy/src/plugin/solaris/controlpanel/jcontrol.orig 2007-03-14 09:16:10.000000000 +0100 > +++ ../../deploy/src/plugin/solaris/controlpanel/jcontrol 2007-08-06 15:03:47.000000000 +0200 > @@ -1,4 +1,4 @@ > -#!/bin/bash > +#!/bin/sh > # > # @(#)jcontrol 1.40 06/01/27 > # Committed. Thanks! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Aug 6 21:26:35 2007 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 6FB3A16A418 for ; Mon, 6 Aug 2007 21:26:35 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from smtp-out4.libero.it (smtp-out4.libero.it [212.52.84.46]) by mx1.freebsd.org (Postfix) with ESMTP id 3105813C45D for ; Mon, 6 Aug 2007 21:26:34 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from localhost (172.31.0.47) by smtp-out4.libero.it (7.3.120) id 4688F3500345F551 for freebsd-java@freebsd.org; Mon, 6 Aug 2007 23:26:33 +0200 Received: from smtp-out4.libero.it ([172.31.0.40]) by localhost (asav-out6.libero.it [192.168.32.34]) (amavisd-new, port 10024) with ESMTP id uSOsUUh8HBPH for ; Mon, 6 Aug 2007 23:26:33 +0200 (CEST) Received: from outrelay08.libero.it (192.168.32.103) by smtp-out4.libero.it (7.3.120) id 4611FEBC09DEA321 for freebsd-java@freebsd.org; Mon, 6 Aug 2007 23:26:33 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AusRAMYut0bAqBEO/2dsb2JhbAANigCjPQ Received: from unknown (HELO libero.it) ([192.168.17.14]) by outrelay08.libero.it with ESMTP; 06 Aug 2007 23:26:33 +0200 Date: Mon, 6 Aug 2007 23:26:33 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "glewis" X-XaM3-API-Version: 4.3 (R1) (B3pl19) X-SenderIP: 82.51.158.77 Cc: freebsd-java Subject: Re: java/jdk16 - fix ControlPanel startup 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, 06 Aug 2007 21:26:35 -0000 > > Change the shebang on bin/jcontrol and jre/bin/jcontrol to fix Contro= lPanel. > > Committed. Thanks! > Nice! Thank you! From owner-freebsd-java@FreeBSD.ORG Tue Aug 7 09:39:00 2007 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 158D816A41B for ; Tue, 7 Aug 2007 09:39:00 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 61E1D13C468 for ; Tue, 7 Aug 2007 09:38:59 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so47416uge for ; Tue, 07 Aug 2007 02:38:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=nc5qaWN9RIP9SI5STCZHwcVQt2LxccuoTtJyGiVBDGLDgrYLu07NYe/TIQxHsWVrr1cNoB4F03J0BYjb4+telGBod4NTOk0ufiamOXZp2I5xQCe9O9XmHs/KT6pSNj4fAVNL9wEQemAPgtvjou7QJeJ5DrzRTPs5ghKbxenX7h8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=fhX2YsJyqwvG2cuwbp7xPW9odFdGWbkTg+wjGc9oo0BfA5rswM2NBvcPiUhwIwzY7D62j8sMARS5EiskOZBqvi1yFOcLNZpL1xmmuBUpxYfVigrsAIDqo193ltLqppLDFDpHpix2TNhpBd9J+GvT6wjkKRabGfbChYi8xbk6+bY= Received: by 10.78.172.20 with SMTP id u20mr1673495hue.1186478047031; Tue, 07 Aug 2007 02:14:07 -0700 (PDT) Received: by 10.78.129.20 with HTTP; Tue, 7 Aug 2007 02:14:07 -0700 (PDT) Message-ID: Date: Tue, 7 Aug 2007 19:14:07 +1000 From: "Justen Stepka" Sender: justen.stepka@gmail.com To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 991abdf27f1158af Subject: 6.2-STABLE JDK 1.5 compilation errors 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, 07 Aug 2007 09:39:00 -0000 It's been a while since I've compiled the JDK -- but it's good to see things are still the same :). Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE (as of this morning). Here are the compilation errors: /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:227: ')' expected private static final class Aliases ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:390: ')' expected private static final class Classes ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:430: ')' expected private static final class Cache ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: cannot find symbol symbol : class TM location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: cannot find symbol symbol : class Java location: class sun.nio.cs.StandardCharsets Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:896: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return cons.newInstance(null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:976: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning readObjectNoDataMethod.invoke(obj, null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:1004: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return writeReplaceMethod.invoke(obj, null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:1033: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return readResolveMethod.invoke(obj, null); ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: missing method body, or declare abstract Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:389: missing method body, or declare abstract Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:429: missing method body, or declare abstract Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:470: cannot reference this before supertype constructor has been called super("sun.nio.cs", new Aliases(), new Classes(), new Cache()); ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:470: cannot reference this before supertype constructor has been called super("sun.nio.cs", new Aliases(), new Classes(), new Cache()); ^ /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:470: cannot reference this before supertype constructor has been called super("sun.nio.cs", new Aliases(), new Classes(), new Cache()); ^ ../../../src/share/classes/sun/misc/ProxyGenerator.java:335: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning hashCodeMethod = Object.class.getMethod("hashCode", null); ^ ../../../src/share/classes/sun/misc/ProxyGenerator.java:338: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning toStringMethod = Object.class.getMethod("toString", null); ^ ../../../src/share/classes/sun/security/jca/ProviderConfig.java:243: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning obj = cons.newInstance(new String[] { argument }); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:329: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning null); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:334: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning exception = (Throwable) meth.invoke(exception, null); ^ ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1223: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return (IOException)ctr.newInstance(args); ^ Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 21 errors 10 warnings gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. sls-ae4p4# uname -a FreeBSD sls-ae4p4.sea2.superbservers.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Aug 6 23:01:02 UTC 2007 jstepka@sls-ae4p4.sea2.superbservers.com:/usr/obj/usr/src/sys/GENERIC i386 Is there a workaround for this? Thanks in advance and looking forward to my new Java/FreeBSD server. Justen -- Justen Stepka http://www.jstepka.name/blog/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 7 10:03:44 2007 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 C50E616A417 for ; Tue, 7 Aug 2007 10:03:44 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone3.qsi.net.nz (drone3-svc-skyt.qsi.net.nz [202.89.128.3]) by mx1.freebsd.org (Postfix) with ESMTP id 39CDC13C461 for ; Tue, 7 Aug 2007 10:03:43 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 26973 invoked by uid 0); 7 Aug 2007 10:03:41 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 7 Aug 2007 10:03:41 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id D67987E85D; Tue, 7 Aug 2007 22:03:40 +1200 (NZST) Date: Tue, 7 Aug 2007 22:03:40 +1200 From: Jonathan Chen To: Justen Stepka Message-ID: <20070807100340.GB86955@osiris.chen.org.nz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: 6.2-STABLE JDK 1.5 compilation errors 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, 07 Aug 2007 10:03:44 -0000 On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote: > It's been a while since I've compiled the JDK -- but it's good to see > things are still the same :). > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE > (as of this morning). > > Here are the compilation errors: > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: > expected > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location - find_vma failed [...] What's your bootstrap JDK? -- Jonathan Chen ----------------------------------------------------------------------- "I love deadlines. I like the whooshing sound they make as they fly by" - Douglas Adams From owner-freebsd-java@FreeBSD.ORG Tue Aug 7 10:22:06 2007 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 8A58D16A419 for ; Tue, 7 Aug 2007 10:22:06 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1793B13C458 for ; Tue, 7 Aug 2007 10:22:05 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so449752nfb for ; Tue, 07 Aug 2007 03:22:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZTktMWx++t0jjFJZHMV8YqTFYl522ZlwE/jTpRBl5UslPP50UmZJg1bvNGRCv1i9d5X8ieN0hh5JZQ6r8PuQWm3gIFZCmeBdbVCkUvNw+gJ758DXGDtnmhalGbXmrpHlJpE6YcS0e7SICoVLUiCz9VeQDJ6Rd1A03tepLTWIf+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DHJNsvit86OcO9o8Ar8SNjlCropLVv7Ls7OOquopVcjovfYylUizgIAbafQNM1Nk+soiP8fjJPbcUF+sdXSe7Vvi8SJ2b1BBf/IU40mIWeI8dDiwtJRkMY5Rv1BWBsvUF2DWAAbXrklN5iXQ8VEldO/FABjA5ppKzJLBoNaJCeE= Received: by 10.78.180.18 with SMTP id c18mr1684341huf.1186482124027; Tue, 07 Aug 2007 03:22:04 -0700 (PDT) Received: by 10.78.129.20 with HTTP; Tue, 7 Aug 2007 03:22:04 -0700 (PDT) Message-ID: Date: Tue, 7 Aug 2007 20:22:04 +1000 From: "Justen Stepka" Sender: justen.stepka@gmail.com To: "Jonathan Chen" In-Reply-To: <20070807100340.GB86955@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070807100340.GB86955@osiris.chen.org.nz> X-Google-Sender-Auth: fd2eb7d69808ba0e Cc: freebsd-java@freebsd.org Subject: Re: 6.2-STABLE JDK 1.5 compilation errors 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, 07 Aug 2007 10:22:06 -0000 linux-sun-jdk-1.5.0.12,2 On 8/7/07, Jonathan Chen wrote: > On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote: > > It's been a while since I've compiled the JDK -- but it's good to see > > things are still the same :). > > > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE > > (as of this morning). > > > > Here are the compilation errors: > > > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: > > expected > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > > location - find_vma failed > [...] > > What's your bootstrap JDK? > -- > Jonathan Chen > ----------------------------------------------------------------------- > "I love deadlines. I like the whooshing sound they make as they fly by" > - Douglas Adams > -- Justen Stepka http://www.jstepka.name/blog/ From owner-freebsd-java@FreeBSD.ORG Tue Aug 7 10:27:37 2007 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 E419A16A529 for ; Tue, 7 Aug 2007 10:27:37 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone4.qsi.net.nz (drone4-svc-skyt.qsi.net.nz [202.89.128.4]) by mx1.freebsd.org (Postfix) with ESMTP id 59AF513C467 for ; Tue, 7 Aug 2007 10:27:37 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 14764 invoked by uid 0); 7 Aug 2007 10:27:35 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 7 Aug 2007 10:27:35 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id A9C377E85D; Tue, 7 Aug 2007 22:27:34 +1200 (NZST) Date: Tue, 7 Aug 2007 22:27:34 +1200 From: Jonathan Chen To: Justen Stepka Message-ID: <20070807102734.GA87862@osiris.chen.org.nz> References: <20070807100340.GB86955@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: 6.2-STABLE JDK 1.5 compilation errors 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, 07 Aug 2007 10:27:38 -0000 On Tue, Aug 07, 2007 at 08:20:47PM +1000, Justen Stepka wrote: > On 8/7/07, Jonathan Chen wrote: > > On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote: > > > It's been a while since I've compiled the JDK -- but it's good to see > > > things are still the same :). > > > > > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE > > > (as of this morning). > > > > > > Here are the compilation errors: > > > > > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: > > > expected > > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > > > location - find_vma failed > > [...] > > > > What's your bootstrap JDK? > > -- > > Jonathan Chen > > ----------------------------------------------------------------------- > > "I love deadlines. I like the whooshing sound they make as they fly by" > > - Douglas Adams > > > > linux-sun-jdk-1.5.0.12,2 Did you remember to mount the linux procfs? Alternatively, you can use the diablo-native jdk to bootstrap. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. From owner-freebsd-java@FreeBSD.ORG Tue Aug 7 19:40:15 2007 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 62C2116A419; Tue, 7 Aug 2007 19:40:15 +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 460BA13C45B; Tue, 7 Aug 2007 19:40:15 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l77JeFAn038406; Tue, 7 Aug 2007 19:40:15 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l77JeFDl038402; Tue, 7 Aug 2007 19:40:15 GMT (envelope-from edwin) Date: Tue, 7 Aug 2007 19:40:15 GMT Message-Id: <200708071940.l77JeFDl038402@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/115279: [UPDATE] java/java3d to 1.5.1 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, 07 Aug 2007 19:40:15 -0000 Synopsis: [UPDATE] java/java3d to 1.5.1 Responsible-Changed-From-To: freebsd-ports-bugs->java Responsible-Changed-By: edwin Responsible-Changed-When: Tue Aug 7 19:40:13 UTC 2007 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=115279 From owner-freebsd-java@FreeBSD.ORG Wed Aug 8 05:01:33 2007 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 DC4C316A41B for ; Wed, 8 Aug 2007 05:01:33 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6C84813C457 for ; Wed, 8 Aug 2007 05:01:33 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so11388nfb for ; Tue, 07 Aug 2007 22:01:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=l19IXEuX0fux+q3MLkS/U37iwKgxfCkXPZuOsiggRDhZw9+Jhr23duec74H3+pthlHqdoKXZiLIAdJFCrS+qg4GjLkrHj7ucuTZBxzSMCdvkuOuJ4UriUnAzQYAGN+F8q1U+o9zt1hxPRRmWgk4On1fXFSh2ek574RBa/0J1nk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pRYtule+F6KTUXWHBbnAHuzyiMwPLIZLm22j1i2tGQ2N1WE1zyh+kxOScnf7OZ6PN0YSXEJrV2imlz/2mrDwAPIIJs/LbRK0+2dmgljTIAgRA5pGotdwCE+t1bljUjGxjt4AY62oBvUWZp2SOQLDkQ3w/BwofoVC3pWNw0ycVA0= Received: by 10.78.175.14 with SMTP id x14mr9039hue.1186549291962; Tue, 07 Aug 2007 22:01:31 -0700 (PDT) Received: by 10.78.129.20 with HTTP; Tue, 7 Aug 2007 22:01:31 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 15:01:31 +1000 From: "Justen Stepka" Sender: justen.stepka@gmail.com To: "Jonathan Chen" In-Reply-To: <20070807102734.GA87862@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070807100340.GB86955@osiris.chen.org.nz> <20070807102734.GA87862@osiris.chen.org.nz> X-Google-Sender-Auth: 1aa9dd141c60d7e5 Cc: freebsd-java@freebsd.org Subject: Re: 6.2-STABLE JDK 1.5 compilation errors 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, 08 Aug 2007 05:01:33 -0000 On 8/7/07, Jonathan Chen wrote: > On Tue, Aug 07, 2007 at 08:20:47PM +1000, Justen Stepka wrote: > > On 8/7/07, Jonathan Chen wrote: > > > On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote: > > > > It's been a while since I've compiled the JDK -- but it's good to see > > > > things are still the same :). > > > > > > > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE > > > > (as of this morning). > > > > > > > > Here are the compilation errors: > > > > > > > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: > > > > expected > > > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > > > > location - find_vma failed > > > [...] > > > > > > What's your bootstrap JDK? > > > -- > > > Jonathan Chen > > > ----------------------------------------------------------------------- > > > "I love deadlines. I like the whooshing sound they make as they fly by" > > > - Douglas Adams > > > > > > > linux-sun-jdk-1.5.0.12,2 > > Did you remember to mount the linux procfs? Alternatively, you can use > the diablo-native jdk to bootstrap. > > Cheers. > -- > Jonathan Chen > ---------------------------------------------------------------------- > Do not take life too seriously. > You will never get out of it alive. > Sure enough that turned out to be the issue. Not sure why, but running these commands: kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc still resulted in the same error until I did a 'make clean' and then 'make ; make install'. -- Justen Stepka http://www.jstepka.name/blog/ From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 20:45:11 2007 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 4DF9816A41A for ; Thu, 9 Aug 2007 20:45:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id CFBA713C46C for ; Thu, 9 Aug 2007 20:45:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l79Kj8AQ073516; Thu, 9 Aug 2007 16:45:08 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 9 Aug 2007 16:44:56 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> In-Reply-To: <46B5EDF6.3020603@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_Rz3uG2OGo43iBcP" Message-Id: <200708091645.05680.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on anuket.mj.niksun.com X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rene Ladan Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 09 Aug 2007 20:45:11 -0000 --Boundary-00=_Rz3uG2OGo43iBcP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > I tried installing this on my i386 FreeBSD-CURRENT SMP box > (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The build > first failed because of GCC 4.2 warnings-as-errors about deprecated > string conversions. After commenting out a -Werror in > work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug > server built fine, but it failed in test_gamma. I've attached the > hs_err log. The attached patch should fix the build problem on -CURRENT. Your error log shows that you set JAVA_HOME wrong: Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.5.0 Jung-uk Kim --Boundary-00=_Rz3uG2OGo43iBcP-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 21:12:07 2007 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 B683216A41B for ; Thu, 9 Aug 2007 21:12:07 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 38FD013C458 for ; Thu, 9 Aug 2007 21:12:07 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l79LC3AQ075863 for ; Thu, 9 Aug 2007 17:12:03 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 9 Aug 2007 17:11:56 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> <200708091645.05680.jkim@FreeBSD.org> In-Reply-To: <200708091645.05680.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_gM4uG4EvgvRU/jp" Message-Id: <200708091712.00200.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3907/Thu Aug 9 16:17:20 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 09 Aug 2007 21:12:07 -0000 --Boundary-00=_gM4uG4EvgvRU/jp Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 09 August 2007 04:44 pm, Jung-uk Kim wrote: > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > > I tried installing this on my i386 FreeBSD-CURRENT SMP box > > (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The > > build first failed because of GCC 4.2 warnings-as-errors about > > deprecated string conversions. After commenting out a -Werror in > > work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug > > server built fine, but it failed in test_gamma. I've attached > > the hs_err log. > > The attached patch should fix the build problem on -CURRENT. Sorry, the attachment was removed. Re-attaching... Jung-uk Kim --Boundary-00=_gM4uG4EvgvRU/jp Content-Type: text/plain; charset="iso-8859-1"; name="patch-jdk16.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-jdk16.diff" --- ../../hotspot/src/os/bsd/vm/jvm_bsd.cpp 28 Mar 2007 04:52:29 -0000 1.1 +++ ../../hotspot/src/os/bsd/vm/jvm_bsd.cpp 9 Aug 2007 16:12:56 -0000 1.3 @@ -116,8 +116,8 @@ */ struct siglabel { - char *name; - int number; + const char *name; + int number; }; struct siglabel siglabels[] = --- ../../hotspot/src/os/bsd/vm/vmError_bsd.cpp 28 Mar 2007 04:52:29 -0000 1.1 +++ ../../hotspot/src/os/bsd/vm/vmError_bsd.cpp 9 Aug 2007 15:52:44 -0000 1.3 @@ -30,7 +30,7 @@ // Unlike system(), this function can be called from signal handler. It // doesn't block SIGINT et al. int VMError::fork_and_exec(char* cmd) { - char * argv[4]; + const char *argv[4]; argv[0] = "sh"; argv[1] = "-c"; argv[2] = cmd; --- ../../hotspot/src/share/vm/opto/escape.cpp 21 Jul 2006 17:22:54 -0000 1.1.1.2 +++ ../../hotspot/src/share/vm/opto/escape.cpp 9 Aug 2007 16:24:59 -0000 1.3 @@ -35,21 +35,21 @@ } #ifndef PRODUCT -static char *node_type_names[] = { +static const char *node_type_names[] = { "UnknownType", "JavaObject", "LocalVar", "Field" }; -static char *esc_names[] = { +static const char *esc_names[] = { "UnknownEscape", "NoEscape ", "ArgEscape ", "GlobalEscape " }; -static char *edge_type_suffix[] = { +static const char *edge_type_suffix[] = { "?", // UnknownEdge "P", // PointsToEdge "D", // DeferredEdge --Boundary-00=_gM4uG4EvgvRU/jp-- From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 22:20:25 2007 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 1A08516A418 for ; Thu, 9 Aug 2007 22:20:25 +0000 (UTC) (envelope-from dieter.ccu@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id AFEE813C49D for ; Thu, 9 Aug 2007 22:20:24 +0000 (UTC) (envelope-from dieter.ccu@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so729146waf for ; Thu, 09 Aug 2007 15:20:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=N4IlCYm6gWm5ePrl592BGGZryRI5rd2C//0tOgMA7BMLZtoVR7qpoDZpbx3pHRJdURX3EhXSz+HC0zes779DyFze4gHzfr+1wrl5Yp+OMqgHOfvj1Q8pp6QR0UQRx6Nzi+SADeEjsiR3yxoIjH2ft3yi23DA0hrrC774B+7J/W0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ibIq4u7FN55V0M8NIMYpetChFwCeQxkkEQYjjd2EpDog7zoYDgZJrPTTPsYnBaBYA6vBIQOSoK3AG6WHlEzcyHQTnvb3TySxhjwjTKW9YYqSq/Eoc2F7zsW3XnJvGIQx7yeDB8MW+w4tSvJiWNb8UBN4RuzKW+lgUoOT5189oLg= Received: by 10.114.95.1 with SMTP id s1mr1869207wab.1186696485193; Thu, 09 Aug 2007 14:54:45 -0700 (PDT) Received: by 10.114.107.14 with HTTP; Thu, 9 Aug 2007 14:54:40 -0700 (PDT) Message-ID: <84d790390708091454y6a13e762kef1e68c17955ae0b@mail.gmail.com> Date: Fri, 10 Aug 2007 05:54:40 +0800 From: "dieter lin" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: JAVA IPV6 problem 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, 09 Aug 2007 22:20:25 -0000 Hi all , I'm narrowing down a problem with java.net.SocketException on jdk-1.5.0.12p6,1 FreeBSD RELENG_6 . uname -a output FreeBSD dietertw.dyndns.org 6.2-STABLE FreeBSD 6.2-STABLE #4: Thu Aug 2 16:10:39 CST 2007 root@d dietertw.dyndns.org :/usr/obj/usr/src/sys/dieter: Here's the error: If I use the command "java -Djava.net.preferIPv4Stack=true Check",the result is right. Hoever, I use the command "setenv JAVA_OPS - Djava.net.preferIPv4Stack=true" to set environment . Then, I use "the command "java Check" . The error will occur like following : java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java :195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient( HttpURLConnection.java:813) at sun.net.www.protocol.http.HttpURLConnection.plainConnect( HttpURLConnection.java:765) at sun.net.www.protocol.http.HttpURLConnection.connect( HttpURLConnection.java:690) at sun.net.www.protocol.http.HttpURLConnection.getInputStream( HttpURLConnection.java:934) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java :367) at Check.exists(Check.java:20) at Check.main(Check.java:8) I'm able to reproduce the error with the following code, import java.net.*; import java.io.*; import java.net.*; public class Check { public static void main(String s[]) { System.out.println(exists("http://127.0.0.1/")); // System.out.println(exists("http://www.rgagnon.com/pagenotfound.html")); } static boolean exists(String URLName){ try { HttpURLConnection.setFollowRedirects(false); // note : you may also need // HttpURLConnection.setInstanceFollowRedirects(false) HttpURLConnection con = (HttpURLConnection) new URL(URLName).openConnection(); con.setRequestMethod("HEAD"); return (con.getResponseCode() == HttpURLConnection.HTTP_OK); } catch (Exception e) { e.printStackTrace(); return false; } } } Do Anyone meet the same error ? From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 22:58:47 2007 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 82AE916A469 for ; Thu, 9 Aug 2007 22:58:47 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 143C313C47E for ; Thu, 9 Aug 2007 22:58:46 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so469765uge for ; Thu, 09 Aug 2007 15:58:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=WndSwLW3Mfk9UOIvticmuUuFmbDajHg/ylORX/mdrviMJqrtToi66EQDyVP2xAcveDWRK8nlkesrmQHRa9VPrO64zfiFuVM471QCKhGfLHTgTDtUbCFOg7KH6FcAqC/c7Q9go8AZyaZhTTu+eghZWnSpR7GQvxpT8xc2Nj6lYXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=efI1goUB1SBRj5gkgLHPir9jtekTD8jzXBk10suCiMKGJaeFHE5OtAl20pRh23To02U1u9kRjMkSHHZ+ApUHN1VEEhzC7l9JxVphz2x+nwe/U1QYfWGc2/by6oMTiJioW/Vs/oa3pRuMrrV19TkmqVbq0X32Ciyniyl9MpNRI3k= Received: by 10.67.27.16 with SMTP id e16mr2615689ugj.1186699362895; Thu, 09 Aug 2007 15:42:42 -0700 (PDT) Received: from 195-241-221-201.dsl.ip.tiscali.nl ( [195.241.221.201]) by mx.google.com with ESMTPS id k5sm2277826nfd.2007.08.09.15.42.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Aug 2007 15:42:41 -0700 (PDT) Message-ID: <46BB9860.4050105@gmail.com> Date: Fri, 10 Aug 2007 00:42:40 +0200 From: Rene Ladan User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Jung-uk Kim References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> <200708091645.05680.jkim@FreeBSD.org> In-Reply-To: <200708091645.05680.jkim@FreeBSD.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 09 Aug 2007 22:58:47 -0000 Jung-uk Kim schreef: > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: >> I tried installing this on my i386 FreeBSD-CURRENT SMP box >> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The build >> first failed because of GCC 4.2 warnings-as-errors about deprecated >> string conversions. After commenting out a -Werror in >> work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug >> server built fine, but it failed in test_gamma. I've attached the >> hs_err log. > > The attached patch should fix the build problem on -CURRENT. > Got it. > Your error log shows that you set JAVA_HOME wrong: > > Environment Variables: > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > Building with diablo-jdk15 is supported? After moving the patch to files/ and removing work/ , rebuilding the port now lets the gamma tests succeed. But now it fails with an AssertionError when zipping up rt.jar. The build log including some additional information is available at http://home.tiscali.nl/rladan/freebsd/AssertionError.bz2 (35kB). Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Thu Aug 9 23:23:43 2007 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 56EA916A418 for ; Thu, 9 Aug 2007 23:23:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 19EA513C467 for ; Thu, 9 Aug 2007 23:23:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l79NNgZI082748; Thu, 9 Aug 2007 19:23:42 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Thu, 9 Aug 2007 19:23:37 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <200708091645.05680.jkim@FreeBSD.org> <46BB9860.4050105@gmail.com> In-Reply-To: <46BB9860.4050105@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708091923.39715.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3908/Thu Aug 9 17:32:41 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Rene Ladan Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 09 Aug 2007 23:23:43 -0000 On Thursday 09 August 2007 06:42 pm, Rene Ladan wrote: > Jung-uk Kim schreef: > > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > >> I tried installing this on my i386 FreeBSD-CURRENT SMP box > >> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The > >> build first failed because of GCC 4.2 warnings-as-errors about > >> deprecated string conversions. After commenting out a -Werror > >> in > >> work/hotspot/build/bsd/makefiles/gcc.make , the > >> hotspot-fastdebug server built fine, but it failed in > >> test_gamma. I've attached the hs_err log. > > > > The attached patch should fix the build problem on -CURRENT. > > Got it. > > > Your error log shows that you set JAVA_HOME wrong: > > > > Environment Variables: > > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > > Building with diablo-jdk15 is supported? I believe it is (see below). > After moving the patch to files/ and removing work/ , rebuilding > the port now lets the gamma tests succeed. But now it fails with > an AssertionError when zipping up rt.jar. The build log including > some additional information is available at > http://home.tiscali.nl/rladan/freebsd/AssertionError.bz2 (35kB). I heard that there are some subtle issues with i386 + SMP + compat6x pthread + CURRENT + diablo combination. :-( Some lucky people have done it by turning off SMP and/or by trying several times. I am sorry it is so painful to build JDK on certain configurations like yours but I had no time to track it down. Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 10:20:06 2007 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 8EF2F16A41A for ; Fri, 10 Aug 2007 10:20:06 +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 766AA13C48A for ; Fri, 10 Aug 2007 10:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7AAK6mh001909 for ; Fri, 10 Aug 2007 10:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7AAK6tu001908; Fri, 10 Aug 2007 10:20:06 GMT (envelope-from gnats) Date: Fri, 10 Aug 2007 10:20:06 GMT Message-Id: <200708101020.l7AAK6tu001908@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Tobias Grosser Cc: Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tobias Grosser List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 10:20:06 -0000 The following reply was made to PR ports/113467; it has been noted by GNATS. From: Tobias Grosser To: bug-followup@FreeBSD.org, robbak@gmail.com Cc: Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current Date: Fri, 10 Aug 2007 11:50:11 +0200 I think I found a workaround for this problem. Have a look at: http://lists.freebsd.org/pipermail/freebsd-java/2007-August/006554.html The solution I found was to decrease optimization by replacing every occurence of "-O2" or "-O3" in the files: - ports/java/jdk15/work/j2se/make/common/Defs-bsd.gmk - ports/java/jdk15/work/hotspot/build/bsd/makefiles/gcc.make with "-O1" and bootstrap using linux-sun-jdk15. With decreased optimization the jdk15 port compiles fine. I tried to compile the jdk15 with optimization using the new compiled java/jdk15 to bootstrap, but again the compile errors from above broke the build. With decreased opimization it works again. Could you try, if this solves the problem for you? From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 11:28:59 2007 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 6D58616A41B for ; Fri, 10 Aug 2007 11:28:59 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 48A4713C46C for ; Fri, 10 Aug 2007 11:28:35 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from hwh.gddsn.org.cn (hwh [192.168.168.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id E4F7438CB9B; Fri, 10 Aug 2007 10:24:03 +0800 (CST) Message-ID: <46BBCC41.3080602@gddsn.org.cn> Date: Fri, 10 Aug 2007 10:24:01 +0800 From: Huang wen hui User-Agent: Thunderbird 2.0.0.6 (X11/20070807) MIME-Version: 1.0 To: Jung-uk Kim , freebsd-java@freebsd.org References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> <200708091645.05680.jkim@FreeBSD.org> <200708091712.00200.jkim@FreeBSD.org> In-Reply-To: <200708091712.00200.jkim@FreeBSD.org> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 10 Aug 2007 11:28:59 -0000 Jung-uk Kim wrote: > On Thursday 09 August 2007 04:44 pm, Jung-uk Kim wrote: > >> On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: >> >>> I tried installing this on my i386 FreeBSD-CURRENT SMP box >>> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The >>> build first failed because of GCC 4.2 warnings-as-errors about >>> deprecated string conversions. After commenting out a -Werror in >>> work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug >>> server built fine, but it failed in test_gamma. I've attached >>> the hs_err log. >>> >> The attached patch should fix the build problem on -CURRENT. >> Hotspot problem fixed, but I got another problem : /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include/freebsd -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/adapter/oji -I../../../../src/plugin/share/plugin/mozilla_headers_18/caps -I../../../../src/plugin/share/plugin/mozilla_headers_18/java -I../../../../src/plugin/share/plugin/mozilla_headers_18/js -I../../../../src/plugin/share/plugin/mozilla_headers_18/liveconnect -I../../../../src/plugin/share/plugin/mozilla_headers_18/nspr -I../../../../src/plugin/share/plugin/mozilla_headers_18/oji -I../../../../src/plugin/share/plugin/mozilla_headers_18/plugin -I../../../../src/plugin/share/plugin/mozilla_headers_18/xpcom -I../../../../src/plugin/share/adapter/common -I../../../../src/plugin/share/adapter/include -I../../../../src/plugin/solaris/nscore -I/usr/local/include -I/usr/local/include -I../../../../src/plugin/share/jpiapi -I../../../../../j2se/src/solaris/javavm/export -I../../../../../j2se/src/share/javavm/export -I../../../../../j2se/src/share/javavm/include -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -DPLUGIN_NODOTVERSION=\"160_01\" -DPLUGIN_VERSION=\"1.6.0_01\" -DVERSION=\"1.6.0_01-p1-b00\" -DRELEASE=\"1.6.0_01-p1\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -c -o /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JavaPluginFactory.o ../../../../src/plugin/share/adapter/common/CNSAdapter_JavaPluginFactory.cpp ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function 'virtual JDresult CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:146: error: cast from 'PRThread*' to 'JDUint32' loses precision gmake[5]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter' gmake[4]: *** [parallel_compile] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter' gmake[3]: *** [oji-adapter] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter' gmake[2]: *** [adapter] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 12:50:44 2007 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 45DF416A419 for ; Fri, 10 Aug 2007 12:50:44 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id E4B1113C428 for ; Fri, 10 Aug 2007 12:50:43 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so45243wra for ; Fri, 10 Aug 2007 05:50:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wn5xgew+iNgz19dYiyo9+h8tMWGIUTzb3TwWIX5UBx4waqOisQv7vgVlQhHjMQMx/+e14euVbsBdLm+42pRC+pJLxAFdaiZTjNjACcIWVCzkqk3kN3g0qrg3dKRSK8IZBg1nyeL9dayCWkLnIm7l4tCmv+aGpvE6cDYu07RpjnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uF9Qphg69a1P8B/PTNXM7g7D7NUR83CW6gbhWt084etuPx8BGZleNVfE+ujs4M2cqIj2hJU29AFsFSsApTnxT6vcmblJPFBeE0A9UvQpJ6eyHJM9tDu6VEknchWot27ljNtApeAOYjO/N5zCMWKFsmfVzvfs5VDc6ompABTH0JY= Received: by 10.90.25.3 with SMTP id 3mr3122243agy.1186750242231; Fri, 10 Aug 2007 05:50:42 -0700 (PDT) Received: by 10.90.55.10 with HTTP; Fri, 10 Aug 2007 05:50:42 -0700 (PDT) Message-ID: Date: Fri, 10 Aug 2007 07:50:42 -0500 From: Matt To: "Rene Ladan" In-Reply-To: <46BB9860.4050105@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070803053142.GA4434@misty.eyesbeyond.com> <46B5EDF6.3020603@gmail.com> <200708091645.05680.jkim@FreeBSD.org> <46BB9860.4050105@gmail.com> Cc: Jung-uk Kim , freebsd-java@freebsd.org Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 10 Aug 2007 12:50:44 -0000 On 8/9/07, Rene Ladan wrote: > Jung-uk Kim schreef: > > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > >> I tried installing this on my i386 FreeBSD-CURRENT SMP box > >> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The build > >> first failed because of GCC 4.2 warnings-as-errors about deprecated > >> string conversions. After commenting out a -Werror in > >> work/hotspot/build/bsd/makefiles/gcc.make , the hotspot-fastdebug > >> server built fine, but it failed in test_gamma. I've attached the > >> hs_err log. > > > > The attached patch should fix the build problem on -CURRENT. > > > Got it. > > Your error log shows that you set JAVA_HOME wrong: > > > > Environment Variables: > > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > > > Building with diablo-jdk15 is supported? > > After moving the patch to files/ and removing work/ , rebuilding the > port now lets the gamma tests succeed. But now it fails with an > AssertionError when zipping up rt.jar. The build log including some > additional information is available at > http://home.tiscali.nl/rladan/freebsd/AssertionError.bz2 (35kB). > See suggestion noted in http://lists.freebsd.org/pipermail/freebsd-java/2007-August/006579.html The optimization reduction noted there fixed my build issues on current for both jdk16 and jdk15. > Regards, > Rene > -- > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > (subkeys.pgp.net) > > "It won't fit on the line." > -- me, 2001 > > _______________________________________________ > 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" > From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 15:28:42 2007 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 557F116A421 for ; Fri, 10 Aug 2007 15:28:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id EEB7013C474 for ; Fri, 10 Aug 2007 15:28:41 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7AFSd5v024983; Fri, 10 Aug 2007 11:28:39 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Fri, 10 Aug 2007 11:28:29 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <200708091712.00200.jkim@FreeBSD.org> <46BBCC41.3080602@gddsn.org.cn> In-Reply-To: <46BBCC41.3080602@gddsn.org.cn> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708101128.36241.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3908/Thu Aug 9 17:32:41 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Huang wen hui Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 10 Aug 2007 15:28:42 -0000 On Thursday 09 August 2007 10:24 pm, Huang wen hui wrote: > Hotspot problem fixed, but I got another problem : > > /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses > -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include > -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/include/freebs >d > -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plu >gin -I../../../../src/plugin/solaris/common > -I../../../../src/plugin/share/adapter/oji > -I../../../../src/plugin/share/plugin/mozilla_headers_18/caps > -I../../../../src/plugin/share/plugin/mozilla_headers_18/java > -I../../../../src/plugin/share/plugin/mozilla_headers_18/js > -I../../../../src/plugin/share/plugin/mozilla_headers_18/liveconnec >t -I../../../../src/plugin/share/plugin/mozilla_headers_18/nspr > -I../../../../src/plugin/share/plugin/mozilla_headers_18/oji > -I../../../../src/plugin/share/plugin/mozilla_headers_18/plugin > -I../../../../src/plugin/share/plugin/mozilla_headers_18/xpcom > -I../../../../src/plugin/share/adapter/common > -I../../../../src/plugin/share/adapter/include > -I../../../../src/plugin/solaris/nscore -I/usr/local/include > -I/usr/local/include -I../../../../src/plugin/share/jpiapi > -I../../../../../j2se/src/solaris/javavm/export > -I../../../../../j2se/src/share/javavm/export > -I../../../../../j2se/src/share/javavm/include > -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE > -DXP_UNIX -DPLUGIN_NODOTVERSION=\"160_01\" > -DPLUGIN_VERSION=\"1.6.0_01\" -DVERSION=\"1.6.0_01-p1-b00\" > -DRELEASE=\"1.6.0_01-p1\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -c > -o > /usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugi >n/adapter/ns7/obj/CNSAdapter_JavaPluginFactory.o > ../../../../src/plugin/share/adapter/common/CNSAdapter_JavaPluginFa >ctory.cpp > ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.c >pp: In member function 'virtual JDresult > CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)': > ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.c >pp:146: error: cast from 'PRThread*' to 'JDUint32' loses precision > gmake[5]: *** > [/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plug >in/adapter/ns7/obj/CNSAdapter_JVMManager.o] Error 1 > gmake[5]: *** Waiting for unfinished jobs.... > gmake[5]: Leaving directory > `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter' > gmake[4]: *** [parallel_compile] Error 2 > gmake[4]: Leaving directory > `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter/oji-adapter' > gmake[3]: *** [oji-adapter] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk16/work/deploy/make/plugin/adapter' > gmake[2]: *** [adapter] Error 2 > gmake[2]: Leaving directory > `/usr/ports/java/jdk16/work/deploy/make/plugin' gmake[1]: *** > [plugin-all] Error 2 > gmake[1]: Leaving directory > `/usr/ports/java/jdk16/work/deploy/make' gmake: *** [deploy-build] > Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk16. > *** Error code 1 > > Stop in /usr/ports/java/jdk16. Java plugin is not supported on amd64 yet. I have working patchsets for Update 2, though. ;-) Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 15:56:58 2007 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 C17A816A41B for ; Fri, 10 Aug 2007 15:56:58 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 436EF13C4E5 for ; Fri, 10 Aug 2007 15:56:58 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7AFuvmP027700; Fri, 10 Aug 2007 11:56:57 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Matt Date: Fri, 10 Aug 2007 11:56:51 -0400 User-Agent: KMail/1.6.2 References: <20070803053142.GA4434@misty.eyesbeyond.com> <46BB9860.4050105@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708101156.55080.jkim@FreeBSD.org> Cc: freebsd-java@FreeBSD.org, Rene Ladan Subject: Re: JDK 1.6.0 patchset 1 "Brumby" 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, 10 Aug 2007 15:56:58 -0000 On Friday 10 August 2007 08:50 am, Matt wrote: > On 8/9/07, Rene Ladan wrote: > > Jung-uk Kim schreef: > > > On Sunday 05 August 2007 11:34 am, Rene Ladan wrote: > > >> I tried installing this on my i386 FreeBSD-CURRENT SMP box > > >> (2007-08-04 06:32 UTC) using diablo-jdk15 as bootstrap. The > > >> build first failed because of GCC 4.2 warnings-as-errors about > > >> deprecated string conversions. After commenting out a -Werror > > >> in work/hotspot/build/bsd/makefiles/gcc.make , the > > >> hotspot-fastdebug server built fine, but it failed in > > >> test_gamma. I've attached the hs_err log. > > > > > > The attached patch should fix the build problem on -CURRENT. > > > > Got it. > > > > > Your error log shows that you set JAVA_HOME wrong: > > > > > > Environment Variables: > > > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > > > > Building with diablo-jdk15 is supported? > > > > After moving the patch to files/ and removing work/ , rebuilding > > the port now lets the gamma tests succeed. But now it fails with > > an AssertionError when zipping up rt.jar. The build log > > including some additional information is available at > > http://home.tiscali.nl/rladan/freebsd/AssertionError.bz2 (35kB). > > See suggestion noted in > > http://lists.freebsd.org/pipermail/freebsd-java/2007-August/006579. >html > > The optimization reduction noted there fixed my build issues on > current for both jdk16 and jdk15. It is very strange but I can believe that. GCC 4.2.x has many optimization bugs. Some problems were fixed in 4.2.1 but there are some serious regressions like these: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32328 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32716 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32992 Complex, C++ intensive, and optimization flag sensitive applications, e.g., JDK and OpenOffice.org, may be affected by them without being noticed. :-( Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Fri Aug 10 23:05:15 2007 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 2814E16A418 for ; Fri, 10 Aug 2007 23:05:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id C945A13C461 for ; Fri, 10 Aug 2007 23:05:14 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l7AN5D3x054461 for ; Fri, 10 Aug 2007 19:05:14 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@FreeBSD.org Date: Fri, 10 Aug 2007 19:05:08 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200708101905.11308.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/3911/Fri Aug 10 16:44:41 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: [PATCH] JDK 1.6 plugin for amd64 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, 10 Aug 2007 23:05:15 -0000 I have updated my Java plugin patchsets for amd64 to JDK 1.6 Update 1. (Well, actually it is back-ported from my patchsets for JDK 1.6 Update 2.) You can download the patch for ports tree here: http://people.freebsd.org/~jkim/ports-jdk16-plugin-amd64.diff As I did for jdk15, it is turned off by default. So, you have to run 'make config' and select 'WEB' to enable it. Enjoy, Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Sat Aug 11 11:20:16 2007 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 DE6A816A41B for ; Sat, 11 Aug 2007 11:20:16 +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 C683A13C457 for ; Sat, 11 Aug 2007 11:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7BBKGuZ092701 for ; Sat, 11 Aug 2007 11:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7BBKGU2092700; Sat, 11 Aug 2007 11:20:16 GMT (envelope-from gnats) Date: Sat, 11 Aug 2007 11:20:16 GMT Message-Id: <200708111120.l7BBKGU2092700@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Robert Backhaus" Cc: Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Backhaus List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2007 11:20:17 -0000 The following reply was made to PR ports/113467; it has been noted by GNATS. From: "Robert Backhaus" To: lists_freebsd_org@07.antispam.web-wahnsinn.de Cc: bug-followup@freebsd.org Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current Date: Sat, 11 Aug 2007 20:50:01 +1000 On 8/10/07, Tobias Grosser wrote: > I think I found a workaround for this problem. > > Have a look at: > http://lists.freebsd.org/pipermail/freebsd-java/2007-August/006554.html > > The solution I found was to decrease optimization by replacing every > occurence of "-O2" or "-O3" > in the files: > - ports/java/jdk15/work/j2se/make/common/Defs-bsd.gmk > - ports/java/jdk15/work/hotspot/build/bsd/makefiles/gcc.make > with "-O1" and bootstrap using linux-sun-jdk15. > > With decreased optimization the jdk15 port compiles fine. > > I tried to compile the jdk15 with optimization using the new compiled java/jdk15 to bootstrap, but again > the compile errors from above broke the build. With decreased opimization it works again. > > Could you try, if this solves the problem for you? > > I'll try that. I haven't been able to try it for a little patchset 6. I will attempt to build with -O2 as you have suggested. I will also be building 1.6. From owner-freebsd-java@FreeBSD.ORG Sat Aug 11 12:00:08 2007 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 460AD16A4AB for ; Sat, 11 Aug 2007 12:00:08 +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 0A6AF13C46B for ; Sat, 11 Aug 2007 12:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7BC07lV095220 for ; Sat, 11 Aug 2007 12:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7BC07dW095219; Sat, 11 Aug 2007 12:00:07 GMT (envelope-from gnats) Date: Sat, 11 Aug 2007 12:00:07 GMT Message-Id: <200708111200.l7BC07dW095219@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Tobias Grosser Cc: Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tobias Grosser List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2007 12:00:08 -0000 The following reply was made to PR ports/113467; it has been noted by GNATS. From: Tobias Grosser To: Robert Backhaus Cc: bug-followup@freebsd.org Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current Date: Sat, 11 Aug 2007 13:54:11 +0200 > I'll try that. I haven't been able to try it for a little patchset 6. > I will attempt to build with -O2 as you have suggested. > I will also be building 1.6. I built with -O1. But it may be ok use -O2. I have not tried this. From owner-freebsd-java@FreeBSD.ORG Sat Aug 11 17:55:50 2007 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 A11CB16A41A for ; Sat, 11 Aug 2007 17:55:50 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 60BCE13C46A for ; Sat, 11 Aug 2007 17:55:50 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost [127.0.0.1]) by misty.eyesbeyond.com (8.13.8/8.13.8) with ESMTP id l7BHtm9N063758; Sat, 11 Aug 2007 11:55:49 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.8/8.13.8/Submit) id l7BHtmxE063757; Sat, 11 Aug 2007 11:55:48 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 11 Aug 2007 11:55:48 -0600 From: Greg Lewis To: Tobias Grosser Message-ID: <20070811175547.GA63704@misty.eyesbeyond.com> References: <200708111200.l7BC07dW095219@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200708111200.l7BC07dW095219@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@FreeBSD.org Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current 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, 11 Aug 2007 17:55:50 -0000 On Sat, Aug 11, 2007 at 12:00:07PM +0000, Tobias Grosser wrote: > The following reply was made to PR ports/113467; it has been noted by GNATS. > > From: Tobias Grosser > To: Robert Backhaus > Cc: bug-followup@freebsd.org > Subject: Re: ports/113467: Multiple "missing return value" errors building > JDK on current > Date: Sat, 11 Aug 2007 13:54:11 +0200 > > > I'll try that. I haven't been able to try it for a little patchset 6. > > I will attempt to build with -O2 as you have suggested. > > I will also be building 1.6. > > I built with -O1. But it may be ok use -O2. I have not tried this. I believe that -O2 causes the same problems as -O3. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Aug 11 17:59:19 2007 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 5E47816A41B for ; Sat, 11 Aug 2007 17:59:19 +0000 (UTC) (envelope-from steve@strassmann.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id EB28413C469 for ; Sat, 11 Aug 2007 17:59:18 +0000 (UTC) (envelope-from steve@strassmann.com) Received: (qmail 99785 invoked from network); 11 Aug 2007 17:59:17 -0000 Received: from 207.172.213.81 (HELO ?192.168.102.103?) (207.172.213.81) by relay03.pair.com with SMTP; 11 Aug 2007 17:59:17 -0000 X-pair-Authenticated: 207.172.213.81 Mime-Version: 1.0 Message-Id: Date: Sat, 11 Aug 2007 14:06:18 -0400 To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org From: Steve Strassmann Content-Type: text/plain; charset="us-ascii" Cc: Subject: trouble getting and installing FreeBSD-Java (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: Sat, 11 Aug 2007 17:59:19 -0000 Hi, just to let you know further, I downloaded jdk-1_5_0_12-linux-i586.bin from Sun to see if I could unpack it and apply your patches. I tried installing it under FreeBSD 4.8 and got about this far: me@pair.com> ./jdk-1_5_0_12-linux-i586.bin ...[lots of stuff]... Creating jdk1.5.0_12/jre/lib/plugin.jar Creating jdk1.5.0_12/jre/lib/javaws.jar Creating jdk1.5.0_12/jre/lib/deploy.jar Bad system call (core dumped) Done. How can I get a JDK working on FreeBSD? Could you please provide some URLs on the project pages indicating what to download? thank you! >Date: Sat, 11 Aug 2007 13:47:21 -0400 >To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org >From: Steve Strassmann >Subject: trouble getting and installing FreeBSD-Java > > >Hi, I'm trying to install FreeBSD Java on my pair.com >account (dedicated, not shared server) running FreeBSD 4.8 > >I visited http://www.freebsd.org/java/install.html but there >are no instructions or links for where to download your port. > >I was specifically hoping to download the native JDK on FreeBSD, >what is the download URL? > >I visited http://www.eyesbeyond.com/freebsddom/java/index.html, >but there is no contact info, and again, no download URLs. > >I visited http://www.eyesbeyond.com/freebsddom/java/jdk15.html. >It suggests I can download JDK 1.5 from Sun. When I go to the Sun >site, there are many different JDK 1.5s to choose from! Which one >do I use? JDK for Windows, Linux, Solaris, for x86 or x64? > >I tried downloading JDK 5.0 update 12 for linux on x86, so I have >these two files now: > > jdk-1_5_0_12-linux-i586.bin > bsd-jdk15-patches-current.tar.bz2 > >How can I tell if the patches work on this particular JDK? >Will this get me the Native JDK or Sun JDK for Linux? > >thanks! > - Steve > From owner-freebsd-java@FreeBSD.ORG Sat Aug 11 18:06:57 2007 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 C9ECF16A418 for ; Sat, 11 Aug 2007 18:06:57 +0000 (UTC) (envelope-from steve@strassmann.com) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id 62F4313C461 for ; Sat, 11 Aug 2007 18:06:57 +0000 (UTC) (envelope-from steve@strassmann.com) Received: (qmail 28139 invoked from network); 11 Aug 2007 17:40:15 -0000 Received: from 207.172.213.81 (HELO ?192.168.102.103?) (207.172.213.81) by relay00.pair.com with SMTP; 11 Aug 2007 17:40:15 -0000 X-pair-Authenticated: 207.172.213.81 Mime-Version: 1.0 Message-Id: Date: Sat, 11 Aug 2007 13:47:21 -0400 To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org From: Steve Strassmann Content-Type: text/plain; charset="us-ascii" ; format="flowed" Cc: Subject: trouble getting and installing FreeBSD-Java 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, 11 Aug 2007 18:06:57 -0000 Hi, I'm trying to install FreeBSD Java on my pair.com account (dedicated, not shared server) running FreeBSD 4.8 I visited http://www.freebsd.org/java/install.html but there are no instructions or links for where to download your port. I was specifically hoping to download the native JDK on FreeBSD, what is the download URL? I visited http://www.eyesbeyond.com/freebsddom/java/index.html, but there is no contact info, and again, no download URLs. I visited http://www.eyesbeyond.com/freebsddom/java/jdk15.html. It suggests I can download JDK 1.5 from Sun. When I go to the Sun site, there are many different JDK 1.5s to choose from! Which one do I use? JDK for Windows, Linux, Solaris, for x86 or x64? I tried downloading JDK 5.0 update 12 for linux on x86, so I have these two files now: jdk-1_5_0_12-linux-i586.bin bsd-jdk15-patches-current.tar.bz2 How can I tell if the patches work on this particular JDK? Will this get me the Native JDK or Sun JDK for Linux? thanks! - Steve