From owner-freebsd-java@FreeBSD.ORG Sun Nov 21 11:47:09 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD2E16A4CE for ; Sun, 21 Nov 2004 11:47:09 +0000 (GMT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 856DE43D49 for ; Sun, 21 Nov 2004 11:47:08 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtp (Exim 4.43 (FreeBSD)) id 1CVqBV-000Ne9-A1; Sun, 21 Nov 2004 19:47:13 +0800 Message-Id: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Sun, 21 Nov 2004 19:47:00 +0800 To: freebsd-java@freebsd.org From: Ganbold Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: building jdk1.4 natively on FreeBSD 5.3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 11:47:09 -0000 Hi, I would like to install jdk1.4 natively on FreeBSD 5.3. I know there is a way to install jdk1.4 on FreeBSD using linux emulation and linux procfs and I installed jdk1.4 before in such way. Right now I would like to install jdk1.4 natively on FreeBSD 5.3 without any linux emulation. How can I build jdk1.4 natively? Is it possible? If it is not possible, is there any plan to make native port of jdk1.4 or jdk1.5 soon? thanks in advance, Ganbold From owner-freebsd-java@FreeBSD.ORG Sun Nov 21 12:49:10 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C118E16A4CE for ; Sun, 21 Nov 2004 12:49:10 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B944643D53 for ; Sun, 21 Nov 2004 12:49:09 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) iALCn3Cp048383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Nov 2004 12:49:03 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iALCn3Gw048382; Sun, 21 Nov 2004 12:49:03 GMT (envelope-from matthew) Date: Sun, 21 Nov 2004 12:49:03 +0000 From: Matthew Seaman To: Ganbold Message-ID: <20041121124903.GA47942@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Ganbold , freebsd-java@freebsd.org References: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 21 Nov 2004 12:49:04 +0000 (GMT) X-Virus-Scanned: ClamAV 0.80/596/Sat Nov 20 10:53:39 2004 clamav-milter version 0.80j on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-java@freebsd.org Subject: Re: building jdk1.4 natively on FreeBSD 5.3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 12:49:11 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 21, 2004 at 07:47:00PM +0800, Ganbold wrote: > I would like to install jdk1.4 natively on FreeBSD 5.3. > I know there is a way to install jdk1.4 on FreeBSD using linux emulation= =20 > and linux procfs and I installed jdk1.4 before in such way. > Right now I would like to install jdk1.4 natively on FreeBSD 5.3 without= =20 > any linux emulation. > How can I build jdk1.4 natively? Is it possible? > If it is not possible, is there any plan to make native port of jdk1.4 or= =20 > jdk1.5 soon? In order to build JDK 1.4.2 you need a working JDK 1.4.x to compile everything. As things stand, that means at some point you have to use a Linux JDK to do an initial compilation. Once you've compiled the JDK one time using the Linux emulation, you can discard the linux bits and use your native JDK to compile any updates -- in fact, the java/jdk14 port will automatically use a preexisting native JDK 1.4.x in preference to a linux one. You can also take an installed native JDK 1.4.2 and create a package out of it -- read about the '-b' option in pkg_create(1), which you can then copy onto another system and install there. Note that you can only do this to install a native JDK *on your own systems*. Be careful however, as the terms of the Sun Community Source License are very strict about not permitting redistribution. Making a native port requires negotiating a license with Sun before it would be legal to distribute the port. That means getting the port to a state where it can formally pass Sun's compliance tests (which I think the java/jdk14 port can do at the moment), and then getting the lawyers to argue over the details. All that costs money -- penny-ante stuff for most corporations, but a significant burden for a volunteer project like FreeBSD. ie. Needs a donor with deep pockets. A java/jdk15 port couldn't be created until JDK 5.0[1] was released under the SCSL (or another more userfriendly license as is consistently rumoured to be about to happen). JDK 5.0 is now available (as of this month) under the SCSL or the JRL (Java Research License) -- so I guess there are a few FreeBSD developers busily working on making it compile and run under FreeBSD. That's not a trivial task, and you'll just have to wait until they have something in good enough shape to release. From just a cursory reading, the JRL seems to me to be slightly more friendly than the SCSL for individual or academic use, and can permit redistribution in binary format given that all users agree to abide by the terms of the JRL. Cheers, Matthew [1] Would anyone within reach please smack Sun's marketing department for interfering with the version numbering please? --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBoI6/iD657aJF7eIRAkmtAKCBaevedbUlG+Q4J5JJG4s6KLrCVgCeKphu OLq0gJx9SOhFi7iLANBKP5M= =ddy8 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 02:58:38 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC8416A4CE for ; Mon, 22 Nov 2004 02:58:38 +0000 (GMT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B58743D55 for ; Mon, 22 Nov 2004 02:58:33 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.43 (FreeBSD)) id 1CW4PU-000E6o-VC; Mon, 22 Nov 2004 10:58:37 +0800 Message-Id: <6.2.0.14.2.20041122104449.03062eb0@202.179.0.80> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Mon, 22 Nov 2004 10:58:16 +0800 To: Matthew Seaman From: Ganbold In-Reply-To: <20041121124903.GA47942@happy-idiot-talk.infracaninophile.c o.uk> References: <6.2.0.14.2.20041121193926.03057100@202.179.0.80> <20041121124903.GA47942@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-java@freebsd.org Subject: Re: building jdk1.4 natively on FreeBSD 5.3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 02:58:38 -0000 At 08:49 PM 11/21/2004, you wrote: >On Sun, Nov 21, 2004 at 07:47:00PM +0800, Ganbold wrote: > > > I would like to install jdk1.4 natively on FreeBSD 5.3. > > I know there is a way to install jdk1.4 on FreeBSD using linux emulation > > and linux procfs and I installed jdk1.4 before in such way. > > Right now I would like to install jdk1.4 natively on FreeBSD 5.3 without > > any linux emulation. > > How can I build jdk1.4 natively? Is it possible? > > If it is not possible, is there any plan to make native port of jdk1.4 or > > jdk1.5 soon? > >In order to build JDK 1.4.2 you need a working JDK 1.4.x to compile >everything. As things stand, that means at some point you have to use >a Linux JDK to do an initial compilation. Once you've compiled the >JDK one time using the Linux emulation, you can discard the linux bits >and use your native JDK to compile any updates -- in fact, the >java/jdk14 port will automatically use a preexisting native JDK 1.4.x >in preference to a linux one. I see. So it means that after jdk1.4 installation I can discard linux emulation and linux procfs. Am I understanding right? >You can also take an installed native JDK 1.4.2 and create a package >out of it -- read about the '-b' option in pkg_create(1), which you >can then copy onto another system and install there. Note that you >can only do this to install a native JDK *on your own systems*. Be >careful however, as the terms of the Sun Community Source License are >very strict about not permitting redistribution. OK, I see. I will try to make package some time later on. >Making a native port requires negotiating a license with Sun before it >would be legal to distribute the port. That means getting the port to >a state where it can formally pass Sun's compliance tests (which I >think the java/jdk14 port can do at the moment), and then getting the >lawyers to argue over the details. All that costs money -- penny-ante >stuff for most corporations, but a significant burden for a volunteer >project like FreeBSD. ie. Needs a donor with deep pockets. Yes, I understand there is licensing issue around Java. >A java/jdk15 port couldn't be created until JDK 5.0[1] was released >under the SCSL (or another more userfriendly license as is >consistently rumoured to be about to happen). JDK 5.0 is now >available (as of this month) under the SCSL or the JRL (Java Research >License) -- so I guess there are a few FreeBSD developers busily >working on making it compile and run under FreeBSD. That's not a >trivial task, and you'll just have to wait until they have something >in good enough shape to release. From just a cursory reading, the JRL >seems to me to be slightly more friendly than the SCSL for individual >or academic use, and can permit redistribution in binary format given >that all users agree to abide by the terms of the JRL. Anyway it would be nice if FreeBSD will support native versions of jdk1.4 or jdk1.5 in future. I'm a big fan of FreeBSD and I don't want to use linux with java. The only reason I want to use java on FreeBSD is tomcat and develop some jsp/servlets. I could use jdk1.3 on FreeBSD 4.x, but jdk1.3 lacks some methods and class. > Cheers, > > Matthew Thanks for answering my email. regards, Ganbold >[1] Would anyone within reach please smack Sun's marketing department >for interfering with the version numbering please? > >-- >Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way >PGP: http://www.infracaninophile.co.uk/pgpkey Marlow >Tel: +44 1628 476614 Bucks., SL7 1TH UK From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 08:07:12 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDE6716A4CE for ; Mon, 22 Nov 2004 08:07:12 +0000 (GMT) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B081D43D2F for ; Mon, 22 Nov 2004 08:07:11 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id iAM8ca5x003405; Mon, 22 Nov 2004 10:38:36 +0200 Received: from localhost (achill@localhost)iAM8cZQh003401; Mon, 22 Nov 2004 10:38:35 +0200 Date: Mon, 22 Nov 2004 10:38:35 +0200 (EET) From: Achilleus Mantzios To: Jonathan Belson In-Reply-To: <1521.192.168.0.1.1100885699.squirrel@192.168.0.1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 08:07:13 -0000 O Jonathan Belson έγραψε στις Nov 19, 2004 : > > O Jonathan Belson έγραψε στις Nov 19, 2004 : > >> > Oooppss... > >> > > >> > What the funk is > >> > devfs 1 1 0 100% /var/named/dev > >> > ???? > >> > >> As far as I know, devfs is a smarter replacement for the old /dev > >> directory. > > > > Sure...... but on /var/named????? DNS?? NAME SERVER?? > > BIND is run in a sandbox in 5.3. Have a look at 'named_chrootdir=' in > /etc/defaults/rc.conf, and /etc/rc.d/named. > > >> > Where is your *freebsd* /proc ??? > >> > it should be like > >> > procfs on /proc (procfs, local) > >> > >> Hmm. Should I have one with 5.3-RELEASE or has it Gone Away? > > It seems /proc isn't mounted by default on 5.x for security reasons. > > > Yes, this is far from a normal situation, and your system needs > > a little administration! > > I'm guessing you haven't used 5.x :-) > > > If you cant run linux java, then how will you compile native jdk?? > > > > Is this the first time you installed FreeBSD??? > > If you mean: 'is it a clean install?', then the answer is yes. > If you mean: 'have I ever installed FreeBSD before?', then the answer > is yes, I've been using it since around 2.2.8 (I used NetBSD before that). > > Does anyone else have any ideas? For the time being, all i can say is that in a newly updated FreeBSD 5.3-STABLE #1 (with zero ports initially installed however), linux-sun-jdk-1.4.2.05 's freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -server -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Server VM (build 1.4.2_05-b04, mixed mode) freebsd# > > Cheers, > > --Jon > > http://www.witchspace.com > > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 09:00:05 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 135AD16A4CE for ; Mon, 22 Nov 2004 09:00:05 +0000 (GMT) Received: from mta09-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0191D43D39 for ; Mon, 22 Nov 2004 09:00:04 +0000 (GMT) (envelope-from jon@witchspace.com) Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta09-winn.mailhost.ntl.com with ESMTP <20041122090003.VJWQ1968.mta09-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com> for ; Mon, 22 Nov 2004 09:00:03 +0000 Received: from witchspace.com ([81.110.67.239]) by aamta04-winn.mailhost.ntl.com with SMTP <20041122090003.EWL2076.aamta04-winn.mailhost.ntl.com@witchspace.com> for ; Mon, 22 Nov 2004 09:00:03 +0000 Received: (qmail 28300 invoked from network); 22 Nov 2004 08:59:59 -0000 Received: from unknown (HELO webmail.home) (127.0.0.1) by localhost.home with SMTP; 22 Nov 2004 08:59:59 -0000 Received: from 192.168.0.3 (SquirrelMail authenticated user jon); by webmail.home with HTTP; Mon, 22 Nov 2004 08:59:59 -0000 (GMT) Message-ID: <52188.192.168.0.3.1101113999.squirrel@192.168.0.3> In-Reply-To: References: <1521.192.168.0.1.1100885699.squirrel@192.168.0.1> Date: Mon, 22 Nov 2004 08:59:59 -0000 (GMT) From: "Jonathan Belson" To: "Achilleus Mantzios" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 09:00:05 -0000 > O Jonathan Belson έγραψε στις Nov 19, 2004 : > For the time being, > all i can say is that in a newly updated FreeBSD 5.3-STABLE #1 > (with zero ports initially installed however), > linux-sun-jdk-1.4.2.05 's > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -version > java version "1.4.2_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -server -version > java version "1.4.2_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > Java HotSpot(TM) Server VM (build 1.4.2_05-b04, mixed mode) > freebsd# I'm guessing you're using the GENERIC kernel? I'll have a go on a fresh install and see if I can find if it's down to kernel options. Cheers, --Jon http://www.witchspace.com From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 09:11:14 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15F3E16A4CE for ; Mon, 22 Nov 2004 09:11:14 +0000 (GMT) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0428C43D1F for ; Mon, 22 Nov 2004 09:11:13 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id iAM9gc5x003511; Mon, 22 Nov 2004 11:42:38 +0200 Received: from localhost (achill@localhost)iAM9gc8a003507; Mon, 22 Nov 2004 11:42:38 +0200 Date: Mon, 22 Nov 2004 11:42:38 +0200 (EET) From: Achilleus Mantzios To: Jonathan Belson In-Reply-To: <52188.192.168.0.3.1101113999.squirrel@192.168.0.3> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 09:11:14 -0000 O Jonathan Belson έγραψε στις Nov 22, 2004 : > > O Jonathan Belson έγραψε στις Nov 19, 2004 : > > For the time being, > > all i can say is that in a newly updated FreeBSD 5.3-STABLE #1 > > (with zero ports initially installed however), > > linux-sun-jdk-1.4.2.05 's > > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -version > > java version "1.4.2_05" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > > Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) > > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -server -version > > java version "1.4.2_05" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) > > Java HotSpot(TM) Server VM (build 1.4.2_05-b04, mixed mode) > > freebsd# > > I'm guessing you're using the GENERIC kernel? I'll have a go on a fresh > install and see if I can find if it's down to kernel options. Yes except freebsd# diff -u /usr/src/sys/i386/conf/GENERIC /usr/src/sys/i386/conf/ACHIX53 --- /usr/src/sys/i386/conf/GENERIC Thu Nov 18 16:36:03 2004 +++ /usr/src/sys/i386/conf/ACHIX53 Fri Nov 19 09:32:33 2004 @@ -19,8 +19,6 @@ # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.8 2004/10/24 17:42:08 scottl Exp $ machine i386 -cpu I486_CPU -cpu I586_CPU cpu I686_CPU ident GENERIC freebsd# And just 1 minute ago, freebsd# /usr/local/jdk1.4.2/bin/java -version java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_22_nov_2004_09_50) Java HotSpot(TM) Client VM (build 1.4.2-p6-root_22_nov_2004_09_50, mixed mode) freebsd# /usr/local/jdk1.4.2/bin/java -server -version java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_22_nov_2004_09_50) Java HotSpot(TM) Server VM (build 1.4.2-p6-root_19_nov_2004_16_52, mixed mode) freebsd# I got a SEGV the first time i run make (mem overheating maybe), and a success the second time. The -server option with the linux jdk was just a redundancy. Now with native jdk, -server means the nasty java/71146 gcc 3.4.2 bug is away!!! I 'll assume you tried with the /proc mounted. Did that change anything? > > Cheers, > > --Jon > > http://www.witchspace.com > > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 09:20:23 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6DA516A4CF for ; Mon, 22 Nov 2004 09:20:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B72B843D48 for ; Mon, 22 Nov 2004 09:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAM9KNhL066082 for ; Mon, 22 Nov 2004 09:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAM9KNDs066081; Mon, 22 Nov 2004 09:20:23 GMT (envelope-from gnats) Date: Mon, 22 Nov 2004 09:20:23 GMT Message-Id: <200411220920.iAM9KNDs066081@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Achilleus Mantzios Subject: java/71146 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Achilleus Mantzios List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 09:20:24 -0000 The following reply was made to PR java/71146; it has been noted by GNATS. From: Achilleus Mantzios To: freebsd-gnats-submit@FreeBSD.org, Cc: Subject: java/71146 Date: Mon, 22 Nov 2004 11:51:03 +0200 (EET) It seems the bug is away in 5.3-STABLE. Should we close the bug? -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 11:01:59 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 291A416A4D9 for ; Mon, 22 Nov 2004 11:01:59 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB9943D6A for ; Mon, 22 Nov 2004 11:01:59 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAMB1wcQ075949 for ; Mon, 22 Nov 2004 11:01:58 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAMB1wHE075943 for freebsd-java@freebsd.org; Mon, 22 Nov 2004 11:01:58 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 22 Nov 2004 11:01:58 GMT Message-Id: <200411221101.iAMB1wHE075943@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 11:01:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/07/27] ports/69675 java Eclipse slow typing o [2004/08/30] java/71146 java jdk 1.4.2-p6 jboss,eclipse problems o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/09/28] java/72151 java JVM crash on 5.2.1-R o [2004/10/20] ports/72902 java Make of /usr/ports/java/jdk14 fails with o [2004/10/29] ports/73279 java www/firefox + java crash 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/02/14] java/62837 java linux-sun-jdk14 executables hang with COM o [2004/04/08] ports/65335 java [PATCH] java/jdk14: use bsd.java.mk for J o [2004/08/11] java/70292 java jdk14 compile problem 4 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 11:05:33 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B45616A4CE for ; Mon, 22 Nov 2004 11:05:33 +0000 (GMT) Received: from mps7.plala.or.jp (c150240.vh.plala.or.jp [210.150.150.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A93443D5C for ; Mon, 22 Nov 2004 11:05:32 +0000 (GMT) (envelope-from bland@FreeBSD.org) Received: from hub.bbnest.net ([219.167.0.188]) by mps7.plala.or.jp with ESMTP id <20041122110531.CGXM12024.mps7.plala.or.jp@hub.bbnest.net> for ; Mon, 22 Nov 2004 20:05:31 +0900 Received: from [10.0.0.2] (bland@nest.bbnest.net [10.0.0.2]) by hub.bbnest.net (8.13.1/8.13.1) with ESMTP id iAMB5U22016558 for ; Mon, 22 Nov 2004 20:05:31 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <41A1C7E3.6070805@FreeBSD.org> Date: Mon, 22 Nov 2004 20:05:07 +0900 From: Alexander Nedotsukov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041029 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@FreeBSD.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Minor patch for java/eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 11:05:33 -0000 Hey guys! Could you apply this patch, please? Index: files/eclipse.in =================================================================== RCS file: /home/ncvs/ports/java/eclipse/files/eclipse.in,v retrieving revision 1.1 diff -u -r1.1 eclipse.in --- files/eclipse.in 17 Jun 2003 17:39:48 -0000 1.1 +++ files/eclipse.in 21 Nov 2004 03:57:59 -0000 @@ -44,4 +44,4 @@ exit 1 fi -PATH=${JAVA_HOME}/bin:$PATH "${ECLIPSE_HOME}/eclipse" $@ +PATH=${JAVA_HOME}/bin:$PATH exec "${ECLIPSE_HOME}/eclipse" $@ Thanks, Alexander. From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 12:53:52 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8ACE16A4CE for ; Mon, 22 Nov 2004 12:53:52 +0000 (GMT) Received: from mta13-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85B543D31 for ; Mon, 22 Nov 2004 12:53:51 +0000 (GMT) (envelope-from jon@witchspace.com) Received: from aamta03-winn.mailhost.ntl.com ([212.250.162.8]) by mta13-winn.mailhost.ntl.com with ESMTP <20041122125351.HWVO5690.mta13-winn.mailhost.ntl.com@aamta03-winn.mailhost.ntl.com> for ; Mon, 22 Nov 2004 12:53:51 +0000 Received: from witchspace.com ([81.110.67.239]) by aamta03-winn.mailhost.ntl.com with SMTP <20041122125350.BIJN1113.aamta03-winn.mailhost.ntl.com@witchspace.com> for ; Mon, 22 Nov 2004 12:53:50 +0000 Received: (qmail 30995 invoked from network); 22 Nov 2004 12:53:47 -0000 Received: from unknown (HELO webmail.home) (127.0.0.1) by localhost.home with SMTP; 22 Nov 2004 12:53:47 -0000 Received: from 192.168.0.1 (SquirrelMail authenticated user jon); by webmail.home with HTTP; Mon, 22 Nov 2004 12:53:47 -0000 (GMT) Message-ID: <1597.192.168.0.1.1101128027.squirrel@192.168.0.1> In-Reply-To: References: <52188.192.168.0.3.1101113999.squirrel@192.168.0.3> Date: Mon, 22 Nov 2004 12:53:47 -0000 (GMT) From: "Jonathan Belson" To: "Achilleus Mantzios" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 12:53:52 -0000 > O Jonathan Belson έγραψε στις Nov 22, 2004 : > I 'll assume you tried with the /proc mounted. > Did that change anything? Yup, no difference. I found this thread in the meantime: http://lists.freebsd.org/mailman/htdig/freebsd-java/2004-April/002010.html so I might be SOOL. Cheers, --Jon http://www.witchspace.com From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 16:17:54 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B84BC16A507; Mon, 22 Nov 2004 16:17:54 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274CF43D2D; Mon, 22 Nov 2004 16:17:54 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.1/8.13.1/NinthNine) with SMTP id iAMGHrYC095760; Tue, 23 Nov 2004 01:17:53 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Tue, 23 Nov 2004 01:17:53 +0900 (JST) Message-Id: <200411221617.iAMGHrYC095760@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Alexander Nedotsukov In-Reply-To: <41A1C7E3.6070805@FreeBSD.org> References: <41A1C7E3.6070805@FreeBSD.org> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.11 (sakura.ninth-nine.com [219.127.74.121]); Tue, 23 Nov 2004 01:17:53 +0900 (JST) cc: java@FreeBSD.org Subject: Re: Minor patch for java/eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 16:17:54 -0000 On Mon, 22 Nov 2004 20:05:07 +0900 Alexander Nedotsukov wrote: > Hey guys! > Could you apply this patch, please? Committed, thanks! From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 19:45:23 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A4B616A4CE for ; Mon, 22 Nov 2004 19:45:23 +0000 (GMT) Received: from mta10-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 321D343D5C for ; Mon, 22 Nov 2004 19:45:22 +0000 (GMT) (envelope-from jon@witchspace.com) Received: from aamta01-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP <20041122194520.GXOG1121.mta10-winn.mailhost.ntl.com@aamta01-winn.mailhost.ntl.com> for ; Mon, 22 Nov 2004 19:45:20 +0000 Received: from witchspace.com ([81.110.67.239]) by aamta01-winn.mailhost.ntl.com with SMTP <20041122194518.PHLE21208.aamta01-winn.mailhost.ntl.com@witchspace.com> for ; Mon, 22 Nov 2004 19:45:18 +0000 Received: (qmail 34615 invoked from network); 22 Nov 2004 19:45:15 -0000 Received: from unknown (HELO webmail.home) (127.0.0.1) by localhost.home with SMTP; 22 Nov 2004 19:45:15 -0000 Received: from 192.168.0.1 (SquirrelMail authenticated user jon); by webmail.home with HTTP; Mon, 22 Nov 2004 19:45:15 -0000 (GMT) Message-ID: <2037.192.168.0.1.1101152715.squirrel@192.168.0.1> In-Reply-To: References: <52188.192.168.0.3.1101113999.squirrel@192.168.0.3> Date: Mon, 22 Nov 2004 19:45:15 -0000 (GMT) From: "Jonathan Belson" To: "Achilleus Mantzios" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release - solution X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 19:45:23 -0000 Hiya I just spent some time comparing configuration options between a stock 5.3 GENERIC kernel (which runs linux-sun-jdk just fine) and my local kernel config file. After a few iterations, I found the one option which makes or breaks the port: _KPOSIX_PRIORITY_SCHEDULING. Without it, the VM locks up solidly; with it, it works fine. Does this fix the problem for anyone else? It could certainly be worth adding a note in UPDATING and/or pkg-message in that case. Cheers, --Jon http://www.witchspace.com From owner-freebsd-java@FreeBSD.ORG Mon Nov 22 19:52:07 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BA6116A4CE for ; Mon, 22 Nov 2004 19:52:07 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE8443D4C for ; Mon, 22 Nov 2004 19:52:06 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) iAMJq2Bx058394; Mon, 22 Nov 2004 12:52:03 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id iAMJq1km058393; Mon, 22 Nov 2004 12:52:01 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 22 Nov 2004 12:52:01 -0700 From: Greg Lewis To: Jonathan Belson Message-ID: <20041122195201.GA58381@misty.eyesbeyond.com> References: <52188.192.168.0.3.1101113999.squirrel@192.168.0.3> <2037.192.168.0.1.1101152715.squirrel@192.168.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2037.192.168.0.1.1101152715.squirrel@192.168.0.1> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 build problem under 5.3 release - solution X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 19:52:07 -0000 On Mon, Nov 22, 2004 at 07:45:15PM -0000, Jonathan Belson wrote: > I just spent some time comparing configuration options between a stock > 5.3 GENERIC kernel (which runs linux-sun-jdk just fine) and my local > kernel config file. > > After a few iterations, I found the one option which makes or breaks the > port: _KPOSIX_PRIORITY_SCHEDULING. Without it, the VM locks up solidly; > with it, it works fine. > > Does this fix the problem for anyone else? It could certainly be worth > adding a note in UPDATING and/or pkg-message in that case. That rings a bell... I'm sure someone hit something like that with 4.x. Sorry I didn't think of it sooner :(. -- 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 Nov 22 23:37:53 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5FA216A4CE for ; Mon, 22 Nov 2004 23:37:53 +0000 (GMT) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7206843D31 for ; Mon, 22 Nov 2004 23:37:53 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210])2004))freebsd-java@freebsd.org; Tue, 23 Nov 2004 00:37:52 +0100 (CET) Received: (qmail 27300 invoked from network); Mon, 22 Nov 2004 23:37:50 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Mon, 22 Nov 2004 23:37:50 +0000 Received: (qmail 38783 invoked from network); Mon, 22 Nov 2004 21:03:47 +0000 Received: from softdnserror (HELO smtp.local) (127.0.0.1) by softdnserror with SMTP; Mon, 22 Nov 2004 21:03:47 +0000 Date: Mon, 22 Nov 2004 22:03:42 +0100 From: Ronald Klop In-reply-to: <20041119002714.GA91497@arabica.esil.univ-mrs.fr> To: Herve Quiroz Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera M2/7.54 (FreeBSD, build 751) References: <20041119002714.GA91497@arabica.esil.univ-mrs.fr> cc: freebsd-java@freebsd.org Subject: Re: Javavmwrapper is slow? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 23:37:54 -0000 On Fri, 19 Nov 2004 01:27:14 +0100, Herve Quiroz wrote: > Ronald, > > On Thu, Nov 18, 2004 at 11:05:34PM +0100, Ronald Klop wrote: [ cut some lines with stats ] > However, it would be nice to see if yours being slow is due to some > side-effect from javavmwrapper with a particular configuration. > >> Do I forget something? Or is javavm not very fast? >> Wouldn't it be nice to have javavm create symlinks to the right >> executables without runtime checking etc/javavms every time? > > The main idea here is to be able to dynamically select a suitable JVM > according to the JDK version, vendor, and OS that are (possibly) > required and specified via environement variables. This forbids the use > of symlinks to the executables of one single JDK. > > If you need this kind of feature, I think it is even more efficient to > add $JAVA_HOME/bin in front of $PATH... BTW, using the same logic as > within the current javavm script, maybe we could provide a script that > some user could "source" to add the required JDK's $JAVA_HOME/bin in > front of $PATH. Or maybe just something to echo this $JAVA_HOME > according to the same JAVA_VERSION, JAVA_OS and JAVA_VENDOR variables. > OTOH, I would personally prefer to see people use the current flavour of > javavmwrapper, unless of course we can't find a fix for the performance > loss you speak of. > > Herve If I comment out these lines calling javavm is just a bit slower than calling java directly. (0.9 secs vs. 1.0 secs.) I understand that this removes a lot functionality from the script, but it indicates where the performance goes. # Determine location of bsd.port.mk if it exists #PORTSDIR= #if [ -r /usr/share/mk/bsd.port.mk ]; then # PORTSDIR=`"${MAKE}" -f /usr/share/mk/bsd.port.mk -V PORTSDIR 2>/dev/null` #fi # #BSD_PORT_MK= #if [ ! -z "${PORTSDIR}" -a -r "${PORTSDIR}/Mk/bsd.port.mk" ]; then # BSD_PORT_MK="${PORTSDIR}/Mk/bsd.port.mk" #fi I don't know if I reported what my system is. It is a bit slower than yours. :-) FreeBSD laptop 5.3-STABLE FreeBSD 5.3-STABLE #59: Tue Nov 16 23:49:18 CET 2004 root@guido.thuis.klop.ws:/usr/obj/usr/src/sys/LAPTOP i386 CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) real memory = 100622336 (95 MB) avail memory = 92979200 (88 MB) cat /usr/local/etc/javavms /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 Ronald. -- Ronald Klop, Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Tue Nov 23 09:54:46 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED0C16A4CE for ; Tue, 23 Nov 2004 09:54:46 +0000 (GMT) Received: from mta09-winn.mailhost.ntl.com (mailhost.ntl.com [212.250.162.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5BE343D3F for ; Tue, 23 Nov 2004 09:54:44 +0000 (GMT) (envelope-from jon@witchspace.com) Received: from aamta04-winn.mailhost.ntl.com ([212.250.162.8]) by mta09-winn.mailhost.ntl.com with ESMTP <20041123095443.DHLN29450.mta09-winn.mailhost.ntl.com@aamta04-winn.mailhost.ntl.com> for ; Tue, 23 Nov 2004 09:54:43 +0000 Received: from witchspace.com ([81.110.67.239]) by aamta04-winn.mailhost.ntl.com with SMTP <20041123095442.GKOH2076.aamta04-winn.mailhost.ntl.com@witchspace.com> for ; Tue, 23 Nov 2004 09:54:42 +0000 Received: (qmail 838 invoked from network); 23 Nov 2004 09:54:40 -0000 Received: from unknown (HELO webmail.home) (127.0.0.1) by localhost.home with SMTP; 23 Nov 2004 09:54:40 -0000 Received: from 192.168.0.1 (SquirrelMail authenticated user jon); by webmail.home with HTTP; Tue, 23 Nov 2004 09:54:40 -0000 (GMT) Message-ID: <1230.192.168.0.1.1101203680.squirrel@192.168.0.1> Date: Tue, 23 Nov 2004 09:54:40 -0000 (GMT) From: "Jonathan Belson" To: freebsd-gnats-submit@FreeBSD.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: chris@vindaloo.com cc: freebsd-java@freebsd.org Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX in the the kernel. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 09:54:46 -0000 I've just had a similar problem, but I think the kernel option in question is _KPOSIX_PRIORITY_SCHEDULING, not COMPAT_LINUX. Adding that option my local config and rebuilding made the issue go away. In the meantime, maybe applying the following patch would save other people a few hours: *** pkg-message.orig Tue Nov 23 09:50:03 2004 --- pkg-message Tue Nov 23 09:52:20 2004 *************** *** 15,18 **** --- 15,22 ---- kldload linprocfs mount /compat/linux/proc + If the java executables hang with a VM error, try adding the + option _KPOSIX_PRIORITY_SCHEDULING to your kernel config (if it isn't + there already) and rebuilding. + ====================================================================== Cheers, --Jon From owner-freebsd-java@FreeBSD.ORG Tue Nov 23 10:00:50 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC74C16A4CE for ; Tue, 23 Nov 2004 10:00:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD2743D4C for ; Tue, 23 Nov 2004 10:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iANA0o5f060869 for ; Tue, 23 Nov 2004 10:00:50 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iANA0ox9060868; Tue, 23 Nov 2004 10:00:50 GMT (envelope-from gnats) Date: Tue, 23 Nov 2004 10:00:50 GMT Message-Id: <200411231000.iANA0ox9060868@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Jonathan Belson" Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX in the the kernel. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Belson List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 10:00:50 -0000 The following reply was made to PR java/62837; it has been noted by GNATS. From: "Jonathan Belson" To: freebsd-gnats-submit@FreeBSD.org Cc: chris@vindaloo.com, freebsd-java@freebsd.org Subject: Re: java/62837: linux-sun-jdk14 executables hang with COMPAT_LINUX in the the kernel. Date: Tue, 23 Nov 2004 09:54:40 -0000 (GMT) I've just had a similar problem, but I think the kernel option in question is _KPOSIX_PRIORITY_SCHEDULING, not COMPAT_LINUX. Adding that option my local config and rebuilding made the issue go away. In the meantime, maybe applying the following patch would save other people a few hours: *** pkg-message.orig Tue Nov 23 09:50:03 2004 --- pkg-message Tue Nov 23 09:52:20 2004 *************** *** 15,18 **** --- 15,22 ---- kldload linprocfs mount /compat/linux/proc + If the java executables hang with a VM error, try adding the + option _KPOSIX_PRIORITY_SCHEDULING to your kernel config (if it isn't + there already) and rebuilding. + ====================================================================== Cheers, --Jon From owner-freebsd-java@FreeBSD.ORG Wed Nov 24 01:00:56 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E4A916A4CE for ; Wed, 24 Nov 2004 01:00:56 +0000 (GMT) Received: from seed.net.tw (sn17.seed.net.tw [139.175.54.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C28D543D5A for ; Wed, 24 Nov 2004 01:00:55 +0000 (GMT) (envelope-from "") Received: from exim by seed.net.tw with local (Seednet 4.23:1) id 1CWlWg-000OLs-Ne for freebsd-java@freebsd.org; Wed, 24 Nov 2004 09:00:54 +0800 From: alvinv@seed.net.tw To: freebsd-java@freebsd.org In-Reply-To: Auto-Submitted: auto-replied Message-Id: Date: Wed, 24 Nov 2004 09:00:54 +0800 Subject: AutoReply message from alvinv@seed.net.tw X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 01:00:56 -0000 «’«’«’~~¦¬¨μΕo!!! -- AutoReply message from alvinv@seed.net.tw From owner-freebsd-java@FreeBSD.ORG Wed Nov 24 10:14:23 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1793816A4CE for ; Wed, 24 Nov 2004 10:14:23 +0000 (GMT) Received: from aiel.daemonz.org (aiel.daemonz.org [213.222.53.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BAA843D46 for ; Wed, 24 Nov 2004 10:14:22 +0000 (GMT) (envelope-from tacho@orbitel.bg) Received: by aiel.daemonz.org (Postfix, from userid 1001) id 9314740F0; Wed, 24 Nov 2004 12:14:21 +0200 (EET) Date: Wed, 24 Nov 2004 12:14:21 +0200 From: Stanislav Grozev To: freebsd-java@freebsd.org Message-ID: <20041124101421.GF3794@aiel.daemonz.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: eclipse and the latest gtk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 10:14:23 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I have a problem with Eclipse - i am on a 6-CURRENT system (rebuilt yesterday) with the latest native JDK1.4 and I tried to build & run the Eclipse port. It builds fine, but when I try to run it, after the dialog about default workspace it crashes with the attached stacktrace. This is only with the GTK build and the latest GTK. The Motif one works fine. Is this a known problem, and do you know how I might be able to solve it? -tacho -- 0x44fc3339 || [02b5 798b 4bd1 97fb f8db 72e4 dca4 be03 44fc 3339] --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hs_err_pid75483.log" An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=0x34DD5138 Function=gtk_tree_view_get_column+0x132 Library=/usr/X11R6/lib/libgtk-x11-2.0.so.400 Current Java thread: at org.eclipse.swt.internal.gtk.OS.gtk_container_add(Native Method) - locked <0x3083a038> (a java.lang.Class) at org.eclipse.swt.widgets.Tree.createHandle(Tree.java:249) at org.eclipse.swt.widgets.Widget.createWidget(Widget.java:321) at org.eclipse.swt.widgets.Control.createWidget(Control.java:306) at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:146) at org.eclipse.swt.widgets.Tree.createWidget(Tree.java:289) at org.eclipse.swt.widgets.Control.(Control.java:86) at org.eclipse.swt.widgets.Scrollable.(Scrollable.java:71) at org.eclipse.swt.widgets.Composite.(Composite.java:82) at org.eclipse.swt.widgets.Tree.(Tree.java:88) at org.eclipse.jface.viewers.TreeViewer.(TreeViewer.java:69) at org.eclipse.ui.views.navigator.ResourceNavigator.createViewer(ResourceNavigator.java:305) at org.eclipse.ui.views.navigator.ResourceNavigator.createPartControl(ResourceNavigator.java:227) at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133) at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:135) at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:351) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273) at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528) at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart(ViewFactory.java:102) at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:132) at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:268) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:317) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:568) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:122) at org.eclipse.ui.internal.presentations.DefaultPartPresentation.selectPart(DefaultPartPresentation.java:1116) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:946) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:383) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:367) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:432) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:155) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:732) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2063) at org.eclipse.ui.internal.WorkbenchWindow$4.run(WorkbenchWindow.java:1858) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1845) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:498) at org.eclipse.ui.internal.WorkbenchWindow$3.run(WorkbenchWindow.java:1076) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1073) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:992) at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:174) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:658) at org.eclipse.ui.internal.Workbench.init(Workbench.java:819) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) Dynamic libraries: 0x8048000 /usr/local/jdk1.4.2/bin/java 0x2807a000 /usr/lib/libpthread.so.1 0x280a0000 /lib/libc.so.6 0x2818b000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x285ad000 /usr/lib/libstdc++.so.4 0x2867d000 /lib/libm.so.3 0x28694000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x286a2000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x286b7000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x286d5000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x34670000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x34683000 /usr/local/jdk1.4.2/jre/lib/i386/libnio.so 0x34bad000 /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/freebsd/x86/libswt-pi-gtk-3063.so 0x34be5000 /usr/X11R6/lib/libgtk-x11-2.0.so.400 0x34ea8000 /usr/X11R6/lib/libgdk-x11-2.0.so.400 0x34f16000 /usr/X11R6/lib/libXrandr.so.2 0x34f1a000 /usr/X11R6/lib/libXi.so.6 0x34f22000 /usr/X11R6/lib/libXinerama.so.1 0x34f25000 /usr/X11R6/lib/libXcursor.so.1 0x34f2e000 /usr/local/lib/libatk-1.0.so.800 0x34f49000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.400 0x34f5e000 /usr/X11R6/lib/libpangoxft-1.0.so.600 0x34f63000 /usr/X11R6/lib/libXft.so.2 0x34f75000 /usr/X11R6/lib/libfreetype.so.9 0x34fbd000 /lib/libz.so.2 0x34fcd000 /usr/X11R6/lib/libXrender.so.1 0x34fd5000 /usr/X11R6/lib/libXext.so.6 0x34fe3000 /usr/X11R6/lib/libfontconfig.so.1 0x35009000 /usr/X11R6/lib/libpangox-1.0.so.600 0x35014000 /usr/X11R6/lib/libX11.so.6 0x350da000 /usr/X11R6/lib/libpango-1.0.so.600 0x35110000 /usr/local/lib/libgobject-2.0.so.400 0x3514f000 /usr/local/lib/libgmodule-2.0.so.400 0x35153000 /usr/local/lib/libgthread-2.0.so.400 0x35157000 /usr/local/lib/libglib-2.0.so.400 0x351d7000 /usr/local/lib/libiconv.so.3 0x352c4000 /usr/X11R6/lib/libXtst.so.6 0x352c9000 /usr/local/lib/libintl.so.6 0x352d2000 /usr/X11R6/lib/libpangoft2-1.0.so.600 0x352f8000 /usr/local/lib/libexpat.so.5 0x35319000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x3531c000 /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/freebsd/x86/libswt-gtk-3063.so 0x35343000 /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libindustrial.so 0x3542f000 /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so 0x35432000 /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.1/os/freebsd/x86/libswt-atk-gtk-3063.so 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 640K, used 169K [0x2c470000, 0x2c520000, 0x2c950000) eden space 576K, 21% used [0x2c470000, 0x2c48eee8, 0x2c500000) from space 64K, 72% used [0x2c500000, 0x2c50b880, 0x2c510000) to space 64K, 0% used [0x2c510000, 0x2c510000, 0x2c520000) tenured generation total 8132K, used 5057K [0x2c950000, 0x2d141000, 0x30470000) the space 8132K, 62% used [0x2c950000, 0x2ce404e0, 0x2ce40600, 0x2d141000) compacting perm gen total 9984K, used 9746K [0x30470000, 0x30e30000, 0x34470000) the space 9984K, 97% used [0x30470000, 0x30df4bb0, 0x30df4c00, 0x30e30000) Local Time = Wed Nov 24 12:13:10 2004 Elapsed Time = 27 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_23_nov_2004_13_22 mixed mode) # --Dxnq1zWXvFF0Q93v-- From owner-freebsd-java@FreeBSD.ORG Wed Nov 24 16:19:28 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB1F316A4CE for ; Wed, 24 Nov 2004 16:19:28 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8282743D4C for ; Wed, 24 Nov 2004 16:19:28 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.11/8.12.11) with ESMTP id iAOGJRKm010934 for ; Wed, 24 Nov 2004 09:19:27 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id iAOGJRDJ010933 for freebsd-java@FreeBSD.org; Wed, 24 Nov 2004 09:19:27 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 24 Nov 2004 09:19:26 -0700 From: Greg Lewis To: freebsd-java@FreeBSD.org Message-ID: <20041124161926.GB10910@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [glewis@freebsd.org: cvs commit: ports/java/jdk14 Makefile] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 16:19:29 -0000 All, FYI. Please stop using the browser plugin until we can fix this. ----- Forwarded message from Greg Lewis ----- glewis 2004-11-24 15:16:39 UTC FreeBSD ports repository Modified files: java/jdk14 Makefile Log: . Mark FORBIDDEN when building with the browser plugin due to the vulnerabilities discussed in: http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1029 Revision Changes Path 1.82 +2 -0 ports/java/jdk14/Makefile ----- End forwarded message ----- -- 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 Wed Nov 24 18:41:20 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA5E16A4CE for ; Wed, 24 Nov 2004 18:41:20 +0000 (GMT) Received: from gldis.ca (constans.gldis.ca [66.11.169.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E2743D67 for ; Wed, 24 Nov 2004 18:41:20 +0000 (GMT) (envelope-from gldisater@gldis.ca) Received: from [IPv6:::1] (localhost [127.0.0.1]) by gldis.ca (8.12.11/8.12.11) with ESMTP id iAOIcPdg004026; Wed, 24 Nov 2004 13:38:31 -0500 (EST) (envelope-from gldisater@gldis.ca) Message-ID: <41A4D62A.4000805@gldis.ca> Date: Wed, 24 Nov 2004 13:42:50 -0500 From: Jeremy Faulkner User-Agent: Mozilla Thunderbird 0.9 (X11/20041123) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stanislav Grozev References: <20041124101421.GF3794@aiel.daemonz.org> In-Reply-To: <20041124101421.GF3794@aiel.daemonz.org> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80rc4/561/Fri Oct 29 06:26:00 2004 clamav-milter version 0.80j on constans.gldis.ca X-Virus-Status: Clean cc: freebsd-java@freebsd.org Subject: Re: eclipse and the latest gtk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 18:41:20 -0000 Stanislav Grozev wrote: > Hello, > > I have a problem with Eclipse - i am on a 6-CURRENT system (rebuilt yesterday) > with the latest native JDK1.4 and I tried to build & run the Eclipse port. > It builds fine, but when I try to run it, after the dialog about default > workspace it crashes with the attached stacktrace. This is only with the > GTK build and the latest GTK. The Motif one works fine. Is this a known problem, > and do you know how I might be able to solve it? > > -tacho > > You followed the instructions in ports/UPDATING for getting to the latest version of GNOME? -- Jeremy Faulkner Resume: http://www.gldis.ca/gldisater/resume.html From owner-freebsd-java@FreeBSD.ORG Wed Nov 24 22:14:43 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A84E216A4CE for ; Wed, 24 Nov 2004 22:14:43 +0000 (GMT) Received: from mail.vericept.com (mail.vericept.com [65.100.174.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A5443D4C for ; Wed, 24 Nov 2004 22:14:43 +0000 (GMT) (envelope-from matt.meola@vericept.com) Received: from localhost.localdomain ([10.3.1.71]) by mail.vericept.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 24 Nov 2004 15:14:42 -0700 From: Matt Meola To: freebsd-java@freebsd.org In-Reply-To: <41A4D62A.4000805@gldis.ca> References: <20041124101421.GF3794@aiel.daemonz.org> <41A4D62A.4000805@gldis.ca> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ax/YXBhTmcKxyO0SzJ2W" Organization: Vericept Corp. Date: Wed, 24 Nov 2004 15:14:42 -0700 Message-Id: <1101334482.36568.1.camel@matt.den-esniff.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port X-OriginalArrivalTime: 24 Nov 2004 22:14:42.0629 (UTC) FILETIME=[FF676F50:01C4D272] Subject: Re: eclipse and the latest gtk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 22:14:43 -0000 --=-ax/YXBhTmcKxyO0SzJ2W Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Yep, sure did. And I get that error, too. So, for those of us who forgot to look at UPDATING, and now have various gnome bits in the 2.8.1 range, is there a recovery option? Or do I pkg_delete all of gnome, and rebuild it? On Wed, 2004-11-24 at 13:42 -0500, Jeremy Faulkner wrote: > Stanislav Grozev wrote: > > Hello, > >=20 > > I have a problem with Eclipse - i am on a 6-CURRENT system (rebuilt yes= terday) > > with the latest native JDK1.4 and I tried to build & run the Eclipse po= rt. > > It builds fine, but when I try to run it, after the dialog about defaul= t > > workspace it crashes with the attached stacktrace. This is only with th= e > > GTK build and the latest GTK. The Motif one works fine. Is this a known= problem, > > and do you know how I might be able to solve it? > >=20 > > -tacho > >=20 > >=20 >=20 > You followed the instructions in ports/UPDATING for getting to the=20 > latest version of GNOME? >=20 --=-ax/YXBhTmcKxyO0SzJ2W Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBpQfStNndH6jZqrIRAqylAJ4qGsLQDLxG/YzzKSJB6OMTCAzTMgCcD/1O 16RKwMBJhZBAxhQq80aqi6A= =e8ea -----END PGP SIGNATURE----- --=-ax/YXBhTmcKxyO0SzJ2W-- From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 01:58:06 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6101416A4CE for ; Thu, 25 Nov 2004 01:58:06 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8F7743D5D for ; Thu, 25 Nov 2004 01:58:04 +0000 (GMT) (envelope-from gustavodn@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so129428rne for ; Wed, 24 Nov 2004 17:58:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:return-path:from:to:subject:date:user-agent:cc:disposition-notification-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=f3uX4DH5Cu/N5DSV+0GXie8pfQHh07GStd7YxRGPQ5lA7wxXxW7aLy4AYX0XXzO2gWA/bDqnokSmueGbRLnbFzeuYBKp/oqMWZaC+qXN74fz/nmfYTSUziTHx/gdBTjVcRNH7f2sIIRTWi15bqEmX7ayBk5H5DsYEHdtDEVnHOA= Received: by 10.38.67.50 with SMTP id p50mr609607rna; Wed, 24 Nov 2004 17:58:04 -0800 (PST) Received: from lenore.brujeria ([200.193.90.204]) by smtp.gmail.com with ESMTP id 79sm13278rna; Wed, 24 Nov 2004 17:58:04 -0800 (PST) From: Gustavo De Nardin To: freebsd-java@freebsd.org Date: Wed, 24 Nov 2004 23:55:08 -0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411242355.09510.gustavodn@gmail.com> Subject: printing from java with cups? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 01:58:06 -0000 Hi. Yesterday I've reported this problem with patches. See . -- (null) From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 04:04:48 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C40C16A4CE; Thu, 25 Nov 2004 04:04:48 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 441A743D2F; Thu, 25 Nov 2004 04:04:48 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (hq@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAP44mSR095082; Thu, 25 Nov 2004 04:04:48 GMT (envelope-from hq@freefall.freebsd.org) Received: (from hq@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAP44mbi095078; Thu, 25 Nov 2004 04:04:48 GMT (envelope-from hq) Date: Thu, 25 Nov 2004 04:04:48 GMT From: Herve Quiroz Message-Id: <200411250404.iAP44mbi095078@freefall.freebsd.org> To: freebsd@simplerezo.com, hq@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: ports/74344: [proposal] tomcat41ctl: support for passing parameters to java vm X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 04:04:48 -0000 Synopsis: [proposal] tomcat41ctl: support for passing parameters to java vm State-Changed-From-To: open->feedback State-Changed-By: hq State-Changed-When: Thu Nov 25 04:02:55 GMT 2004 State-Changed-Why: Any Tomcat 4.1 user out there to test and review the submited patch? Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: hq Responsible-Changed-When: Thu Nov 25 04:02:55 GMT 2004 Responsible-Changed-Why: Over to the Java community for review and feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=74344 From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 08:25:14 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D970416A4CE for ; Thu, 25 Nov 2004 08:25:14 +0000 (GMT) Received: from aiel.daemonz.org (aiel.daemonz.org [213.222.53.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88C2443D31 for ; Thu, 25 Nov 2004 08:25:14 +0000 (GMT) (envelope-from tacho@orbitel.bg) Received: by aiel.daemonz.org (Postfix, from userid 1001) id F3BB440EC; Thu, 25 Nov 2004 10:25:13 +0200 (EET) Date: Thu, 25 Nov 2004 10:25:13 +0200 From: Stanislav Grozev To: Jeremy Faulkner Message-ID: <20041125082513.GA1023@aiel.daemonz.org> References: <20041124101421.GF3794@aiel.daemonz.org> <41A4D62A.4000805@gldis.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41A4D62A.4000805@gldis.ca> User-Agent: Mutt/1.5.6i cc: freebsd-java@freebsd.org Subject: Re: eclipse and the latest gtk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 08:25:15 -0000 On Wed, Nov 24, 2004 at 01:42:50PM -0500, Jeremy Faulkner wrote: > Stanislav Grozev wrote: > >Hello, > > > >I have a problem with Eclipse - i am on a 6-CURRENT system (rebuilt > >yesterday) > >with the latest native JDK1.4 and I tried to build & run the Eclipse port. > >It builds fine, but when I try to run it, after the dialog about default > >workspace it crashes with the attached stacktrace. This is only with the > >GTK build and the latest GTK. The Motif one works fine. Is this a known > >problem, > >and do you know how I might be able to solve it? > > > >-tacho > > > > > > You followed the instructions in ports/UPDATING for getting to the > latest version of GNOME? I do not use GNOME. I use GTK apps, but not Gnome. No other app gives me this error. On a separate clean install (ie. no upgrade) of 5.3 with the latest GNOME (just to be sure) it also gives me the same error. -tacho -- 0x44fc3339 || [02b5 798b 4bd1 97fb f8db 72e4 dca4 be03 44fc 3339] From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 09:34:22 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E07816A4CE for ; Thu, 25 Nov 2004 09:34:22 +0000 (GMT) Received: from natsmtp00.rzone.de (natsmtp00.rzone.de [81.169.145.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7243943D55 for ; Thu, 25 Nov 2004 09:34:21 +0000 (GMT) (envelope-from kaasboer@laverenz.de) Received: from athena.laverenz.de (pD9550D99.dip.t-dialin.net [217.85.13.153]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id iAP9YIt1012242; Thu, 25 Nov 2004 10:34:18 +0100 (MET) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 92EE6E06C0A8; Thu, 25 Nov 2004 10:34:17 +0100 (CET) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05396-01; Thu, 25 Nov 2004 10:34:16 +0100 (CET) Received: from brianna.laverenz.de (brianna.laverenz.de [192.168.100.88]) by athena.laverenz.de (Postfix) with ESMTP id 9DE2FE0A1DAC; Thu, 25 Nov 2004 10:34:16 +0100 (CET) Received: by brianna.laverenz.de (Postfix, from userid 1001) id CC071D4C7B; Thu, 25 Nov 2004 10:34:14 +0100 (CET) Date: Thu, 25 Nov 2004 10:34:14 +0100 From: Uwe Laverenz To: Gustavo De Nardin Message-ID: <20041125093414.GA11757@brianna.laverenz.de> Mail-Followup-To: Gustavo De Nardin , java@freebsd.org References: <200411242355.09510.gustavodn@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411242355.09510.gustavodn@gmail.com> Organization: private site Sender: uwe@laverenz.de User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de cc: java@freebsd.org Subject: Re: printing from java with cups? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 09:34:22 -0000 Hi Gustavo, > Yesterday I've reported this problem with patches. See > . Thank you very much, the patches work very well. :-)) What I don't understand: the lpc command shows the same behaviour on other systems (e.g. lpc from cupsys-bsd in Debian), so printing from Java shouldn't work there too. But in fact it does work. So there seems to be a difference between Sun-JDK and FreeBSD-JDK?! cu, Uwe From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 10:11:10 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A8FB16A4CE; Thu, 25 Nov 2004 10:11:09 +0000 (GMT) Received: from asterix.rsu.ru (relay.r61.net [195.208.245.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF1B43D2D; Thu, 25 Nov 2004 10:11:08 +0000 (GMT) (envelope-from os@rsu.ru) Received: from localhost.localdomain (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by asterix.rsu.ru (8.13.1/8.13.1) with ESMTP id iAPA7trR056964 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 25 Nov 2004 13:07:58 +0300 (MSK) (envelope-from os@rsu.ru) From: Oleg Sharoiko To: freebsd-gnats-submit@FreeBSD.org, nlsn@free.fr, freebsd-java@FreeBSD.org Content-Type: text/plain Date: Thu, 25 Nov 2004 13:07:56 +0300 Message-Id: <1101377276.67026.3.camel@brain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/577/Mon Nov 8 02:32:14 2004 clamav-milter version 0.80j on asterix.rsu.ru X-Virus-Status: Clean X-Spam-Status: No, score=-5.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on asterix.rsu.ru Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 10:11:10 -0000 Hello! Could please those who have problems with eclipse SigBus'ing in _gtk_tree_view_queue_draw_node (or other gtk methods) send me their compiler options (/etc/make.conf) used for gtk and jdk builds. p.s. I'm not on the list, so keep me on To: or Cc: if posting to list. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 10:20:26 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD1DB16A4CE for ; Thu, 25 Nov 2004 10:20:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4B6843D2F for ; Thu, 25 Nov 2004 10:20:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAPAKQMA064625 for ; Thu, 25 Nov 2004 10:20:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAPAKQQg064624; Thu, 25 Nov 2004 10:20:26 GMT (envelope-from gnats) Date: Thu, 25 Nov 2004 10:20:26 GMT Message-Id: <200411251020.iAPAKQQg064624@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Oleg Sharoiko Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Oleg Sharoiko List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 10:20:26 -0000 The following reply was made to PR ports/72014; it has been noted by GNATS. From: Oleg Sharoiko To: freebsd-gnats-submit@FreeBSD.org, nlsn@free.fr, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK Date: Thu, 25 Nov 2004 13:07:56 +0300 Hello! Could please those who have problems with eclipse SigBus'ing in _gtk_tree_view_queue_draw_node (or other gtk methods) send me their compiler options (/etc/make.conf) used for gtk and jdk builds. p.s. I'm not on the list, so keep me on To: or Cc: if posting to list. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 11:58:25 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 950C416A4CE; Thu, 25 Nov 2004 11:58:25 +0000 (GMT) Received: from merou.ens.insa-rennes.fr (merou.ens.insa-rennes.fr [193.52.95.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B6E343D54; Thu, 25 Nov 2004 11:58:25 +0000 (GMT) (envelope-from nicolasls@free.fr) Received: from localhost (merou [127.0.0.1]) by merou.ens.insa-rennes.fr (Postfix) with ESMTP id B43E24808C; Thu, 25 Nov 2004 12:58:23 +0100 (CET) Received: from merou.ens.insa-rennes.fr ([127.0.0.1]) by localhost (merou [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29419-08; Thu, 25 Nov 2004 12:58:22 +0100 (CET) Received: from shiva.india.ath.cx (pc-rbs4101.res.insa [10.133.10.178]) by merou.ens.insa-rennes.fr (Postfix) with ESMTP id C3377480A3; Thu, 25 Nov 2004 12:58:22 +0100 (CET) Received: by shiva.india.ath.cx (Postfix, from userid 1001) id 2B1B42C47D; Thu, 25 Nov 2004 12:58:22 +0100 (CET) Date: Thu, 25 Nov 2004 12:58:22 +0100 From: Nicolas LS To: Oleg Sharoiko Message-ID: <20041125115822.GA18657@shiva.india.ath.cx> References: <1101377276.67026.3.camel@brain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1101377276.67026.3.camel@brain> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at ens.insa-rennes.fr cc: freebsd-gnats-submit@FreeBSD.org cc: freebsd-java@FreeBSD.org Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 11:58:25 -0000 Le Thu, Nov 25, 2004 at 01:07:56PM +0300, Oleg Sharoiko a ecrit: > Could please those who have problems with eclipse SigBus'ing in > _gtk_tree_view_queue_draw_node (or other gtk methods) send me their > compiler options (/etc/make.conf) used for gtk and jdk builds. > p.s. I'm not on the list, so keep me on To: or Cc: if posting to list. Here are mine's. Moreover, as I'm french, i use accents like ι, θ, and the "motif" theme for eclipse cut word where i've accents, it's quite boring, but i suppose it's another problem. Thanks if you solve this bug, or if you could help me. I'me currently using latest native FreeBSD Sun JDK (1.4.2p6_6). make.conf --------- PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo NO_SENDMAIL= true COMPAT4X= yes CPUTYPE?=p4 DOC_LANG= en_US.ISO8859-1 fr_FR.ISO8859-1 fr_FR.ISO8859-15 NOPROFILE= true # Avoid compiling profiled libraries CFLAGS= -O -pipe COPTFLAGS= -O -pipe #X_WINDOW_SYSTEM=xfree86-4 X_WINDOW_SYSTEM=xorg -- Nicolas Le Scouarnec From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 12:00:52 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9CD016A4DC for ; Thu, 25 Nov 2004 12:00:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9299F43D66 for ; Thu, 25 Nov 2004 12:00:52 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAPC0qdA074044 for ; Thu, 25 Nov 2004 12:00:52 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAPC0pAF074043; Thu, 25 Nov 2004 12:00:51 GMT (envelope-from gnats) Date: Thu, 25 Nov 2004 12:00:51 GMT Message-Id: <200411251200.iAPC0pAF074043@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Nicolas LS Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nicolas LS List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 12:00:53 -0000 The following reply was made to PR ports/72014; it has been noted by GNATS. From: Nicolas LS To: Oleg Sharoiko Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK Date: Thu, 25 Nov 2004 12:58:22 +0100 Le Thu, Nov 25, 2004 at 01:07:56PM +0300, Oleg Sharoiko a ecrit: > Could please those who have problems with eclipse SigBus'ing in > _gtk_tree_view_queue_draw_node (or other gtk methods) send me their > compiler options (/etc/make.conf) used for gtk and jdk builds. > p.s. I'm not on the list, so keep me on To: or Cc: if posting to list. Here are mine's. Moreover, as I'm french, i use accents like ι, θ, and the "motif" theme for eclipse cut word where i've accents, it's quite boring, but i suppose it's another problem. Thanks if you solve this bug, or if you could help me. I'me currently using latest native FreeBSD Sun JDK (1.4.2p6_6). make.conf --------- PERL_VER=5.6.1 PERL_VERSION=5.6.1 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo NO_SENDMAIL= true COMPAT4X= yes CPUTYPE?=p4 DOC_LANG= en_US.ISO8859-1 fr_FR.ISO8859-1 fr_FR.ISO8859-15 NOPROFILE= true # Avoid compiling profiled libraries CFLAGS= -O -pipe COPTFLAGS= -O -pipe #X_WINDOW_SYSTEM=xfree86-4 X_WINDOW_SYSTEM=xorg -- Nicolas Le Scouarnec From owner-freebsd-java@FreeBSD.ORG Thu Nov 25 20:30:24 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5431516A4D0 for ; Thu, 25 Nov 2004 20:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FCD043D41 for ; Thu, 25 Nov 2004 20:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAPKUOMw036131 for ; Thu, 25 Nov 2004 20:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAPKUN6s036129; Thu, 25 Nov 2004 20:30:23 GMT (envelope-from gnats) Date: Thu, 25 Nov 2004 20:30:23 GMT Message-Id: <200411252030.iAPKUN6s036129@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Oleg Sharoiko Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Oleg Sharoiko List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 20:30:24 -0000 The following reply was made to PR ports/72014; it has been noted by GNATS. From: Oleg Sharoiko To: freebsd-gnats-submit@FreeBSD.org, nlsn@free.fr, gnome@FreeBSD.org, ports@FreeBSD.org Cc: Subject: Re: ports/72014: Eclipse doesn't work (SigBus 10) if it has been built with GTK Date: Thu, 25 Nov 2004 23:20:27 +0300 Hello! I'm sorry for flooding three lists at a time, but I have some information concerning ports/72014 and it looks like I've reached that point where I can't do further investigation. So I hope someone who has more knowledge, experience and free time will handle this further. I made some investigation of this bug and it looks like it is cased by gtk built with CPUTYPE=p4. Eclipse works fine after changing CPUTYPE to i686 and rebuilding/reinstalling gtk. This is true for my P4 box and this was also confirmed by two other testers who faced similar problem. Eclipse also works fine with CPUTYPE=athlon-xp (my amd based box at work). So I think this is gcc bug which leads to wrong code in gtk, and I suppose it can lead to other bugs with gtk. I've seen SIGBUSes in _gtk_tree_view_queue_draw_node and gtk_tree_view_get_column with -O0/-O and -O2 respectively. I'm not sure what should be done further. I thought of following: - building debug version of gtk, looking what arguments are passed to those functions and trying to create a test case to submit bug report to gcc team; - trying to build gtk with more recent gcc; - downgrade CPUTYPE from p4 to i686 in x11-toolkits/gtk20 until this problem is solved. Unfortunately I don't have any gtk development experience and I don't know what should be the best solution for this problem. I'm posting results of my investigation in hope that someone will handle this bug further. p.s. And I think this is not freebsd-java bug, so responsible in PR database should be changed to someone else. p.p.s. I'm not on the lists, so keep me on To: or Cc: lines if you want to reply me. p.p.p.s This mail is probably in a mess a little bit. Sorry, I couldn't put it into right words. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-java@FreeBSD.ORG Sat Nov 27 05:47:46 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD34D16A4CE for ; Sat, 27 Nov 2004 05:47:46 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5639C43D49 for ; Sat, 27 Nov 2004 05:47:46 +0000 (GMT) (envelope-from wireless.insecurity@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so289728rnf for ; Fri, 26 Nov 2004 21:47:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:return-path:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=qh+kh+9dxCsarXvfSZJ9v1+LjI0GX52Ja2p0rw8f/ynqkYKpyN6mmbXdhEN25rByEZV5JkZy/4sYw2IvILsa18Qj1rkzNPmvbIg69NPIB4ysdHuJ/bx0FSiDWaNjUv/YYW8jNVrrCjKujlEQmijp5dFyUlRRKZsJYeeqT59ixTM= Received: by 10.38.171.64 with SMTP id t64mr761423rne; Fri, 26 Nov 2004 21:47:45 -0800 (PST) Received: from ?192.168.100.11? ([24.231.226.26]) by smtp.gmail.com with ESMTP id 64sm820rna; Fri, 26 Nov 2004 21:47:45 -0800 (PST) Message-ID: <41A8230C.8080203@gmail.com> Date: Sat, 27 Nov 2004 01:47:40 -0500 From: Ben Cance User-Agent: Mozilla Thunderbird 0.7.3 (X11/20041126) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Got this while trying to compile. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 05:47:46 -0000 I am using FreeBSD 5.3RELEASE-p1 VM option 'ThreadStackSize=768' # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/c1_LIROptimizer.cpp:294 # # HotSpot Virtual Machine Error, assertion failure # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_26_nov_2004_21_54-debug mixed mode) # # assert(!value->is_double_word(), "should be not double word values in value map") # # Error ID: /usr/ports/java/jdk14/work/hotspot/src/share/vm/c1/c1_LIROptimizer.cpp, 294 # # Problematic Thread: prio=6 tid=0x080f8018 nid=0x80f8200 runnable # Heap at VM Abort: Heap def new generation total 4544K, used 678K [0x2ac80000, 0x2b160000, 0x2c030000) eden space 4096K, 16% used [0x2ac80000, 0x2ad29ad8, 0x2b080000) from space 448K, 0% used [0x2b080000, 0x2b080000, 0x2b0f0000) to space 448K, 0% used [0x2b0f0000, 0x2b0f0000, 0x2b160000) tenured generation total 60544K, used 0K [0x2c030000, 0x2fb50000, 0x3ac80000) the space 60544K, 0% used [0x2c030000, 0x2c030000, 0x2c030200, 0x2fb50000) compacting perm gen total 4096K, used 1365K [0x3ac80000, 0x3b080000, 0x3ec80000) the space 4096K, 33% used [0x3ac80000, 0x3add57c8, 0x3add5800, 0x3b080000) Dumping core.... Abort trap (core dumped) gmake[7]: *** [.compile.classlist] Error 134 gmake[7]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile/library' gmake[6]: *** [debug] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile/library' gmake[5]: *** [all] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 --------------------------------------------_____End______------------------------------------------------ Please respond to me directly should you cogitate a solution., Thanks, Ben From owner-freebsd-java@FreeBSD.ORG Sat Nov 27 14:32:25 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 738C016A4D7 for ; Sat, 27 Nov 2004 14:32:25 +0000 (GMT) Received: from ds226.dedicated.turbodns.co.uk (ds226.dedicated.turbodns.co.uk [81.21.69.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63F743D1F for ; Sat, 27 Nov 2004 14:32:24 +0000 (GMT) (envelope-from samuel@facesinplaces.co.uk) Received: (qmail 83189 invoked from network); 27 Nov 2004 14:32:27 -0000 Received: from samuel@facesinplaces.co.uk by ds226.dedicated.turbodns.co.uk by uid 1005 with qmail-scanner-1.22 (clamdscan: 0.74. Clear:RC:1(81.130.90.49):. Processed in 0.267033 secs); 27 Nov 2004 14:32:27 -0000 Received: from unknown (HELO TL01) (facesinplaces-samuel@81.130.90.49) by ds226.dedicated.turbodns.co.uk with SMTP; 27 Nov 2004 14:32:26 -0000 Message-ID: <00d701c4d48d$efe2c530$0300a8c0@TL01> From: "Samuel Jackson" To: Date: Sat, 27 Nov 2004 14:32:34 -0000 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: RE: Unexpected Signal : 11 occurred at PC=0x2845BB2F X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 14:32:25 -0000 Hi , Just reporting this core dump from my web application Regards Samuel Jackson ---------------------------------------------- root@ds226# more hs_err_pid77432.log Unexpected Signal : 11 occurred at PC=3D0x2845BB2F Function=3Dfollow_stack__9MarkSweep+0x3F Library=3D/jdk1.4.2/jre/lib/i386/client/libjvm.so Dynamic libraries: 0x8048000 /usr/local/jdk1.4.2/bin/java 0x2806c000 /usr/local/lib/libc_r.so.4 0x28123000 /jdk1.4.2/jre/lib/i386/client/libjvm.so 0x2866a000 /usr/local/lib/libstdc++.so.3 0x286af000 /usr/local/lib/libm.so.2 0x286ca000 /jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x286d8000 /jdk1.4.2/jre/lib/i386/libverify.so 0x286f3000 /jdk1.4.2/jre/lib/i386/libjava.so 0x28714000 /jdk1.4.2/jre/lib/i386/libzip.so 0x34fb2000 /jdk1.4.2/jre/lib/i386/libnet.so 0x2804e000 /usr/libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 2304K, used 256K [0x2c5b0000, 0x2c830000, = 0x2ca90000) eden space 2048K, 0% used [0x2c5b0000, 0x2c5b0000, 0x2c7b0000) from space 256K, 100% used [0x2c7f0000, 0x2c830000, 0x2c830000) to space 256K, 0% used [0x2c7b0000, 0x2c7b0000, 0x2c7f0000) tenured generation total 31080K, used 30993K [0x2ca90000, 0x2e8ea000, = 0x305b0000) the space 31080K, 99% used [0x2ca90000, 0x2e8d4488, 0x2e8d4600, = 0x2e8ea000) compacting perm gen total 14336K, used 14218K [0x305b0000, 0x313b0000, = 0x345b0000) the space 14336K, 99% used [0x305b0000, 0x31392af8, 0x31392c00, = 0x313b0000) Local Time =3D Sat Nov 27 13:30:41 2004 Elapsed Time =3D 63665 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002F1 # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_19_aug_2004_10_42 = mixed mode) #