From owner-freebsd-java@FreeBSD.ORG Mon Sep 6 08:01: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 3899E16A4CE for ; Mon, 6 Sep 2004 08:01:53 +0000 (GMT) Received: from hawat.cc.ubbcluj.ro (Hawat.CC.UBBCluj.Ro [193.226.40.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C59843D58 for ; Mon, 6 Sep 2004 08:01:52 +0000 (GMT) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from hawat.cc.ubbcluj.ro (hawat [127.0.0.1]) by hawat.cc.ubbcluj.ro (8.13.1/8.13.1) with ESMTP id i8687dpB084556; Mon, 6 Sep 2004 11:07:39 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from localhost (dano@localhost)i8687ded084553; Mon, 6 Sep 2004 11:07:39 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Date: Mon, 6 Sep 2004 11:07:39 +0300 (EEST) From: Comsa Daniel To: freebsd-java@freebsd.org Message-ID: <20040906110401.X84549@hawat.cc.ubbcluj.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Java Communication API for FreeBSD Input Stream Problem 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, 06 Sep 2004 08:01:53 -0000 Hi, I'm using version 0.5 of the freebsd-commapi port. I'll try to make a port upgrade, and use version 0.6. If it doesn't work, perhaps i'll try using rxtx. Best regards, Daniel Comsa. From owner-freebsd-java@FreeBSD.ORG Mon Sep 6 11:02:55 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 09FAE16A4D1 for ; Mon, 6 Sep 2004 11:02:55 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 007BE43D2F for ; Mon, 6 Sep 2004 11:02:55 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i86B2sja094395 for ; Mon, 6 Sep 2004 11:02:54 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i86B2rRv094389 for freebsd-java@freebsd.org; Mon, 6 Sep 2004 11:02:53 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 6 Sep 2004 11:02:53 GMT Message-Id: <200409061102.i86B2rRv094389@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, 06 Sep 2004 11:02:55 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/08/30] java/71146 java jdk 1.4.2-p6 jboss,eclipse problems 1 problem total. 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 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/18] ports/44251 java new port textproc/xml-stylebook: create J 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 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Sep 6 13:56:47 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 5C56816A4CE for ; Mon, 6 Sep 2004 13:56:47 +0000 (GMT) Received: from hawat.cc.ubbcluj.ro (Hawat.CC.UBBCluj.Ro [193.226.40.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C7943D5E for ; Mon, 6 Sep 2004 13:56:46 +0000 (GMT) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from hawat.cc.ubbcluj.ro (hawat [127.0.0.1]) by hawat.cc.ubbcluj.ro (8.13.1/8.13.1) with ESMTP id i86E2XuV084955 for ; Mon, 6 Sep 2004 17:02:33 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from localhost (dano@localhost)i86E2XB7084952 for ; Mon, 6 Sep 2004 17:02:33 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Date: Mon, 6 Sep 2004 17:02:33 +0300 (EEST) From: Comsa Daniel To: freebsd-java@freebsd.org Message-ID: <20040906165828.V84934@hawat.cc.ubbcluj.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Java Communication API for FreeBSD Input Stream Problem 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, 06 Sep 2004 13:56:47 -0000 Hello again. I've done a portupgrade for java-commapi-freebsd port to version 0.6 but still nothing. The same thing happens. I have also installed RXTX, but there i get: Devel Library ========================================= Native lib Version = RXTX-2.1-7pre17 Java lib Version = RXTX-2.1-7pre17 Caught java.lang.ClassCastException while loading driver gnu.io.RXTXCommDriver so .... this one doesn't work either. Is there somthing i've done wrong? Daniel Comsa. From owner-freebsd-java@FreeBSD.ORG Mon Sep 6 15:41:49 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 16DB916A4CE for ; Mon, 6 Sep 2004 15:41:49 +0000 (GMT) Received: from oxyd.caraldi.com (caraldi.com [195.137.249.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 869BF43D2D for ; Mon, 6 Sep 2004 15:41:48 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (unknown [84.96.21.10]) by oxyd.caraldi.com (Postfix) with ESMTP id 576772164 for ; Mon, 6 Sep 2004 17:41:47 +0200 (CEST) Received: by vision.anyware (Postfix, from userid 615) id 95C3B624A; Mon, 6 Sep 2004 17:41:47 +0200 (CEST) Date: Mon, 6 Sep 2004 17:41:47 +0200 From: Jean-Baptiste Quenot To: freebsd-java@freebsd.org Message-ID: <20040906154145.GB96365@vision.anyware> Mail-Followup-To: freebsd-java@freebsd.org References: <20040906165828.V84934@hawat.cc.ubbcluj.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20040906165828.V84934@hawat.cc.ubbcluj.ro> User-Agent: Mutt/1.5.6i Subject: Re: Java Communication API for FreeBSD Input Stream Problem 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, 06 Sep 2004 15:41:49 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Comsa Daniel: > I have also installed RXTX, but there i get: [...] > Caught java.lang.ClassCastException while loading > driver gnu.io.RXTXCommDriver AFAICT, rxtx is incompatible with Sun's Comm API. Please ensure that the latter is not in your classpath. Have you been able to run the SimpleRead program located in Rxtx's contrib directory? Best regards, --=20 Jean-Baptiste Quenot http://caraldi.com/jbq/ --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBPIU59xx3BCMc9gsRAmLXAJ98zCMxHhZo44x6a+FtvmKhhihgXQCgjMth EvIBTnZKSa77c06af2wkPPo= =fomP -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- From owner-freebsd-java@FreeBSD.ORG Tue Sep 7 07:45:37 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 0CB3716A4CE for ; Tue, 7 Sep 2004 07:45:37 +0000 (GMT) Received: from hawat.cc.ubbcluj.ro (Hawat.CC.UBBCluj.Ro [193.226.40.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D3AC43D3F for ; Tue, 7 Sep 2004 07:45:36 +0000 (GMT) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from hawat.cc.ubbcluj.ro (hawat [127.0.0.1]) by hawat.cc.ubbcluj.ro (8.13.1/8.13.1) with ESMTP id i877pOWS086259 for ; Tue, 7 Sep 2004 10:51:24 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Received: from localhost (dano@localhost)i877pOVD086256 for ; Tue, 7 Sep 2004 10:51:24 +0300 (EEST) (envelope-from dano@hawat.cc.ubbcluj.ro) Date: Tue, 7 Sep 2004 10:51:24 +0300 (EEST) From: Comsa Daniel To: freebsd-java@freebsd.org In-Reply-To: <4136C8BA.4020403@suutari.iki.fi> Message-ID: <20040907104909.S86234@hawat.cc.ubbcluj.ro> References: <20040831120745.L66028@hawat.cc.ubbcluj.ro> <20040901142643.GA80717@arabica.esil.univ-mrs.fr> <4136C50B.2050906@suutari.iki.fi> <4136C8BA.4020403@suutari.iki.fi> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Java Communication API for FreeBSD Input Stream Problem 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, 07 Sep 2004 07:45:37 -0000 Hi. I'm glad to say that the RXTX package works great. Thanks for helping me, and I hope that this bug will be fixes also in the java-commapi-freebsd port. Best regards, Daniel Comsa. From owner-freebsd-java@FreeBSD.ORG Tue Sep 7 20:40:00 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 562CF16A4CE for ; Tue, 7 Sep 2004 20:40:00 +0000 (GMT) Received: from geops.geophys.washington.edu (geops.geophys.washington.edu [128.95.16.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10CEB43D5C for ; Tue, 7 Sep 2004 20:40:00 +0000 (GMT) (envelope-from les@ess.washington.edu) Received: from localhost by geops.geophys.washington.edu (8.9.1/UW-NDC Revision: 2.30v8.8) id NAA17525; Tue, 7 Sep 2004 13:39:50 -0700 (PDT) Date: Tue, 7 Sep 2004 13:39:50 -0700 (PDT) From: Robert Leslie X-X-Sender: les@geops.geophys.washington.edu To: Greg Lewis In-Reply-To: <20040903213002.GA13453@misty.eyesbeyond.com> Message-ID: References: <20040903213002.GA13453@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: java@freebsd.org Subject: Re: jdk14 build failure 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, 07 Sep 2004 20:40:00 -0000 ok, i got jdk1.4.2 to build fine, but now there is no java executable in /usr/local/bin. what am i missing? -- les On Fri, 3 Sep 2004, Greg Lewis wrote: > On Fri, Sep 03, 2004 at 12:43:06PM -0700, Robert Leslie wrote: > > can anyone help me with this one? > > Just type 'make' again and it will succeed. For some reason this will very > occasionally abort the first time through. > > > -- R. "les" Leslie Seismic Systems Technologist Pacific Northwest Seismograph Network University of Washington Earth and Space Sciences (206) 543-8276 les@ess.washington.edu From owner-freebsd-java@FreeBSD.ORG Tue Sep 7 20:46:34 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 0B28916A4CE for ; Tue, 7 Sep 2004 20:46:34 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C3E43D46 for ; Tue, 7 Sep 2004 20:46:33 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i87Kk0Gi058007; Tue, 7 Sep 2004 14:46:00 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id i87KjxxX058006; Tue, 7 Sep 2004 14:45:59 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 7 Sep 2004 14:45:59 -0600 From: Greg Lewis To: Robert Leslie Message-ID: <20040907204559.GA57991@misty.eyesbeyond.com> References: <20040903213002.GA13453@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: java@freebsd.org Subject: Re: jdk14 build failure 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, 07 Sep 2004 20:46:34 -0000 On Tue, Sep 07, 2004 at 01:39:50PM -0700, Robert Leslie wrote: > > > ok, i got jdk1.4.2 to build fine, but now there is no java executable in > /usr/local/bin. > > what am i missing? Thats because its in /usr/local/jdk1.4.2/bin -- 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 Sep 8 20:54: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 9C84616A4CE for ; Wed, 8 Sep 2004 20:54:28 +0000 (GMT) Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.5.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 518A843D3F for ; Wed, 8 Sep 2004 20:54:28 +0000 (GMT) (envelope-from truk@optonline.net) Received: from focus (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta4.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0I3Q009TUQ2RSV@mta4.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Wed, 08 Sep 2004 16:54:27 -0400 (EDT) Date: Wed, 08 Sep 2004 16:54:31 -0400 From: Kurt Miller To: freebsd-java@freebsd.org Message-id: <033d01c495e6$09de3230$1d0110ac@focus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook Express 6.00.2800.1437 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal Subject: debugging 1.4 and execve 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, 08 Sep 2004 20:54:28 -0000 I'm working on the 1.4 port for OpenBSD and need to debug the jdk. gdb becomes mostly useless after an execve call in java_md.c 777 execve(newexec, argv, newenvp); (gdb) Program received signal SIGTRAP, Trace/breakpoint trap. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x019ef160 in ?? () (gdb) bt #0 0x03235160 in ?? () Does anyone have a suggestion on how to keep gdb working after the execve? Thanks, -Kurt From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 21:06: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 9483C16A4CF for ; Wed, 8 Sep 2004 21:06:56 +0000 (GMT) Received: from smtp18.wxs.nl (smtp18.wxs.nl [195.121.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C5C543D39 for ; Wed, 8 Sep 2004 21:06:56 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210]) by smtp18.wxs.nlSMTP id <0I3Q00LG3QNIIK@smtp18.wxs.nl> for java@freebsd.org; Wed, 08 Sep 2004 23:06:54 +0200 (CEST) Received: (qmail 5101 invoked from network); Wed, 08 Sep 2004 21:06:54 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Wed, 08 Sep 2004 21:06:54 +0000 Received: (qmail 1721 invoked from network); Wed, 08 Sep 2004 21:06:40 +0000 Received: from unknown (HELO guido.thuis.klop.ws) (192.168.0.2) by 192.168.0.16 with SMTP; Wed, 08 Sep 2004 21:06:40 +0000 Received: (qmail 1940 invoked from network); Wed, 08 Sep 2004 21:06:40 +0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Wed, 08 Sep 2004 21:06:40 +0000 Date: Wed, 08 Sep 2004 23:06:39 +0200 From: Ronald Klop To: "java@freebsd.org" 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) Subject: javamail and jaf not fetchable 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, 08 Sep 2004 21:06:56 -0000 Hello, The url's of the javamail and jaf port give errors. I don't know if these errors are permanent or temporary. But maybe somebody has the time to look at it. Greetings, Ronald. -- Ronald Klop Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 21:12: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 968C916A4CE; Wed, 8 Sep 2004 21:12:59 +0000 (GMT) Received: from mail.oplnk.net (smtp.oplink.net [216.90.3.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDA9B43D46; Wed, 8 Sep 2004 21:12:58 +0000 (GMT) (envelope-from mark@icsaccess.com) Received: from localhost (localhost [127.0.0.1]) by mail.oplnk.net (Postfix) with ESMTP id 5EC03E2C37; Wed, 8 Sep 2004 16:12:47 -0500 (CDT) Received: from mail.oplnk.net ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22794-09; Wed, 8 Sep 2004 16:12:47 -0500 (CDT) Received: from mobileone (209-176-49-23.oplnk.net [209.176.49.23]) by mail.oplnk.net (Postfix) with SMTP id E733AE2C36; Wed, 8 Sep 2004 16:12:44 -0500 (CDT) Message-ID: <017301c495e8$a009e1d0$1502a8c0@mobileone> From: "Mark Van Orman" To: , Date: Wed, 8 Sep 2004 16:13:01 -0500 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 X-Virus-and-Spam-Scanned: by oplink.net email shield Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: ports: jdk13 vs diablo-jdk13 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, 08 Sep 2004 21:12:59 -0000 Hi, Would someone please explain to me the difference between jdk13 and = diablo-jdk13. Why would I install one and not the other? I couldn't find any online resources explaining the difference = between the two ports. Regards and thanks, =20 Mark Van Orman mark@icsaccess.com From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 21:12: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 968C916A4CE; Wed, 8 Sep 2004 21:12:59 +0000 (GMT) Received: from mail.oplnk.net (smtp.oplink.net [216.90.3.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDA9B43D46; Wed, 8 Sep 2004 21:12:58 +0000 (GMT) (envelope-from mark@icsaccess.com) Received: from localhost (localhost [127.0.0.1]) by mail.oplnk.net (Postfix) with ESMTP id 5EC03E2C37; Wed, 8 Sep 2004 16:12:47 -0500 (CDT) Received: from mail.oplnk.net ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22794-09; Wed, 8 Sep 2004 16:12:47 -0500 (CDT) Received: from mobileone (209-176-49-23.oplnk.net [209.176.49.23]) by mail.oplnk.net (Postfix) with SMTP id E733AE2C36; Wed, 8 Sep 2004 16:12:44 -0500 (CDT) Message-ID: <017301c495e8$a009e1d0$1502a8c0@mobileone> From: "Mark Van Orman" To: , Date: Wed, 8 Sep 2004 16:13:01 -0500 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 X-Virus-and-Spam-Scanned: by oplink.net email shield Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: ports: jdk13 vs diablo-jdk13 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, 08 Sep 2004 21:12:59 -0000 Hi, Would someone please explain to me the difference between jdk13 and = diablo-jdk13. Why would I install one and not the other? I couldn't find any online resources explaining the difference = between the two ports. Regards and thanks, =20 Mark Van Orman mark@icsaccess.com From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 21:26: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 4B8C116A4CE for ; Wed, 8 Sep 2004 21:26:07 +0000 (GMT) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC55F43D54 for ; Wed, 8 Sep 2004 21:26:06 +0000 (GMT) (envelope-from mmercer@nc.rr.com) Received: from [192.168.1.8] (cpe-069-134-205-174.nc.rr.com [69.134.205.174]) i88LQ3Pf004425; Wed, 8 Sep 2004 17:26:04 -0400 (EDT) From: Michael E Mercer To: Mark Van Orman In-Reply-To: <017301c495e8$a009e1d0$1502a8c0@mobileone> References: <017301c495e8$a009e1d0$1502a8c0@mobileone> Content-Type: text/plain Message-Id: <1094678765.325.1.camel@fast.mmercer.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 08 Sep 2004 17:26:05 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-java@freebsd.org Subject: Re: ports: jdk13 vs diablo-jdk13 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-java@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 21:26:07 -0000 If I understand it correctly, they are both the same as far as the source is concerned. However diablo is FreeBSD's binary version that has been "blessed" by SUN. The jdk13 port would actually compile the source on your machine. HTH Michael On Wed, 2004-09-08 at 17:13, Mark Van Orman wrote: > Hi, > > Would someone please explain to me the difference between jdk13 and diablo-jdk13. Why would I install one and not the other? > > I couldn't find any online resources explaining the difference between the two ports. > > > > Regards and thanks, > > Mark Van Orman > mark@icsaccess.com > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Sep 8 21:33:04 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 C1CFF16A4CE for ; Wed, 8 Sep 2004 21:33:04 +0000 (GMT) Received: from mail.oplnk.net (smtp.oplink.net [216.90.3.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9524543D48 for ; Wed, 8 Sep 2004 21:33:04 +0000 (GMT) (envelope-from mark@icsaccess.com) Received: from localhost (localhost [127.0.0.1]) by mail.oplnk.net (Postfix) with ESMTP id 36A58E2C98 for ; Wed, 8 Sep 2004 16:32:53 -0500 (CDT) Received: from mail.oplnk.net ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25576-10 for ; Wed, 8 Sep 2004 16:32:53 -0500 (CDT) Received: from mobileone (209-176-49-23.oplnk.net [209.176.49.23]) by mail.oplnk.net (Postfix) with SMTP id F1BB5E2C97 for ; Wed, 8 Sep 2004 16:32:52 -0500 (CDT) Message-ID: <018901c495eb$6ff29ac0$1502a8c0@mobileone> From: "Mark Van Orman" To: References: <017301c495e8$a009e1d0$1502a8c0@mobileone> <1094678765.325.1.camel@fast.mmercer.com> Date: Wed, 8 Sep 2004 16:33:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 X-Virus-and-Spam-Scanned: by oplink.net email shield Subject: Re: ports: jdk13 vs diablo-jdk13 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, 08 Sep 2004 21:33:04 -0000 Thanks Michael. It's really impractical that they have it this way. A lot of the java ports are dependent on the diablo-jdk port and not the vanilla jdk. Now that I've already installed the vanilla jdk I'll have to also install the diablo port. The vanilla jdk I installed is 14, so all ports will actually use the older (1.3) diablo implementation if I do install it. Is there a way to make the ports use the vanilla 1.4 implementation instead of the diablo 1.3 now that I have it installed? Regards and thanks, Mark Van Orman mark@icsaccess.com ----- Original Message ----- From: "Michael E Mercer" To: "Mark Van Orman" Cc: Sent: Wednesday, September 08, 2004 4:26 PM Subject: Re: ports: jdk13 vs diablo-jdk13 > If I understand it correctly, they are both the same as far as the > source is concerned. However diablo is FreeBSD's binary version that has > been "blessed" by SUN. The jdk13 port would actually compile the source > on your machine. > > HTH > Michael > > On Wed, 2004-09-08 at 17:13, Mark Van Orman wrote: > > Hi, > > > > Would someone please explain to me the difference between jdk13 and diablo-jdk13. Why would I install one and not the other? > > > > I couldn't find any online resources explaining the difference between the two ports. > > > > > > > > Regards and thanks, > > > > Mark Van Orman > > mark@icsaccess.com > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > --- > [This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System] > > From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 04:40:40 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 E799A16A4CE for ; Thu, 9 Sep 2004 04:40:40 +0000 (GMT) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78C0743D54 for ; Thu, 9 Sep 2004 04:40:39 +0000 (GMT) (envelope-from lukas@razik.de) Received: by fmmailgate03.web.de (8.12.6/8.12.6/webde Linux 0.7) with SMTP id i894dQxe004615; Thu, 9 Sep 2004 06:40:38 +0200 Received: from 217.84.131.167 by freemailng5301.web.de with HTTP; Thu, 09 Sep 2004 06:40:32 +0200 Date: Thu, 09 Sep 2004 06:40:32 +0200 Message-Id: <167950317@web.de> MIME-Version: 1.0 From: "Lukas Razik" To: freebsd-java@freebsd.org Precedence: fm-user X-WEBDE-Sender: Organization: http://freemail.web.de/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit cc: brian.lamar@gmail.com Subject: Re: Eclipse Build Failure X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 04:40:41 -0000 > > This is an example of trying to build the C++ IDE, but I get the exact > same error when building Eclipse from java/eclipse. > > > ===> Installing for eclipse-cdt-2.0 > ===> eclipse-cdt-2.0 depends on file: > /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar - > not found > ===> Verifying install for > /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar in > /usr/ports/java/eclipse > ===> Building for eclipse-3.0_1 > ===> Building libswt. > cd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" && \ > /bin/sh ./build.sh && \ > /bin/cp *.so ../../../../org.eclipse.swt.gtk/os/freebsd/x86/ > gmake[1]: Entering directory > `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT > PI/gtk/library' > cc -O -Wall -DSWT_VERSION=3062 -DFREEBSD -DGTK > -I/usr/local/linux-sun-jdk1.4.2/include > -I/usr/local/linux-sun-jdk1.4.2/include/bsd > -I/usr/local/linux-sun-jdk1.4.2/include/freebsd > -I../../../Eclipse_SWT/common/library > -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c > swt.c > In file included from swt.h:23, > from swt.c:12: > /usr/local/linux-sun-jdk1.4.2/include/jni.h:27:20: jni_md.h: No such > file or directory > In file included from swt.h:23, > from swt.c:12: > /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: error: syntax error > before "jsize" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: type defaults > to `int' in declaration of `jsize' > /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: data > definition has no type or storage class > /usr/local/linux-sun-jdk1.4.2/include/jni.h:104: error: syntax error > before "jbyte" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:107: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:193: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:195: error: syntax error > before '*' token > /usr/local/linux-sun-jdk1.4.2/include/jni.h:198: error: syntax error > before '*' token > > SNIP: About 100 more syntax error before '*' token errors > > /usr/local/linux-sun-jdk1.4.2/include/jni.h:730: error: syntax error > before '*' token > /usr/local/linux-sun-jdk1.4.2/include/jni.h:732: error: syntax error > before '*' token > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1834: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1842: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1851: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1854: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1862: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1863: error: syntax error > before '*' token > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1864: error: syntax error > before '*' token > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1871: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1888: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1927: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: type > defaults to `int' in declaration of `JNI_GetDefaultJavaVMInitArgs' > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: data > definition has no type or storage class > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1930: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: type > defaults to `int' in declaration of `JNI_CreateJavaVM' > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: data > definition has no type or storage class > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1933: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: error: syntax error > before "jsize" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: type > defaults to `int' in declaration of `JNI_GetCreatedJavaVMs' > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: data > definition has no type or storage class > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1937: error: syntax error > before "jint" > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: type > defaults to `int' in declaration of `JNI_OnLoad' > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: data > definition has no type or storage class > /usr/local/linux-sun-jdk1.4.2/include/jni.h:1940: error: syntax error > before "void" > swt.c:17: error: syntax error before "jint" > swt.c:17: warning: return type defaults to `int' > gmake[1]: *** [swt.o] Error 1 > gmake[1]: Leaving directory > `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT > PI/gtk/library' > gmake: *** [libswt] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/eclipse. > *** Error code 1 > > Stop in /usr/ports/java/eclipse-cdt. > > > Thank you for any insight you can toss my way. > > _____________________ > Brian Lamar > > ACM at VT Assistant Sysadmin > I had the same problem while compiling openoffice-1.1 Change into "/usr/local/linux-sun-jdk1.4.2/include" and do the following: ln -s linux/jni_md.h . ln -s linux/jawt_md.h . Now try to build the project again... Good luck!!! Kind regards, Lukas From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 07:33:29 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 EEB0E16A4CE for ; Thu, 9 Sep 2004 07:33:28 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23B1443D48 for ; Thu, 9 Sep 2004 07:33:28 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C5JQs-0003Y1-00 for ; Thu, 09 Sep 2004 09:33:26 +0200 Received: from panix3.panix.com ([166.84.1.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2004 09:33:26 +0200 Received: from evenson by panix3.panix.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Sep 2004 09:33:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Mark Evenson Date: 09 Sep 2004 03:33:17 -0400 Lines: 60 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: panix3.panix.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Sender: news cc: 0@main.gmane.org Subject: Creating javahl JNI bindings for Subclipse 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, 09 Sep 2004 07:33:29 -0000 --=-=-= Thanks for all the great work getting Eclipse 3.0 working: now on to the plugins! In working through porting Subclipse (the Subversion plugin for Eclipse) on FreeBSD 5.2.1, I run into the attached error compiling libsvnjavahl.so (Java High Level JNI bindings for SVN), which is an unsatisfied compile time linkage error to 'apr_thread_mutex_lock'. This arises from the ports default use of the non-threaded APR model in Apache httpd, and therefore in Subversion. Any recommendations to a shortest path to getting Subclipse working among: Waiting for subversion-1.1, which builds the javahl interface by default, is not really an attractive options, as we seem to be in the middle of a ports freeze for the stabilization of RELENG_5. Rewriting the subversion-1.0.6 code to use a per-process locking model from APR, which I think will not work from the inherently multi-threaded Java. Compiling www/apache2 and devel/subversion with the threading model. This is marked as 'experimental' all over the ports Makefiles. How experimental is this really? -- Mark Evenson "A screaming comes across the sky. It has happened before, but there is nothing to compare to it now." --=-=-= Content-Disposition: attachment; filename=subversion-1.0.6-javahl-compile-errors Content-Description: javahl unsatisfied link to APR thread mutex ub1868-1413:/usr/ports/devel/subversion/work/subversion-1.0.6/subversion/bindings/java/javahl/native$ gmake gmake all-am gmake[1]: Entering directory `/usr/ports/devel/subversion/work/subversion-1.0.6/subversion/bindings/java/javahl/native' source='JNICriticalSection.cpp' object='JNICriticalSection.lo' libtool=yes \ depfile='.deps/JNICriticalSection.Plo' tmpdepfile='.deps/JNICriticalSection.TPlo' \ depmode=gcc3 /usr/local/bin/bash ../depcomp \ /usr/local/bin/bash ../libtool --mode=compile g++ -DPACKAGE_NAME=\"javahl\" -DPACKAGE_TARNAME=\"javahl\" -DPACKAGE_VERSION=\"0.32.1\" -DPACKAGE_STRING=\"javahl\ 0.32.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\" -DVERSION=\"0.32.1\" -I. -I. -I/usr/local/include/apache2 -g -O2 -I../../../../include -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -c -o JNICriticalSection.lo `test -f JNICriticalSection.cpp || echo './'`JNICriticalSection.cpp rm -f .libs/JNICriticalSection.lo g++ -DPACKAGE_NAME=\"javahl\" -DPACKAGE_TARNAME=\"javahl\" -DPACKAGE_VERSION=\"0.32.1\" "-DPACKAGE_STRING=\"javahl 0.32.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\" -DVERSION=\"0.32.1\" -I. -I. -I/usr/local/include/apache2 -g -O2 -I../../../../include -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -c JNICriticalSection.cpp -MT JNICriticalSection.lo -MD -MP -MF .deps/JNICriticalSection.TPlo -fPIC -DPIC -o .libs/JNICriticalSection.lo JNICriticalSection.cpp: In constructor ` JNICriticalSection::JNICriticalSection(JNIMutex&)': JNICriticalSection.cpp:36: error: `apr_thread_mutex_lock' undeclared (first use this function) JNICriticalSection.cpp:36: error: (Each undeclared identifier is reported only once for each function it appears in.) JNICriticalSection.cpp: In destructor ` JNICriticalSection::~JNICriticalSection()': JNICriticalSection.cpp:47: error: `apr_thread_mutex_unlock' undeclared (first use this function) gmake[1]: *** [JNICriticalSection.lo] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/subversion/work/subversion-1.0.6/subversion/bindings/java/javahl/native' gmake: *** [all] Error 2 --=-=-=-- From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 08:02:27 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 C765016A4CF for ; Thu, 9 Sep 2004 08:02:27 +0000 (GMT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F06D43D31 for ; Thu, 9 Sep 2004 08:02:25 +0000 (GMT) (envelope-from ml@FreeBSD.org.ua) Received: from phantom.cris.net (ml@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i8984HHk049993; Thu, 9 Sep 2004 11:04:17 +0300 (EEST) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i8984GHn049992; Thu, 9 Sep 2004 11:04:16 +0300 (EEST) (envelope-from ml) Date: Thu, 9 Sep 2004 11:04:15 +0300 From: Alexey Zelkin To: Kurt Miller Message-ID: <20040909080415.GA49910@phantom.cris.net> References: <033d01c495e6$09de3230$1d0110ac@focus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <033d01c495e6$09de3230$1d0110ac@focus> X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i cc: freebsd-java@freebsd.org Subject: Re: debugging 1.4 and execve 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, 09 Sep 2004 08:02:28 -0000 hi, Hehe. It was funny expirience. The only way (I did not have much time to look in this issue at the begining) to avoid it -- to avoid calling execve(). java_md.c has function named SetLibraryPath() IIRC, so you need to debug this function and find which LD_LIBRARY_PATH it wants to have. Next you need to exit debuger, set LD_LIBRARY_PATH to exactly this value, and re-execute debuger. java will look up for new library path, compare with already set one, and if they are equal (internally it means what execve() is called already) execution will be continued without execve(), and as result without any gdb traps. ps: one more trick, as result of not having of any gdb traps, you'll be having working 'thread*' command functionality. I do not know about OpenBSD, but it should be easy to port simple patch for gdb (it should be in old ports tree) from FreeBSD, which support user threads listings and switching from inside gdb. Very useful thing while debuging of heavy threaded applications (like, jvm) ;-) On Wed, Sep 08, 2004 at 04:54:31PM -0400, Kurt Miller wrote: > I'm working on the 1.4 port for OpenBSD and need to > debug the jdk. gdb becomes mostly useless after an > execve call in java_md.c > > 777 execve(newexec, argv, newenvp); > (gdb) > > Program received signal SIGTRAP, Trace/breakpoint trap. > Cannot remove breakpoints because program is no longer writable. > It might be running in another process. > Further execution is probably impossible. > 0x019ef160 in ?? () > (gdb) bt > #0 0x03235160 in ?? () > > Does anyone have a suggestion on how to keep gdb > working after the execve? > > Thanks, > -Kurt > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 09:30: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 F01C416A4CE for ; Thu, 9 Sep 2004 09:30:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB06843D41 for ; Thu, 9 Sep 2004 09:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i899UQ8h056090 for ; Thu, 9 Sep 2004 09:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i899UQAq056088; Thu, 9 Sep 2004 09:30:26 GMT (envelope-from gnats) Resent-Date: Thu, 9 Sep 2004 09:30:26 GMT Resent-Message-Id: <200409090930.i899UQAq056088@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Damir Kiramov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5630F16A4CE for ; Thu, 9 Sep 2004 09:24:40 +0000 (GMT) Received: from hermit.shvager.ru (hermit.shvager.ru [193.28.46.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E4B43D1F for ; Thu, 9 Sep 2004 09:24:39 +0000 (GMT) (envelope-from damirycha@hermit.shvager.ru) Received: from hermit.shvager.ru (localhost.shvager.ru [127.0.0.1]) by hermit.shvager.ru (8.12.9/8.12.5) with ESMTP id i899UFtc013932 for ; Thu, 9 Sep 2004 13:30:15 +0400 (MSD) (envelope-from damirycha@hermit.shvager.ru) Received: (from damirycha@localhost) by hermit.shvager.ru (8.12.9/8.12.6/Submit) id i899UEpl013931; Thu, 9 Sep 2004 13:30:14 +0400 (MSD) Message-Id: <200409090930.i899UEpl013931@hermit.shvager.ru> Date: Thu, 9 Sep 2004 13:30:14 +0400 (MSD) From: Damir Kiramov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/71516: jdk13 hotspot fails to build with recent gcc 3.4.2 on RELENG_5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Damir Kiramov List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 09:30:27 -0000 >Number: 71516 >Category: java >Synopsis: jdk13 hotspot fails to build with recent gcc 3.4.2 on RELENG_5 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 09:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Damir Kiramov >Release: FreeBSD 5.3-BETA2 i386 >Organization: >Environment: System: FreeBSD www8.biblion.ru 5.3-BETA2 FreeBSD 5.3-BETA2 #0: Fri Sep 3 17:03:48 MSD 2004 root@www8.biblion.ru:/usr/obj/usr/src/sys/TESTWWWS i386 >Description: The recent changes to make in 5.2-CURRENT to use MAKEFLAGS and also the changes to gcc 3.4 break the hotspot build. # Start of HotSpot build (cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux ; /usr/bin/env ALT_BOOTDIR="/usr/local/jdk1.3.1" ALT_MOTIF_DIR="/usr/X11R6" OPENWINHOME="/usr/X11R6" SYS_CFLAGS="-O -pipe " CLASSPATH="" LD_LIBRARY_PATH="" JAVA_COMPILER="" MAKEFLAGS="" SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe " CXXFLAGS="-O -pipe" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" gmake -f Makefile compiler1 compiler2) sh /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makefiles/buildATree.sh compiler1 /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 (cd linux_i486_compiler1/jvmg; gmake) gmake[1]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler1/jvmg' Removing ../generated/includeDB.current to force regeneration. cd ../generated; cat /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/includeDB_core /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/includeDB_ci /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/includeDB_compiler1 > includeDB cd ../generated; if [ ! -r incls ] ; then \ mkdir incls ; \ fi cd ../generated; /usr/local/jdk1.3.1/bin/java -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/platform_i486 includeDB -firstFile functionAtStart.cpp -lastFile functionAtEnd.cpp Old database: computing closures New database: reading database: includeDB computing closures Deltas: updating output files The order of .c or .s has changed, or the grand include file has changed. writing individual include files creating functionAtStart.cpp creating accessFlags.cpp creating ageTable.cpp creating allocation.cpp creating aprofiler.cpp creating arguments.cpp creating arrayKlass.cpp creating arrayKlassKlass.cpp creating arrayOop.cpp creating assembler.cpp creating assembler_i486.cpp creating assembler_linux_i486.cpp creating bitMap.cpp creating bytecode.cpp creating bytecodeHistogram.cpp creating bytecodeStream.cpp creating bytecodeTracer.cpp creating bytecodes.cpp creating bytecodes_i486.cpp creating carRememberedSet.cpp creating cartable.cpp creating classFileParser.cpp creating classFileStream.cpp creating classLoader.cpp creating codeBuffer.cpp creating compressedStream.cpp creating constantPoolKlass.cpp creating constantPoolOop.cpp creating constantTag.cpp creating cpCacheKlass.cpp creating cpCacheOop.cpp creating debug.cpp creating debug_i486.cpp creating disassembler_i486.cpp creating events.cpp creating evmCompat.cpp creating exceptions.cpp creating extendedPC_i486.cpp creating fieldDescriptor.cpp creating fieldType.cpp creating fprofiler.cpp creating frame.cpp creating frame_i486.cpp creating gcLocker.cpp creating generateOopMap.cpp creating generation.cpp creating getThread_linux_i486.cpp creating globalDefinitions.cpp creating globals.cpp creating growableArray.cpp creating handles.cpp creating heap.cpp creating histogram.cpp creating hpi.cpp creating hpi_linux.cpp creating icache.cpp creating icache_i486.cpp creating init.cpp creating instanceKlass.cpp creating instanceKlassKlass.cpp creating instanceOop.cpp creating instanceRefKlass.cpp creating interfaceSupport.cpp creating interp_masm_i486.cpp creating interpreterRT_i486.cpp creating interpreterRuntime.cpp creating interpreter_i486.cpp creating interpreter_abs.cpp creating iterator.cpp creating java.cpp creating javaCalls.cpp creating javaClasses.cpp creating jni.cpp creating jniHandles.cpp creating jvm.cpp creating jvm_linux.cpp creating jvmdiEvent.cpp creating jvmdi.cpp creating jvmdi_info.cpp creating jvmdi_info2.cpp creating jvmpi.cpp creating klass.cpp creating klassKlass.cpp creating klassOop.cpp creating klassVtable.cpp creating linkResolver.cpp creating markOop.cpp creating markSweep.cpp creating memprofiler.cpp creating methodIterator.cpp creating methodKlass.cpp creating methodOop.cpp creating methodPrinter.cpp creating monitorChunk.cpp creating mutex.cpp creating mutexLocker.cpp creating mutex_linux.cpp creating nativeInst_i486.cpp creating nativeLookup.cpp creating objArrayKlass.cpp creating objArrayKlassKlass.cpp creating objArrayOop.cpp creating objectMonitor_linux.cpp creating oop.cpp creating oopFactory.cpp creating oopMapCache.cpp creating oopRecorder.cpp creating os.cpp creating osThread.cpp creating osThread_linux.cpp creating os_linux.cpp creating os_linux_i486.cpp creating ostream.cpp creating preserveException.cpp creating privilegedStack.cpp creating rawMonitor.cpp creating referencePolicy.cpp creating reflection.cpp creating reflectionUtils.cpp creating relocInfo.cpp creating relocInfo_i486.cpp creating relocator.cpp creating rememberedSet.cpp creating resourceArea.cpp creating rewriter.cpp creating safepoint.cpp creating safepoint_linux.cpp creating scavenge.cpp creating sharedRuntime.cpp creating signature.cpp creating space.cpp creating stackValue.cpp creating stubCodeGenerator.cpp creating stubGenerator_i486.cpp creating stubRoutines.cpp creating stubRoutines_i486.cpp creating stubs.cpp creating symbolKlass.cpp creating symbolOop.cpp creating symbolTable.cpp creating synchronizer.cpp creating systemDictionary.cpp creating task.cpp creating templateTable.cpp creating templateTable_i486.cpp creating thread.cpp creating threadLS_linux_i486.cpp creating threadLocalStorage.cpp creating threadLocalEden.cpp creating timer.cpp creating train.cpp creating typeArrayKlass.cpp creating typeArrayKlassKlass.cpp creating typeArrayOop.cpp creating universe.cpp creating utf8.cpp creating verifier.cpp creating vframe.cpp creating virtualspace.cpp creating vmNullPointerExc.cpp creating vmStructs.cpp creating vmSymbols.cpp creating vmThread.cpp creating vm_operations.cpp creating vm_version_i486.cpp creating vm_version_abs.cpp creating vtune_linux.cpp creating speclock.cpp creating ciArray.cpp creating ciArrayKlass.cpp creating ciConstant.cpp creating ciConstantPoolCache.cpp creating ciEnv.cpp creating ciExceptionHandler.cpp creating ciField.cpp creating ciFieldLayout.cpp creating ciFlags.cpp creating ciInstance.cpp creating ciInstanceKlass.cpp creating ciInstanceKlassKlass.cpp creating ciKlass.cpp creating ciKlassKlass.cpp creating ciMethod.cpp creating ciMethodKlass.cpp creating ciNullObject.cpp creating ciObjArrayKlass.cpp creating ciObjArrayKlassKlass.cpp creating ciObject.cpp creating ciObjectFactory.cpp creating ciOopMap.cpp creating ciScope.cpp creating ciSignature.cpp creating ciStreams.cpp creating ciSymbol.cpp creating ciSymbolKlass.cpp creating ciTypeArrayKlass.cpp creating ciTypeArrayKlassKlass.cpp creating ciUtilities.cpp creating compileBroker.cpp creating debugInfoRec.cpp creating onStackReplacement.cpp creating recompile.cpp creating callProfile.cpp creating cha.cpp creating codeBlob.cpp creating codeCache.cpp creating compilationScope.cpp creating compiledICHolderKlass.cpp creating compiledICHolderOop.cpp creating compilerOracle.cpp creating debugInfo.cpp creating icBuffer.cpp creating icBuffer_i486.cpp creating invocationCounter.cpp creating pcDesc.cpp creating recompilationMonitor.cpp creating recompiler.cpp creating rframe.cpp creating threadCodeBuffer.cpp creating sweeper.cpp creating vframeArray.cpp creating vframe_hp.cpp creating c1_globals.cpp creating compiledIC.cpp creating deoptimization.cpp creating inlining.cpp creating location.cpp creating methodTracer.cpp creating nmethod.cpp creating oopMap.cpp creating scope.cpp creating scopeDesc.cpp creating scopeIterator.cpp creating shared.cpp creating shared_i486.cpp creating vtableStubs.cpp creating vtableStubs_i486.cpp creating c1_Canonicalizer.cpp creating c1_Compiler.cpp creating c1_Miscellaneous.cpp creating c1_Instruction.cpp creating c1_InstructionPrinter.cpp creating c1_IR.cpp creating c1_GraphBuilder.cpp creating c1_Inliner.cpp creating c1_ValueStack.cpp creating c1_FrameMap_i486.cpp creating c1_FrameMap.cpp creating c1_CodeGenerator.cpp creating c1_CodeGenerator_i486.cpp creating c1_CodeEmitter_i486.cpp creating c1_CodeEmitter.cpp creating c1_Items.cpp creating c1_Items_i486.cpp creating c1_Optimizer.cpp creating c1_MacroAssembler_i486.cpp creating c1_RegAlloc.cpp creating c1_RegAlloc_i486.cpp creating c1_RInfo.cpp creating c1_RInfo_i486.cpp creating c1_Runtime1.cpp creating c1_Runtime1_i486.cpp creating c1_ValueMap.cpp creating c1_ValueType.cpp creating c1_CodeStubs_i486.cpp creating ciBytecodeStream.cpp creating c1_Loops.cpp creating c1_CacheLocals_i486.cpp creating c1_ScanBlocks.cpp creating c1_Compilation.cpp creating functionAtEnd.cpp writing grand include file writing dependencies file cd ../generated; cp includeDB includeDB.current cd ../generated; cp /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/platform_i486 platform.current gmake[2]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler1/jvmg' echo '#define debug launcher_debug' >>launcher.c+ echo '#include "java.c"' >>launcher.c+ echo '#include "java_md.c"' >>launcher.c+ mv launcher.c+ launcher.c gcc -g -c -o launcher.o launcher.c -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/launcher -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/prims -DLINUX -D_GNU_SOURCE -DIA32 -D_USE_PTHREAD_SPECIFIC -pthread -D_THREAD_SAFE -DASSERT -DDEBUG -DFASTDEBUG -I../generated/adfiles -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/asm -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/c1 -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/ci -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/code -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/compiler -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/interpreter -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/memory -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/oops -I/usr/ports/java/jdk13/work/hot! spot1.3.1/build/linux/../../src/share/vm/prims -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/runtime -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/utilities -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/cpu/i486/vm -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/vm -I/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os_cpu/linux_i486/vm -I../generated -I/usr/src/lib/libc_r -I/usr/src/lib/libc/include Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/runtime/functionAtStart.cpp cc1plus: note: -fwritable-strings is deprecated; see documentation for details cc1plus: note: -fwritable-strings is deprecated; see documentation for details Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/utilities/accessFlags.cpp cc1plus: note: -fwritable-strings is deprecated; see documentation for details cc1plus: note: -fwritable-strings is deprecated; see documentation for details Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/memory/ageTable.cpp cc1plus: note: -fwritable-strings is deprecated; see documentation for details cc1plus: note: -fwritable-strings is deprecated; see documentation for details Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/memory/allocation.cpp cc1plus: note: -fwritable-strings is deprecated; see documentation for details cc1plus: note: -fwritable-strings is deprecated; see documentation for details In file included from ../generated/incls/_allocation.cpp.incl:109, from /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/memory/allocation.cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/runtime/mutex.hpp:58: error: `void Mutex::set_owner_implementation(Thread*)' is protected /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/share/vm/runtime/thread.hpp:269: error: within this context gmake[2]: *** [allocation.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler1/jvmg' gmake[1]: *** [the_vm] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler1/jvmg' gmake: *** [jvmg1] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk13. >How-To-Repeat: Build with -DWITH_HOTSPOT >Fix: It _is_ dirty but makes hotspot to compile fine. I am not a programmer, sorry. --- hotspotdiffs begins here --- diff -aruN ../jdk13.orig/Makefile ./Makefile --- ../jdk13.orig/Makefile Wed Sep 8 13:00:18 2004 +++ ./Makefile Wed Sep 8 13:01:05 2004 @@ -58,7 +58,8 @@ SYS_CFLAGS="${CFLAGS}" \ CLASSPATH="" \ LD_LIBRARY_PATH="" \ - JAVA_COMPILER="" + JAVA_COMPILER="" \ + MAKEFLAGS="" .if !defined(WITHOUT_PLUGIN) MAKE_ENV += LIBG_HDRS="${LOCALBASE}/include/glib12" \ GTK_HDRS="${X11BASE}/include/gtk12" \ diff -aruN ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc.make ./work/hotspot1.3.1/build/linux/makefiles/gcc.make --- ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc.make Wed Sep 8 16:07:20 2004 +++ ./work/hotspot1.3.1/build/linux/makefiles/gcc.make Wed Sep 8 16:13:05 2004 @@ -37,7 +37,7 @@ ##### #harmless -OPT_CFLAGS += -fmemoize-lookups +#OPT_CFLAGS += -fmemoize-lookups #unneeded #OPT_CFLAGS += -fpeephole #bad diff -aruN ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc31.make ./work/hotspot1.3.1/build/linux/makefiles/gcc31.make --- ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc31.make Wed Sep 8 16:07:27 2004 +++ ./work/hotspot1.3.1/build/linux/makefiles/gcc31.make Wed Sep 8 16:13:42 2004 @@ -109,7 +109,7 @@ ##### #harmless -OPT_CFLAGS += -fmemoize-lookups +#OPT_CFLAGS += -fmemoize-lookups #unneeded #OPT_CFLAGS += -fpeephole #bad diff -aruN ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc32.make ./work/hotspot1.3.1/build/linux/makefiles/gcc32.make --- ../jdk13.orig/work/hotspot1.3.1/build/linux/makefiles/gcc32.make Wed Sep 8 16:07:35 2004 +++ ./work/hotspot1.3.1/build/linux/makefiles/gcc32.make Wed Sep 8 16:13:55 2004 @@ -109,7 +109,7 @@ ##### #harmless -OPT_CFLAGS += -fmemoize-lookups +#OPT_CFLAGS += -fmemoize-lookups #unneeded #OPT_CFLAGS += -fpeephole #bad diff -aruN ../jdk13.orig/work/hotspot1.3.1/src/share/vm/memory/scavenge.hpp ./work/hotspot1.3.1/src/share/vm/memory/scavenge.hpp --- ../jdk13.orig/work/hotspot1.3.1/src/share/vm/memory/scavenge.hpp Wed Sep 8 15:06:18 2004 +++ ./work/hotspot1.3.1/src/share/vm/memory/scavenge.hpp Wed Sep 8 15:07:36 2004 @@ -121,8 +121,10 @@ static void compute_scavenge_functions(); + public: // Scavenge entry point called from VM operation static void invoke_at_safepoint(int size_to_be_allocated, bool deferred, bool& notify_ref_lock); + private: // Cheney scan static void evacuate_followers(); diff -aruN ../jdk13.orig/work/hotspot1.3.1/src/share/vm/runtime/mutex.hpp ./work/hotspot1.3.1/src/share/vm/runtime/mutex.hpp --- ../jdk13.orig/work/hotspot1.3.1/src/share/vm/runtime/mutex.hpp Wed Sep 8 14:12:51 2004 +++ ./work/hotspot1.3.1/src/share/vm/runtime/mutex.hpp Wed Sep 8 14:13:55 2004 @@ -55,7 +55,9 @@ debug_only(Thread* _last_owner;) // the last thread to own the lock #endif + public: void set_owner_implementation(Thread* owner) PRODUCT_RETURN; + protected: void trace (const char* operation) PRODUCT_RETURN; void check_prelock_state (Thread* thread) PRODUCT_RETURN; void check_block_state (Thread* thread) PRODUCT_RETURN; --- hotspotdiffs ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 12:57: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 7F48816A4CE for ; Thu, 9 Sep 2004 12:57:10 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F4743D5F for ; Thu, 9 Sep 2004 12:57:09 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i89Cv7oT075757; Thu, 9 Sep 2004 14:57:07 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i89Cv15b075756; Thu, 9 Sep 2004 14:57:01 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Thu, 9 Sep 2004 14:57:01 +0200 From: Herve Quiroz To: Mark Van Orman Message-ID: <20040909125701.GA75588@arabica.esil.univ-mrs.fr> Mail-Followup-To: Mark Van Orman , freebsd-java@freebsd.org References: <017301c495e8$a009e1d0$1502a8c0@mobileone> <1094678765.325.1.camel@fast.mmercer.com> <018901c495eb$6ff29ac0$1502a8c0@mobileone> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018901c495eb$6ff29ac0$1502a8c0@mobileone> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: ports: jdk13 vs diablo-jdk13 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, 09 Sep 2004 12:57:10 -0000 Mark, Actually, the Java ports do not depend explicitely on diablo-jdk. At least not on FreeBSB 5+. It is the case on FreeBSD 4 though so I imagine that this is the system you are running. For future Java ports you want to install, I suggest you add this statement in /etc/make.conf: JAVA_PREFERRED_PORTS= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4 This way, this particular JDK would be chosen before any other while a port is trying to pick a JDK to depend on (provided, of course, that jdk14 suits the needs of the port). Anyway, if you happen to have jdk14 installed before installing any Java port, it will be chosen even when you don't override JAVA_PREFERRED_PORTS. Indeed, the ports system will use preferrably any JDK that is already installed and that suits the needs of the port. More information on this subject in Mk/bsd.java.mk... Herve On Wed, Sep 08, 2004 at 04:33:09PM -0500, Mark Van Orman wrote: > Thanks Michael. > > It's really impractical that they have it this way. A lot of the java > ports are dependent on the diablo-jdk port and not the vanilla jdk. Now that > I've already installed the vanilla jdk I'll have to also install the diablo > port. The vanilla jdk I installed is 14, so all ports will actually use the > older (1.3) diablo implementation if I do install it. > > Is there a way to make the ports use the vanilla 1.4 implementation > instead of the diablo 1.3 now that I have it installed? From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 13:20: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 0612716A4CE for ; Thu, 9 Sep 2004 13:20:09 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 689FE43D5C for ; Thu, 9 Sep 2004 13:20:08 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i89DK5oT078948; Thu, 9 Sep 2004 15:20:05 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i89DK0Od078947; Thu, 9 Sep 2004 15:20:00 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Thu, 9 Sep 2004 15:20:00 +0200 From: Herve Quiroz To: Ronald Klop Message-ID: <20040909132000.GB78886@arabica.esil.univ-mrs.fr> Mail-Followup-To: Ronald Klop , "java@freebsd.org" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: "java@freebsd.org" Subject: Re: javamail and jaf not fetchable 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, 09 Sep 2004 13:20:09 -0000 Ronald, Thanks for notifying this. Actually the error comes from all '&' being escaped in DOWNLOAD_URL. The URLs are correct if you remove all '\'. Hence: http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7017-jaf-1.0.2-oth-JPR&SiteId=JSC&TransactionId=noreg http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7515-java_mail-1.3.1-oth-JPR&SiteId=JSC&TransactionId=noreg I've got a fix for that but the ports/ CVS is actually frozen so you'll to wait for me to get the approval of portmgr@ before I can commit the patch. Herve On Wed, Sep 08, 2004 at 11:06:39PM +0200, Ronald Klop wrote: > Hello, > > The url's of the javamail and jaf port give errors. > I don't know if these errors are permanent or temporary. But maybe > somebody has the time to look at it. > > Greetings, > > Ronald. From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 13:44:13 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 80F9916A4CE for ; Thu, 9 Sep 2004 13:44:13 +0000 (GMT) Received: from smtp15.wxs.nl (smtp15.wxs.nl [195.121.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48C6043D55 for ; Thu, 9 Sep 2004 13:44:13 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210]) by smtp15.wxs.nlSMTP id <0I3S00AOS0TOXR@smtp15.wxs.nl> for java@freebsd.org; Thu, 09 Sep 2004 15:44:12 +0200 (CEST) Received: (qmail 12818 invoked from network); Thu, 09 Sep 2004 13:44:11 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Thu, 09 Sep 2004 13:44:11 +0000 Received: (qmail 1039 invoked from network); Thu, 09 Sep 2004 13:43:57 +0000 Received: from unknown (HELO guido.thuis.klop.ws) (192.168.0.2) by 192.168.0.16 with SMTP; Thu, 09 Sep 2004 13:43:57 +0000 Received: (qmail 891 invoked from network); Thu, 09 Sep 2004 13:43:45 +0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Thu, 09 Sep 2004 13:43:45 +0000 Date: Thu, 09 Sep 2004 15:43:44 +0200 From: Ronald Klop In-reply-to: <20040909132000.GB78886@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: <20040909132000.GB78886@arabica.esil.univ-mrs.fr> cc: "java@freebsd.org" Subject: Re: javamail and jaf not fetchable 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, 09 Sep 2004 13:44:13 -0000 On Thu, 9 Sep 2004 15:20:00 +0200, Herve Quiroz wrote: > Ronald, > > Thanks for notifying this. Actually the error comes from all '&' being > escaped in DOWNLOAD_URL. The URLs are correct if you remove all '\'. > Hence: > > http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7017-jaf-1.0.2-oth-JPR&SiteId=JSC&TransactionId=noreg > http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7515-java_mail-1.3.1-oth-JPR&SiteId=JSC&TransactionId=noreg > > I've got a fix for that but the ports/ CVS is actually frozen so you'll > to wait for me to get the approval of portmgr@ before I can commit the > patch. Thanks. -- Ronald Klop Amsterdam, The Netherlands From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 13:57:50 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 0F3C616A4CE for ; Thu, 9 Sep 2004 13:57:50 +0000 (GMT) Received: from oxyd.caraldi.com (caraldi.com [195.137.249.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8053F43D2F for ; Thu, 9 Sep 2004 13:57:49 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (unknown [84.96.21.10]) by oxyd.caraldi.com (Postfix) with ESMTP id E11AE2155 for ; Thu, 9 Sep 2004 15:57:47 +0200 (CEST) Received: by vision.anyware (Postfix, from userid 615) id 32FB16B0D; Thu, 9 Sep 2004 15:57:48 +0200 (CEST) Date: Thu, 9 Sep 2004 15:57:47 +0200 From: Jean-Baptiste Quenot To: freebsd-java@freebsd.org Message-ID: <20040909135745.GA65004@vision.anyware> Mail-Followup-To: freebsd-java@freebsd.org References: <20040831120745.L66028@hawat.cc.ubbcluj.ro> <20040901142643.GA80717@arabica.esil.univ-mrs.fr> <4136C50B.2050906@suutari.iki.fi> <4136C8BA.4020403@suutari.iki.fi> <20040907104909.S86234@hawat.cc.ubbcluj.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20040907104909.S86234@hawat.cc.ubbcluj.ro> User-Agent: Mutt/1.5.6i Subject: Re: Java Communication API for FreeBSD Input Stream Problem 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, 09 Sep 2004 13:57:50 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Comsa Daniel: > I'm glad to say that the RXTX package works great. Rxtx being an open-source variant of Java Comm API, it is much more reliable. And bugs can even be fixed by the users. I'm glad you gave a try to Rxtx. Herv=E9 Quiroz is about to commit the port into FreeBSD. Thanks! --=20 Jean-Baptiste Quenot http://caraldi.com/jbq/ --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBQGFZ9xx3BCMc9gsRArSTAJ0XPtc33WzB3N/BKM2zIpgoouHcVACgl6s4 bK+JmcI5ctV+iNOJUhtOq4o= =62aq -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 15:31:31 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 77F0516A4CE for ; Thu, 9 Sep 2004 15:31:31 +0000 (GMT) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.5.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42B4F43D1D for ; Thu, 9 Sep 2004 15:31:31 +0000 (GMT) (envelope-from truk@optonline.net) Received: from focus (ool-182e24b7.dyn.optonline.net [24.46.36.183]) by mta3.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0I3S008JX5P5IE@mta3.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Thu, 09 Sep 2004 11:29:29 -0400 (EDT) Date: Thu, 09 Sep 2004 11:29:34 -0400 From: Kurt Miller To: Alexey Zelkin Message-id: <06c101c49681$cf920f60$1d0110ac@focus> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook Express 6.00.2800.1437 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <033d01c495e6$09de3230$1d0110ac@focus> <20040909080415.GA49910@phantom.cris.net> cc: freebsd-java@freebsd.org Subject: Re: debugging 1.4 and execve 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, 09 Sep 2004 15:31:31 -0000 From: "Alexey Zelkin" > Hehe. It was funny expirience. The only way (I did not have > much time to look in this issue at the begining) to avoid it -- > to avoid calling execve(). java_md.c has function named > SetLibraryPath() IIRC, so you need to debug this function and > find which LD_LIBRARY_PATH it wants to have. Next you need > to exit debuger, set LD_LIBRARY_PATH to exactly this value, and > re-execute debuger. java will look up for new library path, compare > with already set one, and if they are equal (internally it means > what execve() is called already) execution will be continued without > execve(), and as result without any gdb traps. Thanks, it did the trick. > ps: one more trick, as result of not having of any gdb traps, you'll be > having working 'thread*' command functionality. I do not know about > OpenBSD, but it should be easy to port simple patch for gdb (it > should be in old ports tree) from FreeBSD, which support user threads > listings and switching from inside gdb. Very useful thing while debuging > of heavy threaded applications (like, jvm) ;-) Yea, not having gdb thread* in OpenBSD has been an issue for me in the past. I'll take a look at porting freebsd-uthread.c over. -Kurt From owner-freebsd-java@FreeBSD.ORG Thu Sep 9 18:39: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 8FE5E16A4CE for ; Thu, 9 Sep 2004 18:39:59 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F00743D67 for ; Thu, 9 Sep 2004 18:39:58 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i89IdvoT014084; Thu, 9 Sep 2004 20:39:57 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i89IduF4014083; Thu, 9 Sep 2004 20:39:56 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Thu, 9 Sep 2004 20:39:56 +0200 From: Herve Quiroz To: Ronald Klop Message-ID: <20040909183956.GA14061@arabica.esil.univ-mrs.fr> Mail-Followup-To: Ronald Klop , "java@freebsd.org" References: <20040909132000.GB78886@arabica.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: "java@freebsd.org" Subject: Re: javamail and jaf not fetchable 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, 09 Sep 2004 18:39:59 -0000 FYI, I've just commited the patch. Herve On Thu, Sep 09, 2004 at 03:43:44PM +0200, Ronald Klop wrote: > On Thu, 9 Sep 2004 15:20:00 +0200, Herve Quiroz > wrote: > > >Ronald, > > > >Thanks for notifying this. Actually the error comes from all '&' being > >escaped in DOWNLOAD_URL. The URLs are correct if you remove all '\'. > >Hence: > > > >http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7017-jaf-1.0.2-oth-JPR&SiteId=JSC&TransactionId=noreg > >http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7515-java_mail-1.3.1-oth-JPR&SiteId=JSC&TransactionId=noreg > > > >I've got a fix for that but the ports/ CVS is actually frozen so you'll > >to wait for me to get the approval of portmgr@ before I can commit the > >patch. > > Thanks.