From owner-freebsd-java Sun Aug 19 20:55:14 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by hub.freebsd.org (Postfix) with ESMTP id 2B5D737B419 for ; Sun, 19 Aug 2001 20:55:04 -0700 (PDT) (envelope-from archer@whichever.org) Received: from 207-172-163-52.s52.as5.xnb.nj.dialup.rcn.com ([207.172.163.52] helo=unknown.whichever.org) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.32 #2) id 15Yg9V-000538-00 ; Sun, 19 Aug 2001 23:55:02 -0400 Received: (from archer@localhost) by unknown.whichever.org (8.11.5/8.11.1) id f7K3sjd43713; Sun, 19 Aug 2001 23:54:45 -0400 (EDT) (envelope-from archer) Date: Sun, 19 Aug 2001 23:54:45 -0400 (EDT) Message-Id: <200108200354.f7K3sjd43713@unknown.whichever.org> From: Alexander Litvin To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD JDK1.2.2 Patchset 11??? In-Reply-To: <20010814043950.A7631@misty.eyesbeyond.com> X-Newsgroups: unknown.freebsd.java User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >> Any idea when a new jdk1.2.2 patchset will be available? > > I'm not sure. What bugfixes/functionality are you looking for? > > regards, Greg Ok, I'm not quite sure if this is relevant, because it is probably only about current, but here's description of the problem (I just don't know what is the politically correct fix for this): I started experiencing this problem at some time when I upgraded my CURRENT. Not exactly sure at what point did that happen (which means that I don't use java on freebsd extensively ;) This is with FreeBSD-CURRENT as of beginning of August, jdk-1.2.2b10 from ports, green threads, no jit. Anyway, the problem was that whenever I do some DNS stuff from java (like InetAddress.getByName()), interpreter dumps core. I could probably provide the stack trace, but unfortunately right now I have some custom libc as well as a bit modified libhpi.so and libjvm.so (modified as a part of investigation of the problem), and to revert it all to standard will take couple of days. But I have better then the stack trace -- I have the cause why it happens. Here's it: 1. InetAddress.getByName() eventually ends up calling gethostbyname_r(), which is implemented inside libhpi for green threads. 2. gethostbyname_r() calls gethostbyname(3) from libc, which in turn (simplified) calls res_ functions, which in turn end up calling syscalls (like socket(), connect(), sendto(), etc). 4. res_ functions call most of the syscalls directly (that is, like _socket(), _connect(), _sendto()). But there's one exclusion: res_send() calls send(). 5. And there's a reason: at some point send(2) syscall was eliminated from CURRENT. Rather, send() is implemented inside libc as _sendto(,,,,NULL,0). I'm not quite sure if the same can happen to STABLE. 6. When res_send() calls send(), it ends up not in the libc's implementation, but in libhpi's wrapper. Which is not ready at all (because other things like socket() and connect() were called from res_send() directly as syscalls, that is as _socket() and _connect()). Now, I'm not quite sure what was the initial intention: was it supposed that wrappers for syscalls from libhpi should be called from inside libc, or otherwise. Also, I'm not sure what is the correct solution. Somehow, libhpi is not ready for such changes in syscalls table. Changing send() to _sendto() inside res_send() allows at least simple program with InetAddress.getByName() to go through. -- #include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 0:31:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 66BCA37B408; Mon, 20 Aug 2001 00:31:22 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7K7Tis02361; Mon, 20 Aug 2001 09:29:44 +0200 (CEST) (envelope-from ernst) Date: Mon, 20 Aug 2001 09:29:44 +0200 (CEST) Message-Id: <200108200729.f7K7Tis02361@heinz.jollem.com> To: FreeBSD-gnats-submit@freebsd.org Subject: Maintainer update: java/jlint From: ernst@jollem.com Reply-To: ernst@jollem.com Cc: java@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Ernst de Haan >Organization: Jollem Information Technology >Confidential: no >Synopsis: Maintainer update: java/jlint >Severity: non-critical >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 4.3-RELEASE i386 >Environment: System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #5: Mon May 14 16:08:56 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386 >Description: Update of Jlint from 2.1 to 2.3. >How-To-Repeat: N/A >Fix: diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/java/jlint/Makefile /home/ernst/freebsd-ports/java/jlint/Makefile --- /usr/ports/java/jlint/Makefile Tue Jun 26 10:31:46 2001 +++ /home/ernst/freebsd-ports/java/jlint/Makefile Mon Aug 20 09:27:10 2001 @@ -6,7 +6,7 @@ # PORTNAME= jlint -PORTVERSION= 2.1 +PORTVERSION= 2.3 CATEGORIES= java MASTER_SITES= http://artho.com/jlint/ \ http://jollem.com/~ernst/ @@ -15,8 +15,6 @@ PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} TARGET_DIR?= ${PREFIX}/bin - -WRKSRC= ${WRKDIR}/${PORTNAME} .include diff -ruN --exclude=work --exclude=CVS --exclude=README.html /usr/ports/java/jlint/distinfo /home/ernst/freebsd-ports/java/jlint/distinfo --- /usr/ports/java/jlint/distinfo Tue Jun 26 10:31:46 2001 +++ /home/ernst/freebsd-ports/java/jlint/distinfo Mon Aug 20 09:22:42 2001 @@ -1 +1 @@ -MD5 (jlint-2.1.tar.gz) = 5067a0385d4cc78745c344e0be3f6024 +MD5 (jlint-2.3.tar.gz) = df11ba6c60527d3126d73d8692016bf5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 6:39:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 8160337B41A for ; Mon, 20 Aug 2001 06:39:29 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7KDbmZ03365; Mon, 20 Aug 2001 15:37:48 +0200 (CEST) (envelope-from ernst) Date: Mon, 20 Aug 2001 15:37:48 +0200 From: Ernst de Haan To: "Koster, K.J." Cc: "'alexus'" , freebsd-java@FreeBSD.ORG Subject: Re: tomcat Message-ID: <20010820153748.D2801@c104187.upc-c.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9EAB@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9EAB@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, Aug 14, 2001 at 11:33:51AM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You *want* to use Apache for serving static content, since it's *much* faster. And linking Tomcat and Apache together is a matter of installing the www/mod_jk port. :-) /Ernst Koster, K.J. wrote: > Dear Alexus, > > > > > does anyone have an experience of linking tomcat and > > apache? > > > I have, a long while back. Tomcat comes with a built-in web server, so you > may want to consider not using Apache at all. :-) > > There is a howto in Tomcat's docs that gives you the step-by-step, and I > think I installed the apache port, and the apache-jserv port. It was a > ten-minute process, IIRC. > > Kees Jan > > ===================================================== > You can't have everything. Where would you put it? > [Steven Wright] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 8:18:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.17.66]) by hub.freebsd.org (Postfix) with ESMTP id 582C637B417 for ; Mon, 20 Aug 2001 08:18:25 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id C014F275B6; Mon, 20 Aug 2001 17:18:23 +0200 (CEST) Subject: SOLVED: Successful JDK 1.3.1 build with little modification To: freebsd-java@freebsd.org Date: Mon, 20 Aug 2001 17:18:23 +0200 (CEST) X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010820151823.C014F275B6@naboo.ethz.ch> From: carlo@vis.ethz.ch (Carlo Dapor) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Java aficionados Just wanted to let You know that I was able to build the JDK 1.3.1, without the weird setup I posted previously. That's right, not more INSANE or LINK.{c,cc} or the like. It turns out that just uncommenting '-z defs' in make/common/Defs-bsd.mk does all the magic for me. Also, as Greg has mentioned earlier, the generation of invokers.c does not require any hack anymore. The lines around 240 in make/common/Defs-bsd.mk lok like this now: fneq ($(LIBRARY),JdbcOdbc) ifneq ($(ARCH),ppc) LDFLAGS_COMMON = #-z defs endif # LIBRARY endif # ARCH Is my Current shaky, or is anyone else having similar symptoms on Current ? Ciao, derweil, -- Carlo PS: The man pages for gcc mention that '-z defs' is meant to silence warnings of unresolved symbols if switched on. But there seems to be more to it, both system gcc (2.95.1) and most recent gcc (3.0) have the exact same behaviour for me when building the JDK. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 9:44: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id B251137B40F for ; Mon, 20 Aug 2001 09:43:57 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7KGgJY03925; Mon, 20 Aug 2001 18:42:19 +0200 (CEST) (envelope-from ernst) Date: Mon, 20 Aug 2001 18:42:19 +0200 From: Ernst de Haan To: Carlo Dapor Cc: freebsd-java@FreeBSD.ORG Subject: Re: SOLVED: Successful JDK 1.3.1 build with little modification Message-ID: <20010820184219.A3459@c104187.upc-c.chello.nl> References: <20010820151823.C014F275B6@naboo.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010820151823.C014F275B6@naboo.ethz.ch>; from carlo@vis.ethz.ch on Mon, Aug 20, 2001 at 05:18:23PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Carlo, > fneq ($(LIBRARY),JdbcOdbc) s/fneq/ifneq/ > ifneq ($(ARCH),ppc) > LDFLAGS_COMMON = #-z defs > endif # LIBRARY > endif # ARCH > > Is my Current shaky, or is anyone else having similar symptoms on Current ? > > Ciao, derweil, > -- > Carlo > > PS: The man pages for gcc mention that '-z defs' is meant to silence warnings > of unresolved symbols if switched on. But there seems to be more to it, > both system gcc (2.95.1) and most recent gcc (3.0) have the exact same > behaviour for me when building the JDK. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 9:53:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from pinky.us.net (pinky.us.net [216.181.215.124]) by hub.freebsd.org (Postfix) with ESMTP id 926A737B419 for ; Mon, 20 Aug 2001 09:53:35 -0700 (PDT) (envelope-from bgs@pinky.us.net) Received: (qmail 88055 invoked from network); 20 Aug 2001 16:53:30 -0000 Received: from pinky.us.net ([216.181.215.124]) (envelope-sender ) by pinky.us.net (qmail-ldap-1.03) with SMTP for ; 20 Aug 2001 16:53:30 -0000 Date: Mon, 20 Aug 2001 12:53:30 -0400 (EDT) From: Brian Skrab To: Greg Lewis Cc: "freebsd-java@FreeBSD.ORG" Subject: Re: FBSD 4.4-RC && Linux JDK 1.3.1 && JNI ??? In-Reply-To: <20010819032954.A19679@misty.eyesbeyond.com> Message-ID: <20010820124457.A71396-100000@pinky.us.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg, The linux-devel port (and a quick search on google) provided the solution. 1. Compile the C into Linux object code: /usr/compat/linux/usr/bin/cc \ -I/usr/local/jdk/include \ -I/usr/local/jdk/include/linux \ -I. -c JNITest.c -o JNITest.o 2. Turn object code into Linux shared object code: /usr/compat/linux/usr/bin/cc -shared JNITest.o -o libjnitest.so 3. Compile Java class jikes JNITest.java 4. Run Java class, making sure that libjnitest.so is in library path: java -Djava.library.path=. JNITest Many thanks to all those who contributed advice. ~brian skrab bgs@pinky.us.net On Sun, 19 Aug 2001, Greg Lewis wrote: > On Fri, Aug 17, 2001 at 11:13:37PM -0400, Brian Skrab wrote: > > I've just dipped my big toe into the dark and mysterious pool of the > > Java Native Interface. I've implemented a simple HelloWorld style > > application with a native C implementation of the print method, and > > have managed to get to the final step of running the class only to > > receive the following error: > > > > jnitest.so: /usr/home/bgs/bin/libjnitest.so: ELF file OS ABI invalid. > [snip] > > > > I am using the Linux JDK 1.3.1 port and am unsure about where to go > > from here. Is there something special that I must do when compiling > > the native code to make it properly executable? I've seen brandelf > > mentioned in a few archives that I've searched in, but have tried > > using it with no success. > > > > Anyone know the secret incantations to make JNI work with a Linux > > JDK? Any pointers, tips, or *examples* are very much appreciated. > > Install the linux-devel port and compile with the build tools supplied > by it or build the shared library on a Linux box. > > You can't mix object formats. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 12:43:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id A37CB37B411 for ; Mon, 20 Aug 2001 12:43:11 -0700 (PDT) (envelope-from ml@db.nexgen.com) Received: (qmail 52300 invoked from network); 20 Aug 2001 19:43:02 -0000 Received: from localhost.nexgen.com (HELO alexus) (127.0.0.1) by localhost.nexgen.com with SMTP; 20 Aug 2001 19:43:02 -0000 Message-ID: <001801c129b0$548093a0$0d00a8c0@alexus> From: "alexus" To: "Ernst de Haan" , "Koster, K.J." Cc: References: <59063B5B4D98D311BC0D0001FA7E452205FD9EAB@l04.research.kpn.com> <20010820153748.D2801@c104187.upc-c.chello.nl> Subject: Re: tomcat Date: Mon, 20 Aug 2001 15:42:39 -0400 Organization: NexGen 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.2526.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org been there done that... you answerin post which was made like a month ago.. ----- Original Message ----- From: "Ernst de Haan" To: "Koster, K.J." Cc: "'alexus'" ; Sent: Monday, August 20, 2001 9:37 AM Subject: Re: tomcat > You *want* to use Apache for serving static content, since it's *much* faster. > And linking Tomcat and Apache together is a matter of installing the > www/mod_jk port. :-) > > /Ernst > > > Koster, K.J. wrote: > > Dear Alexus, > > > > > > > > does anyone have an experience of linking tomcat and > > > apache? > > > > > I have, a long while back. Tomcat comes with a built-in web server, so you > > may want to consider not using Apache at all. :-) > > > > There is a howto in Tomcat's docs that gives you the step-by-step, and I > > think I installed the apache port, and the apache-jserv port. It was a > > ten-minute process, IIRC. > > > > Kees Jan > > > > ===================================================== > > You can't have everything. Where would you put it? > > [Steven Wright] > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- > Ernst de Haan > Euronet Internet B.V. > > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 12:56:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 8F3F537B409 for ; Mon, 20 Aug 2001 12:55:59 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7KJsJ804888; Mon, 20 Aug 2001 21:54:19 +0200 (CEST) (envelope-from ernst) Date: Mon, 20 Aug 2001 21:54:19 +0200 From: Ernst de Haan To: alexus Cc: "Koster, K.J." , freebsd-java@FreeBSD.ORG Subject: Re: tomcat Message-ID: <20010820215419.A4869@c104187.upc-c.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9EAB@l04.research.kpn.com> <20010820153748.D2801@c104187.upc-c.chello.nl> <001801c129b0$548093a0$0d00a8c0@alexus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001801c129b0$548093a0$0d00a8c0@alexus>; from ml@db.nexgen.com on Mon, Aug 20, 2001 at 03:42:39PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Uh, hehe. Then that's apparently been my lag... been too busy with my job to keep up at the FreeBSD/Java front. But I'm catching up as you can see :) /Ernst alexus wrote: > been there done that... > > you answerin post which was made like a month ago.. > > ----- Original Message ----- > From: "Ernst de Haan" > To: "Koster, K.J." > Cc: "'alexus'" ; > Sent: Monday, August 20, 2001 9:37 AM > Subject: Re: tomcat > > > > You *want* to use Apache for serving static content, since it's *much* > faster. > > And linking Tomcat and Apache together is a matter of installing the > > www/mod_jk port. :-) > > > > /Ernst > > > > > > Koster, K.J. wrote: > > > Dear Alexus, > > > > > > > > > > > does anyone have an experience of linking tomcat and > > > > apache? > > > > > > > I have, a long while back. Tomcat comes with a built-in web server, so > you > > > may want to consider not using Apache at all. :-) > > > > > > There is a howto in Tomcat's docs that gives you the step-by-step, and I > > > think I installed the apache port, and the apache-jserv port. It was a > > > ten-minute process, IIRC. > > > > > > Kees Jan > > > > > > ===================================================== > > > You can't have everything. Where would you put it? > > > [Steven Wright] > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > > > > > > > -- > > Ernst de Haan > > Euronet Internet B.V. > > > > "Come to me all who are weary and burdened > > and I will give you rest" -- Jesus Christ > > > > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 17:13:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 1389F37B405 for ; Mon, 20 Aug 2001 17:13:08 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.178] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15YzAH-00049K-00; Mon, 20 Aug 2001 18:13:06 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7L0D2R12924; Tue, 21 Aug 2001 09:43:02 +0930 (CST) (envelope-from glewis) Date: Tue, 21 Aug 2001 09:43:01 +0930 From: Greg Lewis To: Carlo Dapor Cc: freebsd-java@FreeBSD.ORG Subject: Re: SOLVED: Successful JDK 1.3.1 build with little modification Message-ID: <20010821094301.A12799@misty.eyesbeyond.com> References: <20010820151823.C014F275B6@naboo.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010820151823.C014F275B6@naboo.ethz.ch>; from carlo@vis.ethz.ch on Mon, Aug 20, 2001 at 05:18:23PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 20, 2001 at 05:18:23PM +0200, Carlo Dapor wrote: > Just wanted to let You know that I was able to build the JDK 1.3.1, without > the weird setup I posted previously. > > That's right, not more INSANE or LINK.{c,cc} or the like. > It turns out that just uncommenting '-z defs' in make/common/Defs-bsd.mk does > all the magic for me. Also, as Greg has mentioned earlier, the generation of > invokers.c does not require any hack anymore. > > The lines around 240 in make/common/Defs-bsd.mk lok like this now: > > fneq ($(LIBRARY),JdbcOdbc) > ifneq ($(ARCH),ppc) > LDFLAGS_COMMON = #-z defs > endif # LIBRARY > endif # ARCH > > Is my Current shaky, or is anyone else having similar symptoms on Current ? Well, whatever the reason, I've just completely pulled these lines from Defs-bsd.gmk. > PS: The man pages for gcc mention that '-z defs' is meant to silence warnings > of unresolved symbols if switched on. But there seems to be more to it, > both system gcc (2.95.1) and most recent gcc (3.0) have the exact same > behaviour for me when building the JDK. Hmmm, I think the man pages may be out of date. This is an ld flag rather than a gcc flag, so gcc version isn't relevant. The info documents on 4.3 (binutils 2.10.1) say: `-z KEYWORD' This option is ignored for Solaris compatibility. So, it should have effectively been a no-op on FreeBSD. Whether it is or isn't, since the documentation I have says it has no effect I've gotten rid of it :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 17:18:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 5EEE037B40A for ; Mon, 20 Aug 2001 17:18:31 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.178] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15YzFV-0004Sx-00; Mon, 20 Aug 2001 18:18:30 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7L0IQ812953; Tue, 21 Aug 2001 09:48:26 +0930 (CST) (envelope-from glewis) Date: Tue, 21 Aug 2001 09:48:26 +0930 From: Greg Lewis To: Alexander Litvin Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD JDK1.2.2 Patchset 11??? Message-ID: <20010821094826.B12799@misty.eyesbeyond.com> References: <20010814043950.A7631@misty.eyesbeyond.com> <200108200354.f7K3sjd43713@unknown.whichever.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108200354.f7K3sjd43713@unknown.whichever.org>; from archer@whichever.org on Sun, Aug 19, 2001 at 11:54:45PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 19, 2001 at 11:54:45PM -0400, Alexander Litvin wrote: > I started experiencing this problem at some time when I > upgraded my CURRENT. Not exactly sure at what point did that > happen (which means that I don't use java on freebsd extensively ;) > > This is with FreeBSD-CURRENT as of beginning of August, > jdk-1.2.2b10 from ports, green threads, no jit. > > Anyway, the problem was that whenever I do some DNS stuff from > java (like InetAddress.getByName()), interpreter dumps core. > > I could probably provide the stack trace, but unfortunately > right now I have some custom libc as well as a bit modified > libhpi.so and libjvm.so (modified as a part of investigation > of the problem), and to revert it all to standard will take > couple of days. > > But I have better then the stack trace -- I have the cause why > it happens. Here's it: > > 1. InetAddress.getByName() eventually ends up calling > gethostbyname_r(), which is implemented inside libhpi for > green threads. > > 2. gethostbyname_r() calls gethostbyname(3) from libc, which > in turn (simplified) calls res_ functions, which in turn > end up calling syscalls (like socket(), connect(), sendto(), > etc). > > 4. res_ functions call most of the syscalls directly (that > is, like _socket(), _connect(), _sendto()). But there's > one exclusion: res_send() calls send(). > > 5. And there's a reason: at some point send(2) syscall was > eliminated from CURRENT. Rather, send() is implemented > inside libc as _sendto(,,,,NULL,0). I'm not quite sure > if the same can happen to STABLE. The source code for stable does precisely the same thing. I haven't looked up what revision this occurred for, but that is definitely how send() is implemented on 4.3 RELEASE. > 6. When res_send() calls send(), it ends up not in the libc's > implementation, but in libhpi's wrapper. Which is not ready > at all (because other things like socket() and connect() > were called from res_send() directly as syscalls, that is as > _socket() and _connect()). send hasn't become a weak symbol in your libc for some strange reason has it? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 17:29:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id 7B86A37B40A for ; Mon, 20 Aug 2001 17:29:41 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 35608 invoked by uid 1001); 21 Aug 2001 00:32:35 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15233.44066.783173.845740@zircon.zircon.seattle.wa.us> Date: Mon, 20 Aug 2001 17:32:34 -0700 To: Greg Lewis Cc: Carlo Dapor , freebsd-java@FreeBSD.ORG Subject: Re: SOLVED: Successful JDK 1.3.1 build with little modification In-Reply-To: <20010821094301.A12799@misty.eyesbeyond.com> References: <20010820151823.C014F275B6@naboo.ethz.ch> <20010821094301.A12799@misty.eyesbeyond.com> X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis writes: > On Mon, Aug 20, 2001 at 05:18:23PM +0200, Carlo Dapor wrote: > > fneq ($(LIBRARY),JdbcOdbc) > > ifneq ($(ARCH),ppc) > > LDFLAGS_COMMON = #-z defs > > endif # LIBRARY > > endif # ARCH > > > > Is my Current shaky, or is anyone else having similar symptoms on > > Current ? > > Well, whatever the reason, I've just completely pulled these lines > from Defs-bsd.gmk. > I made a different fix, LDFLAGS_COMMON = -Wl,'-z defs' to pass the flag through to ld. I also made changes to produce the correct value for the freespace computation. I also modified the master make file: MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ ALT_MOTIF_DIR="${X11BASE}" \ ALT_HOTSPOT_CLIENT_PATH=$(ALT_BOOTDIR)/jre/lib/i386/client \ ALT_HOTSPOT_SERVER_PATH=$(ALT_BOOTDIR)/jre/lib/i386/server \ OPENWINHOME="${X11BASE}" \ COMPILER_PATH=/usr/bin \ CLASSPATH="" \ JAVA_COMPILER="" I added ALT_HOTSPOT variables and COMPILER_PATH. I am not sure why COMPILER_PATH was not being set by the regular files. I also modified sanityck to remove the check for hotspot debug libraries, since they do not seem to exist in the Linux jdk131. However, the Mozilla Plugin does not seem to be compiled. What do I need to du to get it compiled? /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 17:49:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id EFFAB37B407 for ; Mon, 20 Aug 2001 17:49:08 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.178] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15Yzj9-0006KO-00; Mon, 20 Aug 2001 18:49:08 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7L0n3V13211; Tue, 21 Aug 2001 10:19:03 +0930 (CST) (envelope-from glewis) Date: Tue, 21 Aug 2001 10:19:02 +0930 From: Greg Lewis To: Joe Kelsey Cc: Greg Lewis , Carlo Dapor , freebsd-java@FreeBSD.ORG Subject: Re: SOLVED: Successful JDK 1.3.1 build with little modification Message-ID: <20010821101900.A13163@misty.eyesbeyond.com> References: <20010820151823.C014F275B6@naboo.ethz.ch> <20010821094301.A12799@misty.eyesbeyond.com> <15233.44066.783173.845740@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15233.44066.783173.845740@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Mon, Aug 20, 2001 at 05:32:34PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 20, 2001 at 05:32:34PM -0700, Joe Kelsey wrote: > Greg Lewis writes: > > Well, whatever the reason, I've just completely pulled these lines > > from Defs-bsd.gmk. > > I made a different fix, > > LDFLAGS_COMMON = -Wl,'-z defs' > > to pass the flag through to ld. Why do we want to pass a flag to ld which it ignores and which is purely there for Solaris compatibility? > I also made changes to produce the correct value for the freespace > computation. I also modified the master make file: Patchset 3 is building...you might want to compare your changes against the one in it and send patches if they are better/different :). > MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ > ALT_MOTIF_DIR="${X11BASE}" \ > ALT_HOTSPOT_CLIENT_PATH=$(ALT_BOOTDIR)/jre/lib/i386/client \ > ALT_HOTSPOT_SERVER_PATH=$(ALT_BOOTDIR)/jre/lib/i386/server \ > OPENWINHOME="${X11BASE}" \ > COMPILER_PATH=/usr/bin \ > CLASSPATH="" \ > JAVA_COMPILER="" > > I added ALT_HOTSPOT variables and COMPILER_PATH. I am not sure why > COMPILER_PATH was not being set by the regular files. I also modified > sanityck to remove the check for hotspot debug libraries, since they do > not seem to exist in the Linux jdk131. We actually don't want the check for HotSpot at all at the moment since there is no FreeBSD version available at the moment. I've if'ed this out for patchset 3. I'll put it back in when HotSpot is ported. The COMPILER_PATH check would be useful. Please send the patch :). > However, the Mozilla Plugin does not seem to be compiled. What do I > need to du to get it compiled? Well, the comments in the earlier distribution from Sun indicated that you should build the complete JDK images first (I didn't look into why this is, but you certainly at least need a JDK built). So, what I've done is: make make images make plugin However, the main problem is that I haven't committed the patches I have to build the plugin yet as they aren't ready. If you are interested in working on the plugin then please let me know. Your other option is to wait for patchset 4, which will probably include the patches to build the plugin. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 18:46:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from naboo.ethz.ch (naboo.ethz.ch [129.132.17.66]) by hub.freebsd.org (Postfix) with ESMTP id E18F437B401 for ; Mon, 20 Aug 2001 18:46:10 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id CE077275B7; Tue, 21 Aug 2001 03:46:09 +0200 (CEST) Subject: jdk 1.3.1 patchset 3 ? To: glewis@eyesbeyond.com (Greg Lewis) Date: Tue, 21 Aug 2001 03:46:09 +0200 (CEST) Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20010821101900.A13163@misty.eyesbeyond.com> from "Greg Lewis" at Aug 21, 2001 10:19:02 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010821014609.CE077275B7@naboo.ethz.ch> From: carlo@vis.ethz.ch (Carlo Dapor) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Greg Lewis writes: > We actually don't want the check for HotSpot at all at the moment since > there is no FreeBSD version available at the moment. I've if'ed this > out for patchset 3. I'll put it back in when HotSpot is ported. I don't want to sound pushy, is the patch set already out ? What is the required source base ? I have the one dated February(?) 2001, and today I downloaded the one dated May(?) 2001. Did You 'port' Your patches to the new sources ? I believe You mentioned this previously. Ciao, derweil, -- Carlo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Aug 20 20:31:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by hub.freebsd.org (Postfix) with ESMTP id 9FFD437B409 for ; Mon, 20 Aug 2001 20:31:34 -0700 (PDT) (envelope-from archer@whichever.org) Received: from 207-172-221-40.s65.as2.xnb.nj.dialup.rcn.com ([207.172.221.40] helo=unknown.whichever.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.32 #2) id 15Z2GK-0004N3-00 ; Mon, 20 Aug 2001 23:31:33 -0400 Received: (from archer@localhost) by unknown.whichever.org (8.11.5/8.11.1) id f7L3VOv83406; Mon, 20 Aug 2001 23:31:25 -0400 (EDT) (envelope-from archer) Date: Mon, 20 Aug 2001 23:31:25 -0400 (EDT) Message-Id: <200108210331.f7L3VOv83406@unknown.whichever.org> From: Alexander Litvin To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD JDK1.2.2 Patchset 11??? In-Reply-To: <20010821094826.B12799@misty.eyesbeyond.com> X-Newsgroups: unknown.freebsd.java User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >> 4. res_ functions call most of the syscalls directly (that >> is, like _socket(), _connect(), _sendto()). But there's >> one exclusion: res_send() calls send(). >> >> 5. And there's a reason: at some point send(2) syscall was >> eliminated from CURRENT. Rather, send() is implemented >> inside libc as _sendto(,,,,NULL,0). I'm not quite sure >> if the same can happen to STABLE. > > The source code for stable does precisely the same thing. I haven't > looked up what revision this occurred for, but that is definitely how > send() is implemented on 4.3 RELEASE. I checked that too. Yes, send() is implemented the same. But if you look at res_send() in STABLE, it at uses socket(), connect() and sendto(). Whereas CURRENT calls them as _socket(), _connect() and _sendto(). Thus, STABLE calls into wrappers for those in libhpi, but CURRENT bypasses wrappers for socket()/connect() and then calls send() wrapper. And -- boom! STABLE although calls _close() instead of close(), but that doesn't break things. >> 6. When res_send() calls send(), it ends up not in the libc's >> implementation, but in libhpi's wrapper. Which is not ready >> at all (because other things like socket() and connect() >> were called from res_send() directly as syscalls, that is as >> _socket() and _connect()). > > send hasn't become a weak symbol in your libc for some strange reason > has it? No, nm shows it as T. But as I understand, in this case it is not necessary for libc's send() to be weak. The libhpi's send is going to be called first anyway. -- #include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 9:41:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 6412937B409 for ; Tue, 21 Aug 2001 09:41:33 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.203] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15ZEaq-0003pW-00 for freebsd-java@freebsd.org; Tue, 21 Aug 2001 10:41:33 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7LGfUK75007 for freebsd-java@freebsd.org; Wed, 22 Aug 2001 02:11:30 +0930 (CST) (envelope-from glewis) Date: Wed, 22 Aug 2001 02:11:29 +0930 From: Greg Lewis To: freebsd-java@freebsd.org Subject: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822021129.A74951@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, Patchset 3 for JDK 1.3.1 is up on the web site. The main highlights are: 1. The patches are now against the updated 1.3.1 SCSL distribution available from Sun. This is good since the previous distribution was beta. 2. Some patches from Carlo Dapor and Daichi GOTO. I recommend people switch to using this version if they want to use a native JDK 1.3.1. I've placed an update port skeleton at: http://www.eyesbeyond.com/freebsddom/java/jdk13-port.tar.gz This port skeleton works afaik except for some problems with specifying the "debug" parts of the JDK in the packing list. If someone knows the right way to do this I'd greatly appreciate hearing from you. I'll be send-pr'ing this port soon. http://www.eyesbeyond.com/freebsddom/java/jdk13.html -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 10:51:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id CD23C37B405 for ; Tue, 21 Aug 2001 10:51:06 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id 437BBBAD5; Tue, 21 Aug 2001 12:51:04 -0500 (CDT) Message-ID: <015d01c12a69$a1d3a7a0$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Greg Lewis" , References: <20010822021129.A74951@misty.eyesbeyond.com> Subject: Re: 1.3.1 patchset 3 (early adopters) Date: Tue, 21 Aug 2001 12:49:29 -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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/native/ sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe - I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun /awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o ../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_util.o ../../../src/solaris/native/sun/awt/awt_util.c ../../../src/solaris/native/sun/awt/awt_util.c:30: Xm/BaseClassI.h: No such file or directory gmake[3]: *** [../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_util.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun' gmake: *** [all] Error 1 *** Error code 2 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Greg Lewis" To: Sent: Tuesday, August 21, 2001 11:41 AM Subject: 1.3.1 patchset 3 (early adopters) > Hi all, > > Patchset 3 for JDK 1.3.1 is up on the web site. The main highlights are: > > 1. The patches are now against the updated 1.3.1 SCSL distribution > available from Sun. This is good since the previous distribution > was beta. > 2. Some patches from Carlo Dapor and Daichi GOTO. > > I recommend people switch to using this version if they want to use a > native JDK 1.3.1. > > I've placed an update port skeleton at: > > http://www.eyesbeyond.com/freebsddom/java/jdk13-port.tar.gz > > This port skeleton works afaik except for some problems with specifying > the "debug" parts of the JDK in the packing list. If someone knows the > right way to do this I'd greatly appreciate hearing from you. I'll be > send-pr'ing this port soon. > > http://www.eyesbeyond.com/freebsddom/java/jdk13.html > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 11: 2:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 525CB37B405 for ; Tue, 21 Aug 2001 11:02:50 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.203] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15ZFqv-0000vr-00; Tue, 21 Aug 2001 12:02:44 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7LI0PV77132; Wed, 22 Aug 2001 03:30:25 +0930 (CST) (envelope-from glewis) Date: Wed, 22 Aug 2001 03:30:20 +0930 From: Greg Lewis To: "Thomas T. Veldhouse" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822033020.A77104@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <015d01c12a69$a1d3a7a0$3028680a@tgt.com>; from veldy@veldy.net on Tue, Aug 21, 2001 at 12:49:29PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 21, 2001 at 12:49:29PM -0500, Thomas T. Veldhouse wrote: > -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/native/ > sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe - > I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun > /awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o > ../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_util.o > ../../../src/solaris/native/sun/awt/awt_util.c > ../../../src/solaris/native/sun/awt/awt_util.c:30: Xm/BaseClassI.h: No such > file or directory Do you actually have Open Motif installed? This is the error I get when compiling with Lesstif, for instance. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 11:15:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 839D737B407 for ; Tue, 21 Aug 2001 11:15:14 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id 933B6BADA; Tue, 21 Aug 2001 13:15:11 -0500 (CDT) Message-ID: <018001c12a6d$007abc50$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Greg Lewis" Cc: References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> Subject: Re: 1.3.1 patchset 3 (early adopters) Date: Tue, 21 Aug 2001 13:13:36 -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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OpenMotif 2.1.30. I used it to compile the JDK1.2.2 beta 10. Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Greg Lewis" To: "Thomas T. Veldhouse" Cc: "Greg Lewis" ; Sent: Tuesday, August 21, 2001 1:00 PM Subject: Re: 1.3.1 patchset 3 (early adopters) > On Tue, Aug 21, 2001 at 12:49:29PM -0500, Thomas T. Veldhouse wrote: > > -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/nativ e/ > > sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe - > > I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun > > /awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o > > ../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_util.o > > ../../../src/solaris/native/sun/awt/awt_util.c > > ../../../src/solaris/native/sun/awt/awt_util.c:30: Xm/BaseClassI.h: No such > > file or directory > > Do you actually have Open Motif installed? This is the error I get when > compiling with Lesstif, for instance. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 11:18: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 3DE2C37B40A for ; Tue, 21 Aug 2001 11:17:57 -0700 (PDT) (envelope-from uwe@snark.ptc.spbu.ru) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id WAA24658 for freebsd-java@FreeBSD.ORG; Tue, 21 Aug 2001 22:17:46 +0400 (MSD) Date: Tue, 21 Aug 2001 22:17:46 +0400 From: "Valeriy E. Ushakov" To: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010821221746.D24127@snark.ptc.spbu.ru> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: <20010822033020.A77104@misty.eyesbeyond.com>; from "Greg Lewis" on Wed, Aug 22, 2001 at 03:30:20 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 22, 2001 at 03:30:20 +0930, Greg Lewis wrote: > > ../../../src/solaris/native/sun/awt/awt_util.c:30: > Xm/BaseClassI.h: No such > file or directory > > Do you actually have Open Motif installed? This is the error I get > when compiling with Lesstif, for instance. It seems this include is added by the patchset only to drag in a prototype for _XmGetWidgetExtData. It's in BaseClassI.h in OpenMotif, but in BaseClassP.h in solaris motif. See comment in awt_motif12.c. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 11:34:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 6FEBD37B40C for ; Tue, 21 Aug 2001 11:34:08 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.203] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15ZGLm-0004bb-00; Tue, 21 Aug 2001 12:34:07 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7LIY3L77390; Wed, 22 Aug 2001 04:04:03 +0930 (CST) (envelope-from glewis) Date: Wed, 22 Aug 2001 04:04:01 +0930 From: Greg Lewis To: "Thomas T. Veldhouse" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822040401.A77354@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <018001c12a6d$007abc50$3028680a@tgt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <018001c12a6d$007abc50$3028680a@tgt.com>; from veldy@veldy.net on Tue, Aug 21, 2001 at 01:13:36PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 21, 2001 at 01:13:36PM -0500, Thomas T. Veldhouse wrote: > OpenMotif 2.1.30. I used it to compile the JDK1.2.2 beta 10. Well, BaseClassI.h is certainly part of the Open Motif 2.1.30 package I have installed :). I suggest commenting out the #include of it if its not part of what you have. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 11:37:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id B325E37B432 for ; Tue, 21 Aug 2001 11:37:25 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.203] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15ZGOy-0004e7-00; Tue, 21 Aug 2001 12:37:24 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7LIbLf77417; Wed, 22 Aug 2001 04:07:21 +0930 (CST) (envelope-from glewis) Date: Wed, 22 Aug 2001 04:07:14 +0930 From: Greg Lewis To: "Valeriy E. Ushakov" Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822040714.B77354@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010821221746.D24127@snark.ptc.spbu.ru>; from uwe@ptc.spbu.ru on Tue, Aug 21, 2001 at 10:17:46PM +0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 21, 2001 at 10:17:46PM +0400, Valeriy E. Ushakov wrote: > On Wed, Aug 22, 2001 at 03:30:20 +0930, Greg Lewis wrote: > > > > ../../../src/solaris/native/sun/awt/awt_util.c:30: > > Xm/BaseClassI.h: No such > file or directory > > > > Do you actually have Open Motif installed? This is the error I get > > when compiling with Lesstif, for instance. > > It seems this include is added by the patchset only to drag in a > prototype for _XmGetWidgetExtData. It's in BaseClassI.h in OpenMotif, > but in BaseClassP.h in solaris motif. Thats correct. Its also in BaseClassP.h in Lesstif. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 12:13:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id 9584337B406 for ; Tue, 21 Aug 2001 12:13:06 -0700 (PDT) (envelope-from root@nihil.plaut.de) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id VAA19290 for freebsd-java@freebsd.org; Tue, 21 Aug 2001 21:12:58 +0200 (CEST) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.11.3/8.8.8) with ESMTP id f7LJCZk11871 for ; Tue, 21 Aug 2001 21:12:35 +0200 (CEST) (envelope-from root@nihil) Date: Tue, 21 Aug 2001 21:12:34 +0200 (CEST) From: Michael Reifenberger To: Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010821210926.D807-100000@nihil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, is it just me but under -current I get: ... /bin/cp parser.y ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj ( cd ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj; /usr/bin/yacc -d -v parser.y ) yacc: f - cannot open "../../../build/bsd-i386/tmp/java/java.lang/jvm/yacc.axRC1DNo20O" gmake[3]: *** [../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/parser.c] Fehler 2 gmake[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm« gmake[2]: *** [optimized] Fehler 2 gmake[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm« gmake[1]: *** [all] Fehler 1 gmake[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java«gmake: *** [all] Fehler 1 *** Error code 2 ... BTW: The patch applied cleanly. Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 21 13:14:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id B51C537B406 for ; Tue, 21 Aug 2001 13:14:41 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 59889 invoked by uid 1001); 21 Aug 2001 20:17:33 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15234.49629.835397.816968@zircon.zircon.seattle.wa.us> Date: Tue, 21 Aug 2001 13:17:33 -0700 To: Subject: Re: 1.3.1 patchset 3 (early adopters) In-Reply-To: <018001c12a6d$007abc50$3028680a@tgt.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <018001c12a6d$007abc50$3028680a@tgt.com> X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org When I got the same error, I simpley went to the ports and installed the latest open-motif. I show an openmotif directory in /usr/ports/distfiles with 5 patches. You may have to update your 2.1.30 port with the latest patches. /Joe Thomas T. Veldhouse writes: > OpenMotif 2.1.30. I used it to compile the JDK1.2.2 beta 10. > > Tom Veldhouse > veldy@veldy.net > > ----- Original Message ----- > From: "Greg Lewis" > To: "Thomas T. Veldhouse" > Cc: "Greg Lewis" ; > Sent: Tuesday, August 21, 2001 1:00 PM > Subject: Re: 1.3.1 patchset 3 (early adopters) > > > > On Tue, Aug 21, 2001 at 12:49:29PM -0500, Thomas T. Veldhouse wrote: > > > > -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/nativ > e/ > > > > sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe - > > > > I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun > > > /awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o > > > ../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_util.o > > > ../../../src/solaris/native/sun/awt/awt_util.c > > > ../../../src/solaris/native/sun/awt/awt_util.c:30: Xm/BaseClassI.h: No > such > > > file or directory > > > > Do you actually have Open Motif installed? This is the error I get when > > compiling with Lesstif, for instance. > > > > -- > > Greg Lewis Email : glewis@eyesbeyond.com > > Eyes Beyond Phone : (801) 765 1887 > > Information Technology Web : http://www.eyesbeyond.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 2:25:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 57E6137B407 for ; Wed, 22 Aug 2001 02:25:39 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7M9Nwp21833; Wed, 22 Aug 2001 11:23:58 +0200 (CEST) (envelope-from ernst) Date: Wed, 22 Aug 2001 11:23:58 +0200 From: Ernst de Haan To: "Valeriy E. Ushakov" Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822112358.A21815@c104187.upc-c.chello.nl> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010821221746.D24127@snark.ptc.spbu.ru>; from uwe@ptc.spbu.ru on Tue, Aug 21, 2001 at 10:17:46PM +0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have open-motif-devel-2.1.30 installed, but I get the same error. So what is the solution? Install open-motif-2.1.30 (not devel) as well? zaphod# pkg_info | grep otif open-motif-devel-2.1.30 Open Motif 2.1.30 - Development libraries and header files /Ernst (who's trying that now) Valeriy E. Ushakov wrote: > On Wed, Aug 22, 2001 at 03:30:20 +0930, Greg Lewis wrote: > > > > ../../../src/solaris/native/sun/awt/awt_util.c:30: > > Xm/BaseClassI.h: No such > file or directory > > > > Do you actually have Open Motif installed? This is the error I get > > when compiling with Lesstif, for instance. > > It seems this include is added by the patchset only to drag in a > prototype for _XmGetWidgetExtData. It's in BaseClassI.h in OpenMotif, > but in BaseClassP.h in solaris motif. > > See comment in awt_motif12.c. > > SY, Uwe > -- > uwe@ptc.spbu.ru | Zu Grunde kommen > http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 4: 6: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 90C8E37B409 for ; Wed, 22 Aug 2001 04:05:42 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7MB44F22097; Wed, 22 Aug 2001 13:04:04 +0200 (CEST) (envelope-from ernst) Date: Wed, 22 Aug 2001 13:04:04 +0200 From: Ernst de Haan To: "Valeriy E. Ushakov" Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822130404.B22059@c104187.upc-c.chello.nl> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> <20010822112358.A21815@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010822112358.A21815@c104187.upc-c.chello.nl>; from ernsth@nl.euro.net on Wed, Aug 22, 2001 at 11:23:58AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Okay, now it did compile after I installed open-motif-2.1.30. So 'make' succeeded, but now when I do 'make install' I get: zaphod# make install ===> Installing for jdk-1.3.1p3 ===> jdk-1.3.1p3 depends on executable: javavm - found Please use `make -DNODEBUG' if you don't want to install libraries and binaries with debugging support. /bin/mkdir -p /usr/local/jdk1.3.1 (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-debug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) gtar: ./jre/: Cannot unlink: Directory not empty gtar: ./jre/lib/: Cannot unlink: Directory not empty gtar: ./jre/lib/i386/: Cannot unlink: Directory not empty gtar: ./jre/lib/i386/green_threads/: Cannot unlink: Directory not empty gtar: ./jre/lib/i386/classic/: Cannot unlink: Directory not empty gtar: ./bin/: Cannot unlink: Directory not empty gtar: ./bin/i386/: Cannot unlink: Directory not empty gtar: ./bin/i386/green_threads/: Cannot unlink: Directory not empty gtar: ./lib/: Cannot unlink: Directory not empty gtar: ./lib/i386/: Cannot unlink: Directory not empty gtar: Error exit delayed from previous errors *** Error code 2 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. *** Error code 1 Stop in /usr/ports/java/jdk13. Any suggestions? /Ernst Ernst de Haan wrote: > I have open-motif-devel-2.1.30 installed, but I get the same error. So what is > the solution? Install open-motif-2.1.30 (not devel) as well? > > zaphod# pkg_info | grep otif > open-motif-devel-2.1.30 Open Motif 2.1.30 - Development libraries and header files > > /Ernst (who's trying that now) > > > Valeriy E. Ushakov wrote: > > On Wed, Aug 22, 2001 at 03:30:20 +0930, Greg Lewis wrote: > > > > > > ../../../src/solaris/native/sun/awt/awt_util.c:30: > > > Xm/BaseClassI.h: No such > file or directory > > > > > > Do you actually have Open Motif installed? This is the error I get > > > when compiling with Lesstif, for instance. > > > > It seems this include is added by the patchset only to drag in a > > prototype for _XmGetWidgetExtData. It's in BaseClassI.h in OpenMotif, > > but in BaseClassP.h in solaris motif. > > > > See comment in awt_motif12.c. > > > > SY, Uwe > > -- > > uwe@ptc.spbu.ru | Zu Grunde kommen > > http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- > Ernst de Haan > Euronet Internet B.V. > > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 4:50:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163]) by hub.freebsd.org (Postfix) with ESMTP id 9131C37B409 for ; Wed, 22 Aug 2001 04:50:51 -0700 (PDT) (envelope-from Michael.Reifenberger.gp@icn.siemens.de) Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226]) by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id NAA01234 for ; Wed, 22 Aug 2001 13:50:49 +0200 (MET DST) Received: from mchh247e.demchh201e.icn.siemens.de ([139.21.200.57]) by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id NAA20479 for ; Wed, 22 Aug 2001 13:50:33 +0200 (MET DST) Received: by MCHH247E with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Aug 2001 13:50:22 +0200 Message-ID: <67E0BE167008D31185F60008C7289DA0E13076@MCHH218E> From: Reifenberger Michael To: "'freebsd-java@freebsd.org'" Subject: Re: 1.3.1 patchset 3 (early adopters) Date: Wed, 22 Aug 2001 13:50:18 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, strange. Setting TMPDIR to /tmp in my .tcshrc causes the error. By UNSETENV'ing it thos particular Problem goes away. Hmmm... I suspect the problem in the tmpfile handling of yacc but havn't time to trace it properly. >When I got the same error, I simpley went to the ports and installed the >latest open-motif. I show an openmotif directory in >/usr/ports/distfiles with 5 patches. You may have to update your 2.1.30 >port with the latest patches. >/Joe .. Bye/2 ------ Michael Reifenberger - IT, UNIX, R/3-Basis Work: Michael.Reifenberger@plaut.de Proj: Michael.Reifenberger.gp@icn.siemens.de Pers: Michael@Reifenberger.com Webspace: http://www.reifenberger.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 5: 0:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by hub.freebsd.org (Postfix) with ESMTP id 71A7237B40F for ; Wed, 22 Aug 2001 05:00:37 -0700 (PDT) (envelope-from uwe@snark.ptc.spbu.ru) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id QAA25624 for freebsd-java@FreeBSD.ORG; Wed, 22 Aug 2001 16:00:26 +0400 (MSD) Date: Wed, 22 Aug 2001 16:00:26 +0400 From: "Valeriy E. Ushakov" To: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822160026.C25209@snark.ptc.spbu.ru> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> <20010822112358.A21815@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: <20010822112358.A21815@c104187.upc-c.chello.nl>; from "Ernst de Haan" on Wed, Aug 22, 2001 at 11:23:58 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 22, 2001 at 11:23:58 +0200, Ernst de Haan wrote: > I have open-motif-devel-2.1.30 installed, but I get the same > error. So what is the solution? Install open-motif-2.1.30 (not > devel) as well? Not "as well" - "instead" :) I think people got tricked by the package name here, thinking that -devel must be the latest and greatest. In reality open-motif-devel just grabs some lousy prebuilt binaries and then dump them into your tree without even properly registering an installaion. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 7:17:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from catv00.kitanet.ne.jp (catv00.kitanet.ne.jp [210.146.3.11]) by hub.freebsd.org (Postfix) with SMTP id C4E1A37B41D for ; Wed, 22 Aug 2001 07:17:01 -0700 (PDT) (envelope-from sugimura@YasudaKei.org) Received: (qmail 24098 invoked by uid 0); 22 Aug 2001 14:17:00 -0000 Received: from proxy01.kitanet.ne.jp (HELO localhost) (210.146.3.4) by catv00.kitanet.ne.jp with SMTP; 22 Aug 2001 14:17:00 -0000 To: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) From: SUGIMURA Takashi =?iso-2022-jp?B?GyRCP3lCPBsoQiAbJEI1LjtOGyhC?= In-Reply-To: <20010822130404.B22059@c104187.upc-c.chello.nl> References: <20010821221746.D24127@snark.ptc.spbu.ru> <20010822112358.A21815@c104187.upc-c.chello.nl> <20010822130404.B22059@c104187.upc-c.chello.nl> X-Mailer: Mew version 1.94.1 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010822233325O.sugimura@YasudaKei.org> Date: Wed, 22 Aug 2001 23:33:25 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 67 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for Greg, I can also make and install jdk-1.3.1p3. kei % /usr/local/jdk1.3.1/bin/java -version java version "1.3.1-internal" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-internal-root-010822-09:09) Classic VM (build 1.3.1-internal-root-010822-09:09, green threads, nojit) I can also execute Tomcat, it works fine. I will test it for Japanese environments. > zaphod# make install > ===> Installing for jdk-1.3.1p3 > ===> jdk-1.3.1p3 depends on executable: javavm - found > > Please use `make -DNODEBUG' if you don't want to install libraries and binaries with debugging support. > > /bin/mkdir -p /usr/local/jdk1.3.1 > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-debug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > gtar: ./jre/: Cannot unlink: Directory not empty > gtar: ./jre/lib/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/classic/: Cannot unlink: Directory not empty > gtar: ./bin/: Cannot unlink: Directory not empty > gtar: ./bin/i386/: Cannot unlink: Directory not empty > gtar: ./bin/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./lib/: Cannot unlink: Directory not empty > gtar: ./lib/i386/: Cannot unlink: Directory not empty > gtar: Error exit delayed from previous errors > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > >Any suggestions? > I have changed this Makefile as follows: --- Makefile.orig Wed Aug 22 23:29:03 2001 +++ Makefile Wed Aug 22 23:23:57 2001 @@ -78,10 +78,10 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} (cd ${JDKIMAGEDIR} && ${TAR} -c -f - .) \ - | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -) + | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} -x -f -) .if !defined(NODEBUG) (cd ${JDKIMAGEDIR_G} && ${TAR} -c -f - .) \ - | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -) + | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} -x -f -) .endif post-install: Regards, --- SUGIMURA Takashi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 8:49:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 0CA9537B41C for ; Wed, 22 Aug 2001 08:49:37 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.21] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15ZaG7-0000a3-00; Wed, 22 Aug 2001 09:49:36 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7MFnWd93302; Thu, 23 Aug 2001 01:19:32 +0930 (CST) (envelope-from glewis) Date: Thu, 23 Aug 2001 01:19:32 +0930 From: Greg Lewis To: Ernst de Haan Cc: "Valeriy E. Ushakov" , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010823011932.A93223@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> <20010822112358.A21815@c104187.upc-c.chello.nl> <20010822130404.B22059@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010822130404.B22059@c104187.upc-c.chello.nl>; from ernsth@nl.euro.net on Wed, Aug 22, 2001 at 01:04:04PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 22, 2001 at 01:04:04PM +0200, Ernst de Haan wrote: > Okay, now it did compile after I installed open-motif-2.1.30. So 'make' > succeeded, but now when I do 'make install' I get: > > zaphod# make install > ===> Installing for jdk-1.3.1p3 > ===> jdk-1.3.1p3 depends on executable: javavm - found > > Please use `make -DNODEBUG' if you don't want to install libraries and binaries with debugging support. > > /bin/mkdir -p /usr/local/jdk1.3.1 > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-debug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > gtar: ./jre/: Cannot unlink: Directory not empty > gtar: ./jre/lib/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/classic/: Cannot unlink: Directory not empty > gtar: ./bin/: Cannot unlink: Directory not empty > gtar: ./bin/i386/: Cannot unlink: Directory not empty > gtar: ./bin/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./lib/: Cannot unlink: Directory not empty > gtar: ./lib/i386/: Cannot unlink: Directory not empty > gtar: Error exit delayed from previous errors > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > *** Error code 1 > > Stop in /usr/ports/java/jdk13. > > Any suggestions? Nope :(. This is taken from the jdk12beta port, which does the same thing. I didn't see that problem testing the port, although I do see problems with pkg_delete due to the packing list problem I've mentioned previously. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 12: 9:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 8907137B413 for ; Wed, 22 Aug 2001 12:08:49 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7MJ79835573; Wed, 22 Aug 2001 21:07:09 +0200 (CEST) (envelope-from ernst) Date: Wed, 22 Aug 2001 21:07:09 +0200 From: Ernst de Haan To: "Valeriy E. Ushakov" Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010822210709.B23314@c104187.upc-c.chello.nl> References: <20010822021129.A74951@misty.eyesbeyond.com> <015d01c12a69$a1d3a7a0$3028680a@tgt.com> <20010822033020.A77104@misty.eyesbeyond.com> <20010821221746.D24127@snark.ptc.spbu.ru> <20010822112358.A21815@c104187.upc-c.chello.nl> <20010822130404.B22059@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <20010822130404.B22059@c104187.upc-c.chello.nl>; from ernsth@nl.euro.net on Wed, Aug 22, 2001 at 01:04:04PM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Seems it tries to install both the debug and the non-debug versions in /usr/local/jdk1.3.1/ ... Well, it does work for me, though :) Thanks Bill and Greg!!!! /Ernst Ernst de Haan wrote: > Okay, now it did compile after I installed open-motif-2.1.30. So 'make' > succeeded, but now when I do 'make install' I get: >=20 > zaphod# make install > =3D=3D=3D> Installing for jdk-1.3.1p3 > =3D=3D=3D> jdk-1.3.1p3 depends on executable: javavm - found > =20 > Please use `make -DNODEBUG' if you don't want to install libraries and= binaries with debugging support. > =20 > /bin/mkdir -p /usr/local/jdk1.3.1 > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-i= mage-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x= -f -) > (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-d= ebug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unl= ink -x -f -) > gtar: ./jre/: Cannot unlink: Directory not empty > gtar: ./jre/lib/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./jre/lib/i386/classic/: Cannot unlink: Directory not empty > gtar: ./bin/: Cannot unlink: Directory not empty > gtar: ./bin/i386/: Cannot unlink: Directory not empty > gtar: ./bin/i386/green_threads/: Cannot unlink: Directory not empty > gtar: ./lib/: Cannot unlink: Directory not empty > gtar: ./lib/i386/: Cannot unlink: Directory not empty > gtar: Error exit delayed from previous errors > *** Error code 2 > =20 > Stop in /usr/ports/java/jdk13. > *** Error code 1 > =20 > Stop in /usr/ports/java/jdk13. > *** Error code 1 > =20 > Stop in /usr/ports/java/jdk13. >=20 > Any suggestions? >=20 > /Ernst >=20 >=20 > Ernst de Haan wrote: > > I have open-motif-devel-2.1.30 installed, but I get the same error. So = what is > > the solution? Install open-motif-2.1.30 (not devel) as well? > >=20 > > zaphod# pkg_info | grep otif > > open-motif-devel-2.1.30 Open Motif 2.1.30 - Development libraries and h= eader files > >=20 > > /Ernst (who's trying that now) > >=20 > >=20 > > Valeriy E. Ushakov wrote: > > > On Wed, Aug 22, 2001 at 03:30:20 +0930, Greg Lewis wrote: > > >=20 > > > > > ../../../src/solaris/native/sun/awt/awt_util.c:30: > > > > Xm/BaseClassI.h: No such > file or directory > > > >=20 > > > > Do you actually have Open Motif installed? This is the error I get > > > > when compiling with Lesstif, for instance. > > >=20 > > > It seems this include is added by the patchset only to drag in a > > > prototype for _XmGetWidgetExtData. It's in BaseClassI.h in OpenMotif, > > > but in BaseClassP.h in solaris motif. > > >=20 > > > See comment in awt_motif12.c. > > >=20 > > > SY, Uwe > > > --=20 > > > uwe@ptc.spbu.ru | Zu Grunde kommen > > > http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen > > >=20 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > > >=20 > >=20 > > --=20 > > Ernst de Haan > > Euronet Internet B.V. > >=20 > > "Come to me all who are weary and burdened > > and I will give you rest" -- Jesus Christ > >=20 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > >=20 >=20 > --=20 > Ernst de Haan > Euronet Internet B.V. >=20 > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message >=20 --=20 Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 12:39:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id DD04737B43C for ; Wed, 22 Aug 2001 12:34:02 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA12922 for ; Wed, 22 Aug 2001 13:34:01 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id NAA11276; Wed, 22 Aug 2001 13:34:01 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15236.2344.673449.187617@nomad.yogotech.com> Date: Wed, 22 Aug 2001 13:34:00 -0600 To: java@freebsd.org Subject: Fwd: linux emulation getcwd bug X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think this may have something to do with the /tmp issues that some folks are having bootstrapping the JDK build. If folks could test this out, I'm sure Drew would greatly appreciate it! ------- start of forwarded message ------- From: Andrew Gallatin Sender: owner-freebsd-emulation@FreeBSD.ORG Subject: please review- linulator getcwd bugfix Date: Wed, 22 Aug 2001 15:23:22 -0400 (EDT) Currently, linux_getcwd() is broken. It calls __getcwd(). __getcwd() is essentially an optimiziation on FreeBSD. If the cwd is in the namei cache, then it returns it & saves libc a lot of trouble. However, linux expects it to always succeed. When it fails, linux apps end up with an error condition they don't expect, and strange and bizzare things can happen (like trying to open files in / rather than in /some/path/name). This happens often when running programs compiled by the compaq linux/alpha Fortran compiler. See kern/24315 for a concise description of the problem. I've appended a fix using an in-kernel getcwd obtained from NetBSD by way of OpenBSD. I try the old __getdents() way first, and then try the more heavy-handed approach. Please review. Thanks, Drew Index: modules/linux/Makefile =================================================================== RCS file: /home/ncvs/src/sys/modules/linux/Makefile,v retrieving revision 1.51 diff -u -r1.51 Makefile --- modules/linux/Makefile 2001/02/04 10:52:24 1.51 +++ modules/linux/Makefile 2001/08/22 17:25:49 @@ -5,8 +5,8 @@ .PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux KMOD= linux -SRCS= linux_file.c linux_ioctl.c linux_ipc.c linux_machdep.c linux_misc.c \ - linux_signal.c linux_socket.c linux_stats.c linux_mib.c \ +SRCS= linux_file.c linux_getcwd.c linux_ioctl.c linux_ipc.c linux_machdep.c \ + linux_misc.c linux_signal.c linux_socket.c linux_stats.c linux_mib.c \ linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \ opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h OBJS= linux_locore.o Index: conf/files.alpha =================================================================== RCS file: /home/ncvs/src/sys/conf/files.alpha,v retrieving revision 1.69 diff -u -r1.69 files.alpha --- conf/files.alpha 2001/08/02 13:22:28 1.69 +++ conf/files.alpha 2001/08/22 19:10:06 @@ -170,6 +170,7 @@ alpha/tlsb/tlsbmem.c optional dec_kn8ae alpha/tlsb/zs_tlsb.c optional dec_kn8ae compat/linux/linux_file.c optional compat_linux +compat/linux/linux_getcwd.c optional compat_linux compat/linux/linux_ioctl.c optional compat_linux compat/linux/linux_ipc.c optional compat_linux compat/linux/linux_mib.c optional compat_linux Index: conf/files.i386 =================================================================== RCS file: /home/ncvs/src/sys/conf/files.i386,v retrieving revision 1.369 diff -u -r1.369 files.i386 --- conf/files.i386 2001/08/09 00:02:30 1.369 +++ conf/files.i386 2001/08/22 19:10:34 @@ -57,6 +57,7 @@ no-implicit-rule # compat/linux/linux_file.c optional compat_linux +compat/linux/linux_getcwd.c optional compat_linux compat/linux/linux_ioctl.c optional compat_linux compat/linux/linux_ipc.c optional compat_linux compat/linux/linux_mib.c optional compat_linux Index: compat/linux/linux_file.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_file.c,v retrieving revision 1.53 diff -u -r1.53 linux_file.c --- compat/linux/linux_file.c 2001/05/01 08:11:51 1.53 +++ compat/linux/linux_file.c 2001/08/22 17:04:10 @@ -830,34 +830,6 @@ return link(p, &bsd); } -int -linux_getcwd(struct proc *p, struct linux_getcwd_args *args) -{ - struct __getcwd_args bsd; - caddr_t sg; - int error, len; - -#ifdef DEBUG - if (ldebug(getcwd)) - printf(ARGS(getcwd, "%p, %ld"), args->buf, args->bufsize); -#endif - - sg = stackgap_init(); - bsd.buf = stackgap_alloc(&sg, SPARE_USRSPACE); - bsd.buflen = SPARE_USRSPACE; - error = __getcwd(p, &bsd); - if (!error) { - len = strlen(bsd.buf) + 1; - if (len <= args->bufsize) { - p->p_retval[0] = len; - error = copyout(bsd.buf, args->buf, len); - } - else - error = ERANGE; - } - return (error); -} - #ifndef __alpha__ int linux_fdatasync(p, uap) --- /dev/null Wed Aug 22 15:03:56 2001 +++ compat/linux/linux_getcwd.c Wed Aug 22 13:07:21 2001 @@ -0,0 +1,466 @@ +/* $FreeBSD$ */ +/* $OpenBSD: linux_getcwd.c,v 1.2 2001/05/16 12:50:21 ho Exp $ */ +/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */ + +/*- + * Copyright (c) 1999 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Bill Sommerfeld. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the NetBSD + * Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +#include "opt_compat.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* XXX only for DIRBLKSIZ */ + +#include +#include +#include + +static int +linux_getcwd_scandir __P((struct vnode **, struct vnode **, + char **, char *, struct proc *)); +static int +linux_getcwd_common __P((struct vnode *, struct vnode *, + char **, char *, int, int, struct proc *)); + +#define DIRENT_MINSIZE (sizeof(struct dirent) - (MAXNAMLEN+1) + 4) + +/* + * Vnode variable naming conventions in this file: + * + * rvp: the current root we're aiming towards. + * lvp, *lvpp: the "lower" vnode + * uvp, *uvpp: the "upper" vnode. + * + * Since all the vnodes we're dealing with are directories, and the + * lookups are going *up* in the filesystem rather than *down*, the + * usual "pvp" (parent) or "dvp" (directory) naming conventions are + * too confusing. + */ + +/* + * XXX Will infinite loop in certain cases if a directory read reliably + * returns EINVAL on last block. + * XXX is EINVAL the right thing to return if a directory is malformed? + */ + +/* + * XXX Untested vs. mount -o union; probably does the wrong thing. + */ + +/* + * Find parent vnode of *lvpp, return in *uvpp + * + * If we care about the name, scan it looking for name of directory + * entry pointing at lvp. + * + * Place the name in the buffer which starts at bufp, immediately + * before *bpp, and move bpp backwards to point at the start of it. + * + * On entry, *lvpp is a locked vnode reference; on exit, it is vput and NULL'ed + * On exit, *uvpp is either NULL or is a locked vnode reference. + */ +static int +linux_getcwd_scandir(lvpp, uvpp, bpp, bufp, p) + struct vnode **lvpp; + struct vnode **uvpp; + char **bpp; + char *bufp; + struct proc *p; +{ + int error = 0; + int eofflag; + off_t off; + int tries; + struct uio uio; + struct iovec iov; + char *dirbuf = NULL; + int dirbuflen; + ino_t fileno; + struct vattr va; + struct vnode *uvp = NULL; + struct vnode *lvp = *lvpp; + struct componentname cn; + int len, reclen; + tries = 0; + + /* + * If we want the filename, get some info we need while the + * current directory is still locked. + */ + if (bufp != NULL) { + error = VOP_GETATTR(lvp, &va, p->p_ucred, p); + if (error) { + vput(lvp); + *lvpp = NULL; + *uvpp = NULL; + return error; + } + } + + /* + * Ok, we have to do it the hard way.. + * Next, get parent vnode using lookup of .. + */ + cn.cn_nameiop = LOOKUP; + cn.cn_flags = ISLASTCN | ISDOTDOT | RDONLY; + cn.cn_proc = p; + cn.cn_cred = p->p_ucred; + cn.cn_pnbuf = NULL; + cn.cn_nameptr = ".."; + cn.cn_namelen = 2; + cn.cn_consume = 0; + + /* + * At this point, lvp is locked and will be unlocked by the lookup. + * On successful return, *uvpp will be locked + */ + error = VOP_LOOKUP(lvp, uvpp, &cn); + if (error) { + vput(lvp); + *lvpp = NULL; + *uvpp = NULL; + return error; + } + uvp = *uvpp; + + /* If we don't care about the pathname, we're done */ + if (bufp == NULL) { + vrele(lvp); + *lvpp = NULL; + return 0; + } + + fileno = va.va_fileid; + + dirbuflen = DIRBLKSIZ; + if (dirbuflen < va.va_blocksize) + dirbuflen = va.va_blocksize; + dirbuf = (char *)malloc(dirbuflen, M_TEMP, M_WAITOK); + +#if 0 +unionread: +#endif + off = 0; + do { + /* call VOP_READDIR of parent */ + iov.iov_base = dirbuf; + iov.iov_len = dirbuflen; + + uio.uio_iov = &iov; + uio.uio_iovcnt = 1; + uio.uio_offset = off; + uio.uio_resid = dirbuflen; + uio.uio_segflg = UIO_SYSSPACE; + uio.uio_rw = UIO_READ; + uio.uio_procp = p; + + eofflag = 0; + + error = VOP_READDIR(uvp, &uio, p->p_ucred, &eofflag, 0, 0); + + off = uio.uio_offset; + + /* + * Try again if NFS tosses its cookies. + * XXX this can still loop forever if the directory is busted + * such that the second or subsequent page of it always + * returns EINVAL + */ + if ((error == EINVAL) && (tries < 3)) { + off = 0; + tries++; + continue; /* once more, with feeling */ + } + + if (!error) { + char *cpos; + struct dirent *dp; + + cpos = dirbuf; + tries = 0; + + /* scan directory page looking for matching vnode */ + for (len = (dirbuflen - uio.uio_resid); len > 0; len -= reclen) { + dp = (struct dirent *) cpos; + reclen = dp->d_reclen; + + /* check for malformed directory.. */ + if (reclen < DIRENT_MINSIZE) { + error = EINVAL; + goto out; + } + /* + * XXX should perhaps do VOP_LOOKUP to + * check that we got back to the right place, + * but getting the locking games for that + * right would be heinous. + */ + if ((dp->d_type != DT_WHT) && + (dp->d_fileno == fileno)) { + char *bp = *bpp; + bp -= dp->d_namlen; + + if (bp <= bufp) { + error = ERANGE; + goto out; + } + bcopy(dp->d_name, bp, dp->d_namlen); + error = 0; + *bpp = bp; + goto out; + } + cpos += reclen; + } + } + } while (!eofflag); + error = ENOENT; + +out: + vrele(lvp); + *lvpp = NULL; + free(dirbuf, M_TEMP); + return error; +} + + +/* + * common routine shared by sys___getcwd() and linux_vn_isunder() + */ + +#define GETCWD_CHECK_ACCESS 0x0001 + +static int +linux_getcwd_common (lvp, rvp, bpp, bufp, limit, flags, p) + struct vnode *lvp; + struct vnode *rvp; + char **bpp; + char *bufp; + int limit; + int flags; + struct proc *p; +{ + struct filedesc *fdp = p->p_fd; + struct vnode *uvp = NULL; + char *bp = NULL; + int error; + int perms = VEXEC; + + if (rvp == NULL) { + rvp = fdp->fd_rdir; + if (rvp == NULL) + rvp = rootvnode; + } + + VREF(rvp); + VREF(lvp); + + /* + * Error handling invariant: + * Before a `goto out': + * lvp is either NULL, or locked and held. + * uvp is either NULL, or locked and held. + */ + + error = vn_lock(lvp, LK_EXCLUSIVE | LK_RETRY, p); + if (error) { + vrele(lvp); + lvp = NULL; + goto out; + } + if (bufp) + bp = *bpp; + /* + * this loop will terminate when one of the following happens: + * - we hit the root + * - getdirentries or lookup fails + * - we run out of space in the buffer. + */ + if (lvp == rvp) { + if (bp) + *(--bp) = '/'; + goto out; + } + do { + if (lvp->v_type != VDIR) { + error = ENOTDIR; + goto out; + } + + /* + * access check here is optional, depending on + * whether or not caller cares. + */ + if (flags & GETCWD_CHECK_ACCESS) { + error = VOP_ACCESS(lvp, perms, p->p_ucred, p); + if (error) + goto out; + perms = VEXEC|VREAD; + } + + /* + * step up if we're a covered vnode.. + */ + while (lvp->v_flag & VROOT) { + struct vnode *tvp; + + if (lvp == rvp) + goto out; + + tvp = lvp; + lvp = lvp->v_mount->mnt_vnodecovered; + vput(tvp); + /* + * hodie natus est radici frater + */ + if (lvp == NULL) { + error = ENOENT; + goto out; + } + VREF(lvp); + error = vn_lock(lvp, LK_EXCLUSIVE | LK_RETRY, p); + if (error != 0) { + vrele(lvp); + lvp = NULL; + goto out; + } + } + error = linux_getcwd_scandir(&lvp, &uvp, &bp, bufp, p); + if (error) + goto out; +#if DIAGNOSTIC + if (lvp != NULL) + panic("getcwd: oops, forgot to null lvp"); + if (bufp && (bp <= bufp)) { + panic("getcwd: oops, went back too far"); + } +#endif + if (bp) + *(--bp) = '/'; + lvp = uvp; + uvp = NULL; + limit--; + } while ((lvp != rvp) && (limit > 0)); + +out: + if (bpp) + *bpp = bp; + if (uvp) + vput(uvp); + if (lvp) + vput(lvp); + vrele(rvp); + return error; +} + + +/* + * Find pathname of process's current directory. + * + * Use vfs vnode-to-name reverse cache; if that fails, fall back + * to reading directory contents. + */ + +int +linux_getcwd(struct proc *p, struct linux_getcwd_args *args) +{ + struct __getcwd_args bsd; + caddr_t sg, bp, bend, path; + int error, len, lenused; + +#ifdef DEBUG + printf("Linux-emul(%ld): getcwd(%p, %ld)\n", (long)p->p_pid, + args->buf, args->bufsize); +#endif + + sg = stackgap_init(); + bsd.buf = stackgap_alloc(&sg, SPARE_USRSPACE); + bsd.buflen = SPARE_USRSPACE; + error = __getcwd(p, &bsd); + if (!error) { + lenused = strlen(bsd.buf) + 1; + if (lenused <= args->bufsize) { + p->p_retval[0] = lenused; + error = copyout(bsd.buf, args->buf, lenused); + } + else + error = ERANGE; + } else { + len = args->bufsize; + + if (len > MAXPATHLEN*4) + len = MAXPATHLEN*4; + else if (len < 2) + return ERANGE; + + path = (char *)malloc(len, M_TEMP, M_WAITOK); + + bp = &path[len]; + bend = bp; + *(--bp) = '\0'; + + /* + * 5th argument here is "max number of vnodes to traverse". + * Since each entry takes up at least 2 bytes in the output buffer, + * limit it to N/2 vnodes for an N byte buffer. + */ + + error = linux_getcwd_common (p->p_fd->fd_cdir, NULL, + &bp, path, len/2, GETCWD_CHECK_ACCESS, p); + + if (error) + goto out; + lenused = bend - bp; + p->p_retval[0] = lenused; + /* put the result into user buffer */ + error = copyout(bp, args->buf, lenused); + +out: + free(path, M_TEMP); + } + return (error); +} + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message ------- end of forwarded message ------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 16:13:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 631CC37B420 for ; Wed, 22 Aug 2001 16:13:21 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15ZhBY-0003xJ-00; Wed, 22 Aug 2001 16:13:20 -0700 Date: Wed, 22 Aug 2001 16:13:20 -0700 To: freebsd-java@freebsd.org Cc: Bill Huey Subject: Bad News Folks :-\ Message-ID: <20010822161320.A14356@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey, I've know since yesterday, but I needed to give it a day or so of processing to make sense of this... Basically, I was laid off at WindRiver yesterday and it's unclear what's going to happen to me in relation to this project. Yes, "laid off". Make no mistakes in understand that this is for *real* and you're not dreaming. ;-) They've been refocusing their efforts away from the desktop environment and towards their traditional market of embedded systems in light of the rather harsh economic times. They've got a competing JVM group that's doing MicroJava stuff (1.1.8) and I believe they're going to focus on that instead of the client/server stuff we're interested in... I basically need to find another job some where (Linux World Expo ?) and make sure that I'm taken care of financially. As far as the project goes, I haven't decided what my involvment with the FreeBSD port will be until I get a feel of what's happening in the market and if folks are willing to immediately hire me or not. If that's the case, then it's likely I won't be working on the FreeBSD JVM port for now, otherwise I'll be trying to get native threading working in between jobs. I'm not sure which is better, money or getting the port fully working. Hehehe ;-) Oh well. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 18: 9: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from p.intothewind.cx (pool-141-157-92-106.balt.east.verizon.net [141.157.92.106]) by hub.freebsd.org (Postfix) with ESMTP id 6243937B40E for ; Wed, 22 Aug 2001 18:08:41 -0700 (PDT) (envelope-from patrick@p.intothewind.cx) Received: (from patrick@localhost) by p.intothewind.cx (8.11.3/8.11.3) id f7N12mZ61957; Wed, 22 Aug 2001 21:02:48 -0400 (EDT) (envelope-from patrick) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010822021129.A74951@misty.eyesbeyond.com> Date: Wed, 22 Aug 2001 21:02:48 -0400 (EDT) From: "Patrick S. Gardella" To: Greg Lewis Subject: RE: 1.3.1 patchset 3 (early adopters) Cc: freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org One other patch for the port itself (besides the unlink one someone else reported). --- Makefile.orig Wed Aug 22 20:55:40 2001 +++ Makefile Wed Aug 22 20:55:56 2001 @@ -16,6 +16,7 @@ MAINTAINER= BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ + zip:${PORTSDIR}/archivers/zip \ gtar:${PORTSDIR}/archivers/gtar \ ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-jdk13 \ ${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif-deve l This was a *very* new box, so it had nearly no ports installed on it. There may also need to put a mention in the Makefile that says that you need to make sure you have the linux-jdk13 installed. Since the linux-jdk13 port does not error out, if you haven't downloaded the bin file from sun, and have it in /usr/ports/distfiles, but just prints a message, the build of jdk13 continues until it bombs out with no linux-jdk13 installed. Patrick On 21-Aug-01 Greg Lewis wrote: > Hi all, > > Patchset 3 for JDK 1.3.1 is up on the web site. The main highlights are: > > 1. The patches are now against the updated 1.3.1 SCSL distribution > available from Sun. This is good since the previous distribution > was beta. > 2. Some patches from Carlo Dapor and Daichi GOTO. > > I recommend people switch to using this version if they want to use a > native JDK 1.3.1. > > I've placed an update port skeleton at: > > http://www.eyesbeyond.com/freebsddom/java/jdk13-port.tar.gz > > This port skeleton works afaik except for some problems with specifying > the "debug" parts of the JDK in the packing list. If someone knows the > right way to do this I'd greatly appreciate hearing from you. I'll be > send-pr'ing this port soon. > > http://www.eyesbeyond.com/freebsddom/java/jdk13.html > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message Patrick ---------- Patrick Gardella patrick@freebsd.org The Power to Serve shall not be infringed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 18:30:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id D699637B40B for ; Wed, 22 Aug 2001 18:30:25 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 95308 invoked by uid 1001); 23 Aug 2001 01:33:13 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15236.23895.316429.126267@zircon.zircon.seattle.wa.us> Date: Wed, 22 Aug 2001 18:33:11 -0700 To: java@freebsd.org Subject: jdk13 plugin patches X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been working through the plugin directory. So far, I have patches for almost all compiler errors. I expect to finish the rest of the compiler errors soon. However, JavaVM5.cpp has a puzzling include, #include "gdk/gdk.h" Now, there is no gdk directory anywhere in the j2sdk source, nor is there a gdk.h file! There is a gdksuperwin.h file, but that also has the above include along with some other mysterious gdk-related includes. What it missing? Also, there seem to be a lot of purely bad programming errors, as if no one ever tried to compile the code before. Maybe the Sun C compiler is more lenient? Presumably, it compiler before on Linux... If anyone has a clue about the gdk stuff, please let me know. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 21:54:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 38EB437B407 for ; Wed, 22 Aug 2001 21:54:54 -0700 (PDT) (envelope-from john@utzweb.net) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.0/8.11.0) with ESMTP id f7N52Ls26337; Thu, 23 Aug 2001 00:02:21 -0500 Date: Thu, 23 Aug 2001 00:02:21 -0500 (CDT) From: John Utz X-X-Sender: To: Joe Kelsey Cc: Subject: Re: jdk13 plugin patches In-Reply-To: <15236.23895.316429.126267@zircon.zircon.seattle.wa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org speaking utterly OTOH. gdk would be a header from gtk. perhaps swing is implemented with gtk, or they just horked the theming code ( been reading Core Java 1.3 and they mention that the defualt theme is 'Metal' which is a default gtk theme On Wed, 22 Aug 2001, Joe Kelsey wrote: > I have been working through the plugin directory. So far, I have > patches for almost all compiler errors. I expect to finish the rest of > the compiler errors soon. However, JavaVM5.cpp has a puzzling include, > > #include "gdk/gdk.h" > > Now, there is no gdk directory anywhere in the j2sdk source, nor is > there a gdk.h file! There is a gdksuperwin.h file, but that also has > the above include along with some other mysterious gdk-related > includes. What it missing? > > Also, there seem to be a lot of purely bad programming errors, as if no > one ever tried to compile the code before. Maybe the Sun C compiler is > more lenient? Presumably, it compiler before on Linux... > > If anyone has a clue about the gdk stuff, please let me know. > > /Joe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Aug 22 22: 4:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id A964837B407 for ; Wed, 22 Aug 2001 22:04:46 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.126] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15Zmfc-0001o0-00; Wed, 22 Aug 2001 23:04:45 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7N54fO07642; Thu, 23 Aug 2001 14:34:41 +0930 (CST) (envelope-from glewis) Date: Thu, 23 Aug 2001 14:34:41 +0930 From: Greg Lewis To: Joe Kelsey Cc: java@FreeBSD.ORG Subject: Re: jdk13 plugin patches Message-ID: <20010823143441.A7609@misty.eyesbeyond.com> References: <15236.23895.316429.126267@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15236.23895.316429.126267@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Wed, Aug 22, 2001 at 06:33:11PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 22, 2001 at 06:33:11PM -0700, Joe Kelsey wrote: > I have been working through the plugin directory. So far, I have > patches for almost all compiler errors. I expect to finish the rest of > the compiler errors soon. However, JavaVM5.cpp has a puzzling include, We should collaborate on this, I've also got some patches which get me a compiled plugin. I'm going to test as soon as I figure out how to install it correctly for Mozilla (the included install script assumes Netscape, which didn't allow you to change the Java plugin before 4.77, and the latest FreeBSD native version was 4.76, not to mention being an aout binary). > #include "gdk/gdk.h" > > Now, there is no gdk directory anywhere in the j2sdk source, nor is > there a gdk.h file! There is a gdksuperwin.h file, but that also has > the above include along with some other mysterious gdk-related > includes. What it missing? You need GTK installed to build the plugin. See /usr/ports/x11-toolkits/gtk12. You'll also need some headers and libraries from Mozilla. For the headers you can mostly use the headers which are part of the plugin source (nsplugindefs.h was the exception for me), however you need libnspr4.so from either Mozilla or NSPR itself. > Also, there seem to be a lot of purely bad programming errors, as if no > one ever tried to compile the code before. Maybe the Sun C compiler is > more lenient? Presumably, it compiler before on Linux... I'm not quite sure what you mean? There are some assumptions about the platform being SysV based, but nothing worse than the JDK itself I thought. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 0: 4:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id B063B37B405 for ; Thu, 23 Aug 2001 00:04:33 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7N72g137555 for java@freebsd.org; Thu, 23 Aug 2001 09:02:42 +0200 (CEST) (envelope-from ernst) Date: Thu, 23 Aug 2001 09:02:42 +0200 From: Ernst de Haan To: java@freebsd.org Subject: [bleez@bellatlantic.net: Re: 1.3.1 patchset 3 (early adopters)] Message-ID: <20010823090242.A22428@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Forwarding this mail since this guy cannot post to the list... /Ernst -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ --bg08WKrSYDhXBjb5 Content-Type: message/rfc822 Content-Disposition: inline Received: from localhost (localhost [127.0.0.1]) by heinz.jollem.com (8.11.3/8.11.4) with ESMTP id f7MMiEw36066 for ; Thu, 23 Aug 2001 00:44:14 +0200 (CEST) (envelope-from bleez@bellatlantic.net) Received: from pop.euronet.nl [194.134.0.10] by localhost with POP3 (fetchmail-5.8.6) for ernst@localhost (single-drop); Thu, 23 Aug 2001 00:44:14 +0200 (CEST) Received: from neptune.euro.net (neptune.euro.net [194.134.0.168]) by pop1.euronet.nl (Postfix) with ESMTP id C542C5B5A for ; Thu, 23 Aug 2001 00:45:29 +0200 (MET DST) Received: from gravy.kishka.net (unknown [151.197.8.33]) by neptune.euro.net (Postfix) with ESMTP id DCD961463D for ; Thu, 23 Aug 2001 00:45:27 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by gravy.kishka.net (8.11.5/8.11.5) with ESMTP id f7MMikX43464; Wed, 22 Aug 2001 18:44:47 -0400 (EDT) (envelope-from bleez@bellatlantic.net) Date: Wed, 22 Aug 2001 18:44:46 -0400 (EDT) From: Bryan Liesner X-X-Sender: To: Greg Lewis Cc: Ernst de Haan Subject: Re: 1.3.1 patchset 3 (early adopters) In-Reply-To: <20010823011932.A93223@misty.eyesbeyond.com> Message-ID: <20010822183856.R43457-100000@gravy.kishka.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: 9884aa6eb1bb4c094402665b3ced050b On Thu, 23 Aug 2001, Greg Lewis wrote: >On Wed, Aug 22, 2001 at 01:04:04PM +0200, Ernst de Haan wrote: >> Okay, now it did compile after I installed open-motif-2.1.30. So 'make' >> succeeded, but now when I do 'make install' I get: >> >> zaphod# make install >> ===> Installing for jdk-1.3.1p3 >> ===> jdk-1.3.1p3 depends on executable: javavm - found >> >> Please use `make -DNODEBUG' if you don't want to install libraries and binaries with debugging support. >> >> /bin/mkdir -p /usr/local/jdk1.3.1 >> (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) >> (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-debug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) >> gtar: ./jre/: Cannot unlink: Directory not empty >> gtar: ./jre/lib/: Cannot unlink: Directory not empty >> gtar: ./jre/lib/i386/: Cannot unlink: Directory not empty >> gtar: ./jre/lib/i386/green_threads/: Cannot unlink: Directory not empty >> gtar: ./jre/lib/i386/classic/: Cannot unlink: Directory not empty >> gtar: ./bin/: Cannot unlink: Directory not empty >> gtar: ./bin/i386/: Cannot unlink: Directory not empty >> gtar: ./bin/i386/green_threads/: Cannot unlink: Directory not empty >> gtar: ./lib/: Cannot unlink: Directory not empty >> gtar: ./lib/i386/: Cannot unlink: Directory not empty >> gtar: Error exit delayed from previous errors >> *** Error code 2 I had the same problem, too. It looks it needs gtar to extract, and tar (FreeBSD's) to install. Do a make, let it build, then change TAR= from gtar to tar. Make install will work. I would have liked to post this to the list, but all the freebsd lists are rejecting my mail - doesn't look like anyone else is, though. I'm sure it has to do with the Linksys router I installed... :( --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 0: 7:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 22CEF37B409; Thu, 23 Aug 2001 00:07:43 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f7N74Go37563; Thu, 23 Aug 2001 09:04:16 +0200 (CEST) (envelope-from ernst) Date: Thu, 23 Aug 2001 09:04:16 +0200 From: Ernst de Haan To: "Patrick S. Gardella" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010823090416.B22428@c104187.upc-c.chello.nl> References: <20010822021129.A74951@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from patrick@FreeBSD.ORG on Wed, Aug 22, 2001 at 09:02:48PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Uhm, I thought someone (me?) concluded that we don't need open-motif-devel but open-motif instead! > BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ > + zip:${PORTSDIR}/archivers/zip \ > gtar:${PORTSDIR}/archivers/gtar \ > ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-jdk13 \ > ${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif-deve > l s/motif-devel/motif/ /Ernst -- Ernst de Haan Euronet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 1:22:51 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 64D6537B40F; Thu, 23 Aug 2001 01:22:47 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.216] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15ZplF-0002vE-00; Thu, 23 Aug 2001 02:22:46 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7N8MZc08722; Thu, 23 Aug 2001 17:52:35 +0930 (CST) (envelope-from glewis) Date: Thu, 23 Aug 2001 17:52:34 +0930 From: Greg Lewis To: "Patrick S. Gardella" Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010823175234.A8652@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from patrick@FreeBSD.ORG on Wed, Aug 22, 2001 at 09:02:48PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Patrick, On Wed, Aug 22, 2001 at 09:02:48PM -0400, Patrick S. Gardella wrote: > One other patch for the port itself (besides the unlink one someone else > reported). > > --- Makefile.orig Wed Aug 22 20:55:40 2001 > +++ Makefile Wed Aug 22 20:55:56 2001 > @@ -16,6 +16,7 @@ > MAINTAINER= > > BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ > + zip:${PORTSDIR}/archivers/zip \ > gtar:${PORTSDIR}/archivers/gtar \ > ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-jdk13 \ > ${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif-devel D'oh. I was sure zip was no longer used so I had ripped it out, but I reviewed the build logs again and it was used in making the images. I've send-pr'ed the port already, but I'll just followup up with your patch. > This was a *very* new box, so it had nearly no ports installed on it. > > There may also need to put a mention in the Makefile that says that you need to > make sure you have the linux-jdk13 installed. Since the linux-jdk13 port does > not error out, if you haven't downloaded the bin file from sun, and have it in > /usr/ports/distfiles, but just prints a message, the build of jdk13 continues > until it bombs out with no linux-jdk13 installed. Thats a bit of a bugger. I imagine the jdk12beta port may have the same problem with the linux-jdk bootstrapping. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 1:25:51 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 7DBFE37B40A for ; Thu, 23 Aug 2001 01:25:47 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.216] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15Zpo9-0000Qe-00; Thu, 23 Aug 2001 02:25:46 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7N8PfB08752; Thu, 23 Aug 2001 17:55:41 +0930 (CST) (envelope-from glewis) Date: Thu, 23 Aug 2001 17:55:41 +0930 From: Greg Lewis To: Ernst de Haan Cc: java@FreeBSD.ORG, bleez@bellatlantic.net Subject: Re: [bleez@bellatlantic.net: Re: 1.3.1 patchset 3 (early adopters)] Message-ID: <20010823175541.B8652@misty.eyesbeyond.com> References: <20010823090242.A22428@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010823090242.A22428@c104187.upc-c.chello.nl>; from ernsth@nl.euro.net on Thu, Aug 23, 2001 at 09:02:42AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 23, 2001 at 09:02:42AM +0200, Ernst de Haan wrote: > Date: Wed, 22 Aug 2001 18:44:46 -0400 (EDT) > From: Bryan Liesner > X-X-Sender: > To: Greg Lewis > Cc: Ernst de Haan > Subject: Re: 1.3.1 patchset 3 (early adopters) > In-Reply-To: <20010823011932.A93223@misty.eyesbeyond.com> > X-UIDL: 9884aa6eb1bb4c094402665b3ced050b > > On Thu, 23 Aug 2001, Greg Lewis wrote: > > >On Wed, Aug 22, 2001 at 01:04:04PM +0200, Ernst de Haan wrote: > >> Okay, now it did compile after I installed open-motif-2.1.30. So 'make' > >> succeeded, but now when I do 'make install' I get: > >> > >> zaphod# make install > >> ===> Installing for jdk-1.3.1p3 > >> ===> jdk-1.3.1p3 depends on executable: javavm - found > >> > >> Please use `make -DNODEBUG' if you don't want to install libraries and binaries with debugging support. > >> > >> /bin/mkdir -p /usr/local/jdk1.3.1 > >> (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > >> (cd /usr/ports/java/jdk13/work/j2sdk1.3.1/make/../build/bsd-i386/jdk-debug-image-i386 && gtar -c -f - .) | (cd /usr/local/jdk1.3.1 && gtar --unlink -x -f -) > >> gtar: Error exit delayed from previous errors > >> *** Error code 2 > > I had the same problem, too. It looks it needs gtar to extract, and > tar (FreeBSD's) to install. Do a make, let it build, then change TAR= > >from gtar to tar. Make install will work. > > I would have liked to post this to the list, but all the freebsd lists > are rejecting my mail - doesn't look like anyone else is, though. Does the install step work if you rip out the --unlink from the gtar line? It doesn't seem to me like its strictly necessary. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 1:43:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id C22C837B405; Thu, 23 Aug 2001 01:43:23 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.216] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15Zq5C-0004CE-00; Thu, 23 Aug 2001 02:43:23 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7N8hKl08840; Thu, 23 Aug 2001 18:13:20 +0930 (CST) (envelope-from glewis) Date: Thu, 23 Aug 2001 18:13:19 +0930 From: Greg Lewis To: Ernst de Haan Cc: "Patrick S. Gardella" , Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 patchset 3 (early adopters) Message-ID: <20010823181319.C8652@misty.eyesbeyond.com> References: <20010822021129.A74951@misty.eyesbeyond.com> <20010823090416.B22428@c104187.upc-c.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010823090416.B22428@c104187.upc-c.chello.nl>; from ernsth@nl.euro.net on Thu, Aug 23, 2001 at 09:04:16AM +0200 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Aug 23, 2001 at 09:04:16AM +0200, Ernst de Haan wrote: > Uhm, I thought someone (me?) concluded that we don't need open-motif-devel but > open-motif instead! You did...but I'd already submitted the port :). I need to followup with patch or two it looks like. If anyone is interested, its ports/29949. Hopefully we can convince someone to commit it :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 10: 2:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id BBEE937B406 for ; Thu, 23 Aug 2001 10:02:34 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 97997 invoked by uid 1001); 23 Aug 2001 17:05:21 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15237.14289.35117.537017@zircon.zircon.seattle.wa.us> Date: Thu, 23 Aug 2001 10:05:21 -0700 To: java@freebsd.org Subject: forwarded message from Joe Kelsey X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis writes: > Does the install step work if you rip out the --unlink from the gtar > line? It doesn't seem to me like its strictly necessary. That's exactly what I did. The --unlink seems unnecessary... /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 13:20:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id BF14737B40C for ; Thu, 23 Aug 2001 13:20:16 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.58] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15a0xb-0004Hm-00 for freebsd-java@freebsd.org; Thu, 23 Aug 2001 14:20:15 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7NKKC414754 for freebsd-java@freebsd.org; Fri, 24 Aug 2001 05:50:12 +0930 (CST) (envelope-from glewis) Date: Fri, 24 Aug 2001 05:50:12 +0930 From: Greg Lewis To: freebsd-java@freebsd.org Subject: Plugin installation instructions? Message-ID: <20010824055012.A14723@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I've got the plugin compiling, but am not sure how to install the silly thing into Mozilla for testing. Its not as simple as just copying the plugin shared library to the plugins directory :). Anyone know of any instructions for installing the plugin anywhere? Preferably with a high degree of detail and not assuming that we have some sort of packaged bundle to install. Instructions for JDK 1.3.1 plugin for Mozilla would the best. In addition, if the instructions also mention how to uninstall it that would be very helpful, as I'm sure there will be problems that need fixing. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 13:33: 5 2001 Delivered-To: freebsd-java@freebsd.org Received: from calliope.cs.brandeis.edu (calliope.cs.brandeis.edu [129.64.3.189]) by hub.freebsd.org (Postfix) with ESMTP id 5D4D237B408 for ; Thu, 23 Aug 2001 13:33:02 -0700 (PDT) (envelope-from meshko@calliope.cs.brandeis.edu) Received: from localhost (meshko@localhost) by calliope.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id QAA04609; Thu, 23 Aug 2001 16:32:55 -0400 Date: Thu, 23 Aug 2001 16:32:55 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis Cc: Subject: Re: Plugin installation instructions? In-Reply-To: <20010824055012.A14723@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From what I can understand, OLD Netscape 4 plugins should work with Mozilla just like before (by putting them in the right directory. This directory is /usr/local/mozilla/plugins by default. This is a fairly detailed resource on how to develop plugins. The fact that there is nothing about install procedures there makes me think that putting it in the dir should be enough: http://www.mozilla.org/docs/plugin.html The funny thing is that I've tried to install jdk1.3 plugin for Mozilla on Win2k and it never worked... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Aug 23 15:10:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from claire.namodn.com (namodn.com [209.0.100.49]) by hub.freebsd.org (Postfix) with ESMTP id 9FD6A37B409 for ; Thu, 23 Aug 2001 15:10:43 -0700 (PDT) (envelope-from robert@namodn.com) Received: from robert by claire.namodn.com with local (Exim 3.12 #1 (Debian)) id 15a2gB-0006uD-00; Thu, 23 Aug 2001 15:10:23 -0700 Date: Thu, 23 Aug 2001 15:10:23 -0700 From: Rob Helmer To: freebsd-java@freebsd.org Subject: Re: Plugin installation instructions? Message-ID: <20010823151023.A25991@claire.namodn.com> Mail-Followup-To: Rob Helmer , freebsd-java@freebsd.org References: <20010824055012.A14723@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010824055012.A14723@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Fri, Aug 24, 2001 at 05:50:12AM +0930 Organization: Namodn Artists - http://www.namodn.com X-OS-Type: Debian GNU/Linux 2.2 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 05:50:12AM +0930, Greg Lewis wrote: > Hi all, > > I've got the plugin compiling, but am not sure how to install the > silly thing into Mozilla for testing. Its not as simple as just > copying the plugin shared library to the plugins directory :). This is how I do it on Linux and Solaris, I just symlink the plugin into mozilla/plugins actually ( note: you can only do this in the main mozilla directory, not your .mozilla directory ). How did you install Mozilla, and what version is it? You probably want to download the latest build for FreeBSD from http://www.mozdev.org and install it into your home directory ( or grab the source, but it takes hours on my Ultra 10 so be prepared for a long wait ;) Plugins do not need to be registered in the .rdf files like XPCOM and chrome IIRC. They are just .so files, and Mozilla tries everything it finds in plugins/ ( in fact, in the latest builds I've found that I can drop plugins in and type about:plugins into the URL bar, they are ready for use without a restart! that goes for Linux and Solaris ). Sometimes plugins are .class files, but it works the same way ( flash comes with both a .class and .so ). > > Anyone know of any instructions for installing the plugin anywhere? > Preferably with a high degree of detail and not assuming that we > have some sort of packaged bundle to install. Instructions for > JDK 1.3.1 plugin for Mozilla would the best. In addition, if the > instructions also mention how to uninstall it that would be very > helpful, as I'm sure there will be problems that need fixing. AFAIK, the instructions are the same as the old netscape WRT netscape-style plugins. Just copy or symlink the plugin into the mozilla/plugins directory. HTH, Rob Helmer Namodn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 5:55:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id D3B8237B410 for ; Fri, 24 Aug 2001 05:55:47 -0700 (PDT) (envelope-from cedric@wireless-networks.com) Received: from [200.211.245.140] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 825190; Fri, 24 Aug 2001 05:59:29 -0700 Message-ID: <3B860976.6070305@wireless-networks.com> Date: Fri, 24 Aug 2001 09:59:50 +0200 From: Cedric Berger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3+) Gecko/20010810 X-Accept-Language: en-us MIME-Version: 1.0 To: Mikhail Kruk Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Plugin installation instructions? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Mikhail Kruk wrote: >The funny thing is that I've tried to install jdk1.3 plugin for Mozilla on >Win2k and it never worked... > use JDK 1.3.1 Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 10: 1:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from dwalin.cpnicore.com (dwalin.cpnicore.com [216.95.242.179]) by hub.freebsd.org (Postfix) with ESMTP id B94F937B401 for ; Fri, 24 Aug 2001 10:01:49 -0700 (PDT) (envelope-from tim@ideasandassociates.com) Received: (from uucp@localhost) by dwalin.cpnicore.com (8.11.2/8.11.1) id f7OH1nf37452 for ; Fri, 24 Aug 2001 13:01:49 -0400 (EDT) (envelope-from tim@ideasandassociates.com) Received: from koala.cpnicore.com(192.168.101.71), claiming to be "ideasandassociates.com" via SMTP by dwalin.cpnicore.com, id smtpd7mqrhR; Fri Aug 24 13:01:45 2001 Message-ID: <3B8688AA.6956F1BD@ideasandassociates.com> Date: Fri, 24 Aug 2001 13:02:34 -0400 From: Tim Liddelow Organization: Ideas And Associates X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Contributing... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I'm a senior developer / kernel hacker that would like to help out in the Java porting effort to my OS of choice, FreeBSD. I have recently downloaded the 1.3.1 kit + patchset and have the following questions: For native threads, has there been any consideration on the linuxthreads port ? How is "native" threading implemented in the 1.3.1 kit currently ? I'd like to contribute to making the FreeBSD 1.3.1 kit a port as well. Also, what about HotSpot ? Has anyone attempted to port this to any of the BSDs ? I'm looking at other JITs now. The latest TYA doesn't build under the 1.3.1 kit. I'd also like to help in ensuring that java ports can be built across JDKs (where possible). Thanks Tim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 10: 7: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 5216B37B406 for ; Fri, 24 Aug 2001 10:07:03 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA15825; Fri, 24 Aug 2001 11:07:01 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA23887; Fri, 24 Aug 2001 11:07:01 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15238.35252.932124.125713@nomad.yogotech.com> Date: Fri, 24 Aug 2001 11:07:00 -0600 To: Tim Liddelow Cc: freebsd-java@FreeBSD.ORG Subject: Re: Contributing... In-Reply-To: <3B8688AA.6956F1BD@ideasandassociates.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I'm a senior developer / kernel hacker that would like to help out in > the Java porting effort to my OS of choice, FreeBSD. I have recently > downloaded the 1.3.1 kit + patchset and have the following questions: > > For native threads, has there been any consideration on the linuxthreads > port ? Some, but for legal reasons, the linuxthreads port will not be a default part of the FreeBSD kernel, and there is potential GPL contamination if we use it for the JDK. > How is "native" threading implemented in the 1.3.1 kit currently > ? It's linked against FreeBSD threaded library, libc_r. > I'd like to contribute to making the FreeBSD 1.3.1 kit a port as > well. Greg has this done, although I don't believe it has been committed. There are still a few minor gotchas that needed to be ironed out after his initial contribution, but I believe he's followed them up with patches to correct it. > Also, what about HotSpot ? Has anyone attempted to port this to any of > the BSDs ? I'm looking at other JITs now. The latest TYA doesn't > build under the 1.3.1 kit. That would be a *great* project to start on, given your experience. No one has (publically) started on HotSpot, so if you could take the time and see what's what, that would be a great help! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 10:29:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id C76D237B414 for ; Fri, 24 Aug 2001 10:29:27 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.118] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15aKlq-0006CI-00; Fri, 24 Aug 2001 11:29:27 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7OHTMX64962; Sat, 25 Aug 2001 02:59:22 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 02:59:21 +0930 From: Greg Lewis To: Tim Liddelow Cc: freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010825025921.A49770@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B8688AA.6956F1BD@ideasandassociates.com>; from tim@ideasandassociates.com on Fri, Aug 24, 2001 at 01:02:34PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 01:02:34PM -0400, Tim Liddelow wrote: > I'm a senior developer / kernel hacker that would like to help out in > the Java porting effort to my OS of choice, FreeBSD. I have recently > downloaded the 1.3.1 kit + patchset and have the following questions: Nate has covered most of the ground on these, but just a little bit from my perspective. Any help would definitely be appreciated, whether from a kernel hacker or from someone who wants to BSD'ify the man pages (we're currently using the Linux man pages unchanged). > For native threads, has there been any consideration on the linuxthreads > port? Yes. The problem is that this adds another dependency to the JDK and presents us with some distribution problems due to its LGPL nature. The gain is that you can utilise multiple CPUs, but this is still at the expense of threads which appear to be quite a bit more "heavyweight" than the native FreeBSD pthreads. > How is "native" threading implemented in the 1.3.1 kit currently? Its currently implemented on top of FreeBSD's native userland pthreads implementation in libc_r. The implementation is not complete (try the native threads java on the Java2D demo for instance) but works for simple examples. Anyone with a bit more pthreads savvy would be a welcome help here. > I'd like to contribute to making the FreeBSD 1.3.1 kit a port as well. See PR ports/29949 :) > Also, what about HotSpot ? Has anyone attempted to port this to any of > the BSDs ? Not that I know of. This would be an excellent project BTW :). Its certainly on the list of things to do, but I was hoping to get native threads and possibly the browser plugin sorted out first. Note that getting native threads working properly may in fact be a prerequisite for HotSpot :). > I'm looking at other JITs now. The latest TYA doesn't > build under the 1.3.1 kit. I _think_ I may have seen some messages related to this on Blackdown's java-linux mailing list. I'll see if I can dig them up. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 12: 7: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id 8AC3337B409 for ; Fri, 24 Aug 2001 12:07:02 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 29568 invoked by uid 1001); 24 Aug 2001 19:09:46 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15238.42617.926667.683393@zircon.zircon.seattle.wa.us> Date: Fri, 24 Aug 2001 12:09:45 -0700 To: freebsd-java@FreeBSD.ORG Subject: Re: Contributing... In-Reply-To: <20010825025921.A49770@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010825025921.A49770@misty.eyesbeyond.com> X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greg Lewis writes: > On Fri, Aug 24, 2001 at 01:02:34PM -0400, Tim Liddelow wrote: > > For native threads, has there been any consideration on the linuxthreads > > port? > > Yes. The problem is that this adds another dependency to the JDK and > presents us with some distribution problems due to its LGPL nature. > The gain is that you can utilise multiple CPUs, but this is still at > the expense of threads which appear to be quite a bit more "heavyweight" > than the native FreeBSD pthreads. Aside from the supposed GPL contamination, linuxthreads are severely broken and are likely to always be severely broken until someone there implements real threads. I have direct experience trying to use both linuxthreads and FreeBSD pthreads and the linux version fails misreably under heavy thread load (say more than 100 threads), whereas FreeBSD threads just keeps on ticking... The basic problem is that the so-called "threads" in linux are just process forks in which forks share memory areas. This is a miserable way to implement threads, but it is also a trivial hack for someone who doesn't want to really do it right. It also works for very simple cases, but again, I have direct experience showing how miserably it fails under load. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 13:14:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 9E31037B407 for ; Fri, 24 Aug 2001 13:14:12 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15aNL9-00016C-00; Fri, 24 Aug 2001 13:14:03 -0700 Date: Fri, 24 Aug 2001 13:14:03 -0700 To: Tim Liddelow Cc: freebsd-java@freebsd.org, Bill Huey Subject: Re: Contributing... Message-ID: <20010824131403.A3036@gnuppy> References: <3B8688AA.6956F1BD@ideasandassociates.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B8688AA.6956F1BD@ideasandassociates.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 01:02:34PM -0400, Tim Liddelow wrote: > For native threads, has there been any consideration on the linuxthreads > port ? How is "native" threading implemented in the 1.3.1 kit currently > ? I'd like to contribute to making the FreeBSD 1.3.1 kit a port as > well. Yes, and I dumped on it in favor of a pthread implementation instead in light of the KSE effort and how LinuxThreading was hacked into the thread creation/destruction glue layer (wierd SIGCHLD stuff, etc...). This is what led to the current track for getting native threads working. > Also, what about HotSpot ? Has anyone attempted to port this to any of > the BSDs ? I'm looking at other JITs now. The latest TYA doesn't > build under the 1.3.1 kit. These are the two biggest items on my list while I'm in between jobs. The order of attack is native threading first and then HotSpot. IMO, both can be worked on simultaneously, but you absolutely have to have the threading solid (green, native) before you can even smoke test HotSpot. So getting HotSpot to compile would likely be the hard limit for progress until the surrounding JVM facilities were to solidify. Both the JVM thread (virtual machine craziness + language runtimes) and HotSpot (C++ based with tricky *everything* that come with JIT compilers cores) systems are non-trivial and it would take at least a number of weeks for an accomplished engineer (IMO) to be comfortable with virtual machine abstractions and do basic work with it. It's sort of the worse of operating systems (VM + threading) plus the worse of optimizating compiler all at once. ;-) > I'd also like to help in ensuring that java ports can be built across > JDKs (where possible). > > Thanks > Tim. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 15:37:52 2001 Delivered-To: freebsd-java@freebsd.org Received: from dwalin.cpnicore.com (dwalin.cpnicore.com [216.95.242.179]) by hub.freebsd.org (Postfix) with ESMTP id 7E27B37B40B for ; Fri, 24 Aug 2001 15:37:48 -0700 (PDT) (envelope-from tim@ideasandassociates.com) Received: (from uucp@localhost) by dwalin.cpnicore.com (8.11.2/8.11.1) id f7OMbkK46960; Fri, 24 Aug 2001 18:37:46 -0400 (EDT) (envelope-from tim@ideasandassociates.com) Received: from koala.cpnicore.com(192.168.101.71), claiming to be "ideasandassociates.com" via SMTP by dwalin.cpnicore.com, id smtpdmYFrDr; Fri Aug 24 18:37:40 2001 Message-ID: <3B86D765.249C2214@ideasandassociates.com> Date: Fri, 24 Aug 2001 18:38:29 -0400 From: Tim Liddelow Organization: Ideas And Associates X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bill Huey Cc: freebsd-java@freebsd.org Subject: Re: Contributing... References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Huey wrote: > > Yes, and I dumped on it in favor of a pthread implementation instead > in light of the KSE effort and how LinuxThreading was hacked into the > thread creation/destruction glue layer (wierd SIGCHLD stuff, etc...). > > This is what led to the current track for getting native threads working. The KSE effort seems promising, but my experience with -current is old now (I haven't toyed with it since pre SMPng days..and I haven't been active on the lists at all), and Julian seems to only be in the initial stages (compilation going but unstable). I wish to focus on contributing to a rock solid, -stable port of the recent JDKs and give FreeBSD the chance to show off its other powers (great VM system, etc) in a Java environment. I can also leverage some work I am doing here in the commercial sector without encumbrance because the result will be utilised by us in production environments (this is probably similar to some others here I hope!). > > Also, what about HotSpot ? Has anyone attempted to port this to any of > > the BSDs ? I'm looking at other JITs now. The latest TYA doesn't > > build under the 1.3.1 kit. > > These are the two biggest items on my list while I'm in between jobs. > > The order of attack is native threading first and then HotSpot. IMO, > both can be worked on simultaneously, but you absolutely have to have > the threading solid (green, native) before you can even smoke test > HotSpot. So getting HotSpot to compile would likely be the hard limit > for progress until the surrounding JVM facilities were to solidify. I have been lightly following the pthread updates; I know a lot of fixes were committed a few months back - how complete now is our pthread support ? I agree with you that native thread support must be done first ... I was hoping however to familiarise myself again with the byte code compiler, then take a look at HotSpot and being to dissect it - but only initially from the point of view of kernel differences between FreeBSD and Linux. > > Both the JVM thread (virtual machine craziness + language runtimes) and > HotSpot (C++ based with tricky *everything* that come with JIT compilers > cores) systems are non-trivial and it would take at least a number of > weeks for an accomplished engineer (IMO) to be comfortable with virtual > machine abstractions and do basic work with it. Sure. But we have to start somewhere. I don't promise to be able to make everything happen - but if we begin, maybe we will gather more interest and hopefully get some momentum going. Usually things don't get done in this space not because of experienced people (to a point!), but usually because of motivational and coordinational factors. Can we get any help from anyone at Sun who did the Linux port of HotSpot ? Nate ? Cheers Tim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 15:44:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 88B2037B406 for ; Fri, 24 Aug 2001 15:44:18 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA29205; Fri, 24 Aug 2001 16:44:14 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id QAA26099; Fri, 24 Aug 2001 16:44:14 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15238.55485.737674.943062@nomad.yogotech.com> Date: Fri, 24 Aug 2001 16:44:13 -0600 To: Tim Liddelow Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... In-Reply-To: <3B86D765.249C2214@ideasandassociates.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > motivational and coordinational factors. Can we get any help from anyone at > Sun who did the Linux port of HotSpot ? Nate ? Does Linux have a port of Hotspot? I wasn't aware that it did. I know that the IBM port has it's own VM, and that in the past they were using a port of the Symantec JIT, which unfortunately is not available to us. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 15:46:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 4253A37B408 for ; Fri, 24 Aug 2001 15:46:22 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15aPiS-0003lh-00; Fri, 24 Aug 2001 15:46:16 -0700 Date: Fri, 24 Aug 2001 15:46:16 -0700 To: Nate Williams Cc: Tim Liddelow , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010824154616.A14475@gnuppy> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> <15238.55485.737674.943062@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15238.55485.737674.943062@nomad.yogotech.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 04:44:13PM -0600, Nate Williams wrote: > Does Linux have a port of Hotspot? I wasn't aware that it did. I > know that the IBM port has it's own VM, and that in the past they were > using a port of the Symantec JIT, which unfortunately is not available > to us. > > Nate Yes, I believe so. Somebody on the list should know for sure. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 15:54:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 12A7C37B403 for ; Fri, 24 Aug 2001 15:54:39 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15aPqW-0003zF-00; Fri, 24 Aug 2001 15:54:36 -0700 Date: Fri, 24 Aug 2001 15:54:36 -0700 To: Tim Liddelow Cc: Bill Huey , freebsd-java@freebsd.org Subject: Re: Contributing... Message-ID: <20010824155436.B14475@gnuppy> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B86D765.249C2214@ideasandassociates.com> User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 06:38:29PM -0400, Tim Liddelow wrote: > powers (great VM system, etc) in a Java environment. I can also leverage some > work I am doing here in the commercial sector without encumbrance because the > result will be utilised by us in production environments (this is probably > similar to some others here I hope!). Just curious, and you can reply privately about this... What kind of work have you done ? ;-) > I have been lightly following the pthread updates; I know a lot of fixes were > committed a few months back - how complete now is our pthread support ? I > agree with you that native thread support must be done first ... I was hoping > however to familiarise myself again with the byte code compiler, then take a > look at HotSpot and being to dissect it - but only initially from the point of > view of kernel differences between FreeBSD and Linux. Try the side effect ridden make system for starters. ;) I'm trying to build it now with native threading enable to see what blows up. yeah, libhpi.so during the green threads build is complaining now not having a whole bunch of pthreads symbols not linked correctly to it. This is silly since it doesn't use pthreads. The logic for this needs to be found and then fixed. Oh boy, I just now realizing how much of the work I did since April is missing in the current tree. :-\ Let's see if I can fix that over the next few days. ;-) > Sure. But we have to start somewhere. I don't promise to be able to make > everything happen - but if we begin, maybe we will gather more interest and > hopefully get some momentum going. Usually things don't get done in this > space not because of experienced people (to a point!), but usually because of > motivational and coordinational factors. Can we get any help from anyone at > Sun who did the Linux port of HotSpot ? Nate ? Yea, we've got some developer support from the Blackdown folks that we haven't exploited yet. We seem to be doing pretty well on our own for the moment and I'm sure we're going to have to talk to them when we do TCK certification. JIT compiler, Motif, pthreads internals is within our group's scope and shouldn't be serious blockage. > Cheers > Tim. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 15:56:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id B4F5C37B403 for ; Fri, 24 Aug 2001 15:56:19 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.97] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aPsA-0002TB-00; Fri, 24 Aug 2001 16:56:19 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7OMuDK82427; Sat, 25 Aug 2001 08:26:13 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 08:26:13 +0930 From: Greg Lewis To: Nate Williams Cc: Tim Liddelow , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010825082612.A80087@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> <15238.55485.737674.943062@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15238.55485.737674.943062@nomad.yogotech.com>; from nate@yogotech.com on Fri, Aug 24, 2001 at 04:44:13PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 04:44:13PM -0600, Nate Williams wrote: > > motivational and coordinational factors. Can we get any help from anyone at > > Sun who did the Linux port of HotSpot ? Nate ? > > Does Linux have a port of Hotspot? I wasn't aware that it did. Sure they do. > ls /usr/packages/linux-sun-jdk13/jre/lib/i386/hotspot/ Xusage.txt libjvm.so The code is in the source base we're using too, and is what I thought would be worth looking at to base the BSD port on. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 16:12: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 0920A37B406 for ; Fri, 24 Aug 2001 16:11:57 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.97] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aQ7G-0005OB-00; Fri, 24 Aug 2001 17:11:55 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7ONBpN82582; Sat, 25 Aug 2001 08:41:51 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 08:41:51 +0930 From: Greg Lewis To: Tim Liddelow Cc: Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010825084151.A82497@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B86D765.249C2214@ideasandassociates.com>; from tim@ideasandassociates.com on Fri, Aug 24, 2001 at 06:38:29PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 06:38:29PM -0400, Tim Liddelow wrote: > Bill Huey wrote: > > Yes, and I dumped on it in favor of a pthread implementation instead > > in light of the KSE effort and how LinuxThreading was hacked into the > > thread creation/destruction glue layer (wierd SIGCHLD stuff, etc...). > > > > This is what led to the current track for getting native threads working. > > The KSE effort seems promising, but my experience with -current is old now (I > haven't toyed with it since pre SMPng days..and I haven't been active on the > lists at all), and Julian seems to only be in the initial stages (compilation > going but unstable). I wish to focus on contributing to a rock solid, -stable > port of the recent JDKs and give FreeBSD the chance to show off its other > powers (great VM system, etc) in a Java environment. I can also leverage some > work I am doing here in the commercial sector without encumbrance because the > result will be utilised by us in production environments (this is probably > similar to some others here I hope!). I agree that -STABLE is definitely what we want to focus on. Apart from the fact that its used in production, -CURRENT is too much of a moving target for the current porting team's resources. > > > Also, what about HotSpot ? Has anyone attempted to port this to any of > > > the BSDs ? I'm looking at other JITs now. The latest TYA doesn't > > > build under the 1.3.1 kit. > > > > These are the two biggest items on my list while I'm in between jobs. > > > > The order of attack is native threading first and then HotSpot. IMO, > > both can be worked on simultaneously, but you absolutely have to have > > the threading solid (green, native) before you can even smoke test > > HotSpot. So getting HotSpot to compile would likely be the hard limit > > for progress until the surrounding JVM facilities were to solidify. > > I have been lightly following the pthread updates; I know a lot of fixes were > committed a few months back - how complete now is our pthread support ? I > agree with you that native thread support must be done first ... I was hoping > however to familiarise myself again with the byte code compiler, then take a > look at HotSpot and being to dissect it - but only initially from the point of > view of kernel differences between FreeBSD and Linux. I think the FreeBSD pthread support is pretty complete. Not only that, but its actively maintained by a number of developers who I've found to be very approachable about any problems and the like. > > Both the JVM thread (virtual machine craziness + language runtimes) and > > HotSpot (C++ based with tricky *everything* that come with JIT compilers > > cores) systems are non-trivial and it would take at least a number of > > weeks for an accomplished engineer (IMO) to be comfortable with virtual > > machine abstractions and do basic work with it. > > Sure. But we have to start somewhere. I don't promise to be able to make > everything happen - but if we begin, maybe we will gather more interest and > hopefully get some momentum going. Usually things don't get done in this > space not because of experienced people (to a point!), but usually because of > motivational and coordinational factors. Can we get any help from anyone at > Sun who did the Linux port of HotSpot ? Nate ? There is no reason one couldn't start straight on HotSpot to at least try and get it compiling. Be sure to have polished up on both your C++ and x86 assembler though :). BTW, no need to promise to get everything happening, there are people ready to help in the porting team :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 16:16:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 0B41537B408 for ; Fri, 24 Aug 2001 16:16:26 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.97] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aQBc-0007Sk-00; Fri, 24 Aug 2001 17:16:25 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7ONGLO82619; Sat, 25 Aug 2001 08:46:21 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 08:46:21 +0930 From: Greg Lewis To: Bill Huey Cc: Tim Liddelow , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010825084621.B82497@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> <20010824155436.B14475@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010824155436.B14475@gnuppy>; from billh@gnuppy.monkey.org on Fri, Aug 24, 2001 at 03:54:36PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 03:54:36PM -0700, Bill Huey wrote: > I'm trying to build it now with native threading enable to see what blows up. > > yeah, libhpi.so during the green threads build is complaining now not having a > whole bunch of pthreads symbols not linked correctly to it. This is silly since > it doesn't use pthreads. The logic for this needs to be found and then fixed. If you're trying to do this with the CVS source you need to do make all first to build the green threads version. You can then build the native threading version with make HPIS=native This is a side effect of how FreeBSD links in the threads library which I couldn't see how to work around this easily. > Oh boy, I just now realizing how much of the work I did since April is missing > in the current tree. :-\ Let's see if I can fix that over the next few days. ;-) Commit away :) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 16:33:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by hub.freebsd.org (Postfix) with ESMTP id 07E0637B406 for ; Fri, 24 Aug 2001 16:33:08 -0700 (PDT) (envelope-from robinson@netrinsics.com) Received: from netrinsics.com ([210.52.155.5] (may be forged)) by neptune.he.net (8.8.6/8.8.2) with ESMTP id QAA25590 for ; Fri, 24 Aug 2001 16:33:12 -0700 Received: (from robinson@localhost) by netrinsics.com (8.11.2/8.11.1) id f7ONXSO07012; Sat, 25 Aug 2001 07:33:28 +0800 (+0800) (envelope-from robinson) Date: Sat, 25 Aug 2001 07:33:26 +0800 From: Michael Robinson To: Nate Williams Cc: Tim Liddelow , Bill Huey , freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010825073326.A6667@elephant.netrinsics.com> Mail-Followup-To: Nate Williams , Tim Liddelow , Bill Huey , freebsd-java@outbound.FreeBSD.ORG References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010824131403.A3036@gnuppy> <3B86D765.249C2214@ideasandassociates.com> <15238.55485.737674.943062@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15238.55485.737674.943062@nomad.yogotech.com>; from nate@yogotech.com on Fri, Aug 24, 2001 at 04:44:13PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 04:44:13PM -0600, Nate Williams wrote: > > motivational and coordinational factors. Can we get any help from anyone at > > Sun who did the Linux port of HotSpot ? Nate ? > > Does Linux have a port of Hotspot? Not only does Linux have a port of Hotspot, it even runs under the FreeBSD Linux ABI layer, as long as you don't use threads or anything OS-sensitive. And it screams. I posted benchmark information on the free-bsd java list in February. Maybe you missed it: http://www.netrinsics.com/Tower/Tower.html -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 18:59:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 79B6F37B405 for ; Fri, 24 Aug 2001 18:59:35 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id VAA09241 for ; Fri, 24 Aug 2001 21:59:33 -0400 Date: Fri, 24 Aug 2001 21:59:33 -0400 (EDT) From: Mikhail Kruk To: Subject: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OK, I've got a lot of questions :) I've just build jdk1.3.1 and it went very smoothly (after I realized that Greg is not kidding about using gtar, not tar :) Thank you guys! * plugin Now it would be very good to see plugin working... I don't know if Greg had any success with making Mozilla use it, but I'd be happy to at least try beta testing it. Are the patches for plugin available somewhere? * awt exception -- most likely caused by the font message in the beginning It's probably not important but I decided to let you know anyways. The strange thing is that it doesn't happen consistently, i.e. it happens a lot, but in different parts of code and apparently only once per program execution. I'll try to put jdk1.3.1 in our semi-production non-critical enironment and will see how it behaves... Warning: Cannot convert string "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct java.awt.AWTException: cannot open XIM at sun.awt.motif.X11InputMethod.(X11InputMethod.java:148) at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescriptor.java:78) at sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:691) at sun.awt.im.InputContext.getInputMethod(InputContext.java:641) at sun.awt.im.InputContext.dispatchEvent(InputContext.java:193) at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177) at java.awt.Component.dispatchEventImpl(Component.java:2527) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) Exception occurred during event dispatching: java.lang.IllegalArgumentException: Font at sun.awt.font.NativeFontWrapper.drawStringIntDiscreteRaster(Native Method) at sun.java2d.loops.ICRDrawStringRasterContext.invoke(TextRendering.java :326) at sun.awt.image.BufferedImageGraphics2D.drawString(BufferedImageGraphics2D.java:1125) at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2245) at scorch.gui.PlayersPanel.drawNames(PlayersListControl.java:144) at scorch.gui.PlayersPanel.paint(PlayersListControl.java:106) at sun.awt.RepaintArea.paint(RepaintArea.java:298) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:349) at java.awt.Component.dispatchEventImpl(Component.java:2663) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 19:33:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id C0EB937B406 for ; Fri, 24 Aug 2001 19:33:43 -0700 (PDT) (envelope-from k.shudou@aist.go.jp) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f7P2XgN26573 for ; Sat, 25 Aug 2001 11:33:42 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail12.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f7P2Xf611690 for ; Sat, 25 Aug 2001 11:33:41 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail12.aist.go.jp with ESMTP id f7P2XeQ15779 for ; Sat, 25 Aug 2001 11:33:40 +0900 (JST) env-from (k.shudou@aist.go.jp) To: freebsd-java@FreeBSD.ORG Subject: Re: Contributing... From: shudo@computer.org In-Reply-To: <20010825082612.A80087@misty.eyesbeyond.com> References: <3B86D765.249C2214@ideasandassociates.com> <15238.55485.737674.943062@nomad.yogotech.com> <20010825082612.A80087@misty.eyesbeyond.com> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010825113450W.shudoh@aist.go.jp> Date: Sat, 25 Aug 2001 11:34:50 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 11 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Does Linux have a port of Hotspot? I wasn't aware that it did. > > Sure they do. Additionally, J2SDK 1.4.0 Beta for Linux have Client VM no longer like J2SDK for Windows. Note that J2SDK 1.3.1 still keeps Client VM. I guess the source code for 1.4.0 does not have Client VM too. Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 19:34:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id CC3B237B401 for ; Fri, 24 Aug 2001 19:34:30 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.231] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15aTHI-0000xi-00; Fri, 24 Aug 2001 20:34:28 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7P2YNl18861; Sat, 25 Aug 2001 12:04:23 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 12:04:23 +0930 From: Greg Lewis To: Mikhail Kruk Cc: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: <20010825120422.A18841@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Fri, Aug 24, 2001 at 09:59:33PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 09:59:33PM -0400, Mikhail Kruk wrote: > OK, I've got a lot of questions :) > I've just build jdk1.3.1 and it went very smoothly (after I realized that > Greg is not kidding about using gtar, not tar :) I think pax also works, but the standard FreeBSD tar definitely won't :). > * plugin > Now it would be very good to see plugin working... I don't know if Greg > had any success with making Mozilla use it, but I'd be happy to at least > try beta testing it. Are the patches for plugin available somewhere? The plugin is a work in progress. Hopefully there will be some patches available soon. > * awt exception -- most likely caused by the font message in the beginning > It's probably not important but I decided to let you know anyways. The > strange thing is that it doesn't happen consistently, i.e. it happens a > lot, but in different parts of code and apparently only once per program > execution. > > I'll try to put jdk1.3.1 in our semi-production non-critical enironment > and will see how it behaves... > > Warning: Cannot convert string > "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct We probably need some fine tuning of the font files. At the moment they are just copies of the Linux versions. Thanks for the error message, there may be something deeper happening, although I've not seen this myself. I think Fuyuhiko Maruyama has seen some problems with XIM though, maybe he would like to comment? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 19:57:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 417D837B403 for ; Fri, 24 Aug 2001 19:57:44 -0700 (PDT) (envelope-from k.shudou@aist.go.jp) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f7P2vhN27237 for ; Sat, 25 Aug 2001 11:57:43 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f7P2vg212439 for ; Sat, 25 Aug 2001 11:57:42 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail11.aist.go.jp with ESMTP id f7P2vfM29295 for ; Sat, 25 Aug 2001 11:57:42 +0900 (JST) env-from (k.shudou@aist.go.jp) To: freebsd-java@freebsd.org Subject: Re: Contributing... From: shudo@computer.org In-Reply-To: <3B8688AA.6956F1BD@ideasandassociates.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010825115852W.shudoh@aist.go.jp> Date: Sat, 25 Aug 2001 11:58:52 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 36 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Tim Liddelow wrote: > I'm a senior developer / kernel hacker that would like to help out in > the Java porting effort to my OS of choice, FreeBSD. I have been afraid of contamination of excellent developers involved in FreeBSD/Java. As we know, once a hacker sign Sun proprietary licenses, she/he can contribute for GNU Java projects no longer. If one has signed SCSL or the old JDK license to download the JDK source code, she/he is not allowed to contribute to the GCJ project, Classpath, and Mauve. Contribution to other many Java projects like Japhar, SableVM, AromaVM and kissme may be prohibited. I have no idea about such a prohibision of contribution. But the contamination by proprietary licenses is a real problem. In Linux case, binary distributions of the recent JDKs are released by the Blackdown porting team. So even if the Blackdown team is polluted, users can use the binary releases without the pollution. But, the current efforts around FreeBSD/Java is polluting many excellent hackers with Sun's licenses. I have been anxious for this situation. I hope binary distributions strongly in order to prevent the spread of the contamination. I hope you examine the contamination if you download the source code. Any idea? Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 20:18:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 22F9037B406 for ; Fri, 24 Aug 2001 20:18:36 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id XAA09361; Fri, 24 Aug 2001 23:18:29 -0400 Date: Fri, 24 Aug 2001 23:18:29 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis Cc: Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010825120422.A18841@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > I'll try to put jdk1.3.1 in our semi-production non-critical enironment > > and will see how it behaves... > > > > Warning: Cannot convert string > > "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct > > We probably need some fine tuning of the font files. At the moment they > are just copies of the Linux versions. I've tried to use src/solaris/classes/sun/awt/motif/font.properties.linux instead of the one that was installed in the budil/bsd-i386 and all the font startup error messages went away. However the XIM exception is still there and I'm pretty sure now that it's not font-related. The question I forgot to ask in prev. message was about OpenJIT... is it supposed to work with jdk1.3.1? For some reason it says that OpenJIT is not found ajd jdk1.1.8 when started in the same environment seems to use it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 20:37:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id B6B0E37B409 for ; Fri, 24 Aug 2001 20:37:28 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.231] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aUGE-0007Mu-00; Fri, 24 Aug 2001 21:37:27 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7P3bM622899; Sat, 25 Aug 2001 13:07:22 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 13:07:22 +0930 From: Greg Lewis To: Mikhail Kruk Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: <20010825130721.A20869@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Fri, Aug 24, 2001 at 11:18:29PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Aug 24, 2001 at 11:18:29PM -0400, Mikhail Kruk wrote: > > > I'll try to put jdk1.3.1 in our semi-production non-critical enironment > > > and will see how it behaves... > > > > > > Warning: Cannot convert string > > > "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct > > > > We probably need some fine tuning of the font files. At the moment they > > are just copies of the Linux versions. > > I've tried to use src/solaris/classes/sun/awt/motif/font.properties.linux > instead of the one that was installed in the budil/bsd-i386 and all the > font startup error messages went away. However the XIM exception is still > there and I'm pretty sure now that it's not font-related. Funny, I thought I just copied the Linux version. Maybe I copied the 1.2.2 BSD font.properties file, not sure. There is a known problem using XIM in some circumstances. Do you have any non-english language enabled? There is a known problem with the patches and XIM and Japanese. > The question I forgot to ask in prev. message was about OpenJIT... > is it supposed to work with jdk1.3.1? For some reason it says that OpenJIT > is not found ajd jdk1.1.8 when started in the same environment seems to > use it. There may be some problems using plugins. Recent messages to the java-linux list indicated the Sun JDK didn't allow other plugins anymore. The Blackdown JDK does though, so its certainly something that could be enabled. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 21: 4:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 270B837B407 for ; Fri, 24 Aug 2001 21:04:30 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id AAA09844; Sat, 25 Aug 2001 00:04:25 -0400 Date: Sat, 25 Aug 2001 00:04:25 -0400 (EDT) From: Mikhail Kruk To: Greg Lewis Cc: Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010825130721.A20869@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > I've tried to use src/solaris/classes/sun/awt/motif/font.properties.linux > > instead of the one that was installed in the budil/bsd-i386 and all the > > font startup error messages went away. However the XIM exception is still > > there and I'm pretty sure now that it's not font-related. > > Funny, I thought I just copied the Linux version. Maybe I copied the > 1.2.2 BSD font.properties file, not sure. Most likely you used ./j2sdk1.3.1/src/solaris/classes/sun/awt/motif/font.properties.bsd However the X installation on thix box is 2 years old I've done a lot of things to it... horrible things... so I'm not sure if it can surve as a reference. > There is a known problem using XIM in some circumstances. Do you have > any non-english language enabled? There is a known problem with the > patches and XIM and Japanese. Exactly. unsetenv LANG did it. (I had ru_RU.KOI8-R) Sorry about that: now I remember this discussion on the list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 21:13: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id 3DC0837B408 for ; Fri, 24 Aug 2001 21:12:58 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.231] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aUoa-0004oI-00; Fri, 24 Aug 2001 22:12:57 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7P4Cre28058; Sat, 25 Aug 2001 13:42:53 +0930 (CST) (envelope-from glewis) Date: Sat, 25 Aug 2001 13:42:53 +0930 From: Greg Lewis To: Mikhail Kruk Cc: freebsd-java@freebsd.org Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: <20010825134253.A27162@misty.eyesbeyond.com> References: <20010825130721.A20869@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from meshko@cs.brandeis.edu on Sat, Aug 25, 2001 at 12:04:25AM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 25, 2001 at 12:04:25AM -0400, Mikhail Kruk wrote: > > > I've tried to use src/solaris/classes/sun/awt/motif/font.properties.linux > > > instead of the one that was installed in the budil/bsd-i386 and all the > > > font startup error messages went away. However the XIM exception is still > > > there and I'm pretty sure now that it's not font-related. > > > > Funny, I thought I just copied the Linux version. Maybe I copied the > > 1.2.2 BSD font.properties file, not sure. > > Most likely you used > ./j2sdk1.3.1/src/solaris/classes/sun/awt/motif/font.properties.bsd Well, yes, but my comment was about whether I copied that directly from font.properties.linux (which is what I thought I did) or from the font.properties.bsd that we used in the JDK 1.2.2 port :). > > There is a known problem using XIM in some circumstances. Do you have > > any non-english language enabled? There is a known problem with the > > patches and XIM and Japanese. > > Exactly. unsetenv LANG did it. (I had ru_RU.KOI8-R) Sorry about that: now > I remember this discussion on the list. Ok, that explains it. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 21:19:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id 9B3C637B407 for ; Fri, 24 Aug 2001 21:19:32 -0700 (PDT) (envelope-from k.shudou@aist.go.jp) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f7P4JVN29416 for ; Sat, 25 Aug 2001 13:19:31 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail11.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f7P4JUU15085 for ; Sat, 25 Aug 2001 13:19:30 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail11.aist.go.jp with ESMTP id f7P4JTw04639 for ; Sat, 25 Aug 2001 13:19:29 +0900 (JST) env-from (k.shudou@aist.go.jp) To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT From: shudo@computer.org In-Reply-To: <20010825130721.A20869@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010825132040X.shudoh@aist.go.jp> Date: Sat, 25 Aug 2001 13:20:40 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 24 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > The question I forgot to ask in prev. message was about OpenJIT... > > is it supposed to work with jdk1.3.1? For some reason it says that OpenJIT > > is not found ajd jdk1.1.8 when started in the same environment seems to > > use it. > > There may be some problems using plugins. Recent messages to the > java-linux list indicated the Sun JDK didn't allow other plugins > anymore. The Blackdown JDK does though, so its certainly something > that could be enabled. http://www.mail-archive.com/java-linux@java.blackdown.org/msg14312.html I have experienced the problem. Sun JDK 1.3.1 for Linux does not load JIT compilers even JAVA_COMPILER set as the name of JIT. Whereas Blackdown JDK 1.3.1 loads the JITs. Of course, FreeBSD JDK 1.3.1 should be fixed to be able to load JITs. If a JIT works with JDK 1.2.2, it can also work well with JDK 1.3.1. There are a few compilation problems related to include path, but it is easy to fix them. I have already fixed a JIT to work with JDK 1.3.1. Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Aug 24 23:31:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id D58FA37B409 for ; Fri, 24 Aug 2001 23:31:37 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 3F0B65E332; Fri, 24 Aug 2001 23:33:04 -0700 (PDT) Date: Fri, 24 Aug 2001 23:33:04 -0700 From: Arun Sharma To: java@freebsd.org Subject: JVM and native threads Message-ID: <20010824233304.A32099@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org All, I saw some discussion about Java VMs and native threads on this list. I'd request you folks to take a look at NGPT, if you haven't already. http://www.freebsd.org/cgi/ports.cgi?query=ngpt&stype=all It's working well for me in porting Intel ORP (a BSD licensed Java VM) to FreeBSD. Also, I wish more time was spent on free Java VMs :) -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 2:41:56 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id A8D9937B408 for ; Sat, 25 Aug 2001 02:41:52 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id SAA29067; Sat, 25 Aug 2001 18:41:18 +0900 (JST) Date: Sat, 25 Aug 2001 18:43:43 +0900 Message-ID: <55wv3sqxtc.wl@tripper.private> From: Fuyuhiko Maruyama To: Mikhail Kruk Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010825130721.A20869@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Sat, 25 Aug 2001 13:07:22 +0930, Greg Lewis wrote: > There is a known problem using XIM in some circumstances. Do you have > any non-english language enabled? There is a known problem with the > patches and XIM and Japanese. I think Mikhail's problem isn't the same problem as I met, but now I can reproduce the problem Mikhail met (java.awt.AWTException: cannot open XIM), so I will try to fix it as soon as possible. > On Fri, Aug 24, 2001 at 11:18:29PM -0400, Mikhail Kruk wrote: > > The question I forgot to ask in prev. message was about OpenJIT... > > is it supposed to work with jdk1.3.1? For some reason it says that OpenJIT > > is not found ajd jdk1.1.8 when started in the same environment seems to > > use it. I'm also a developer of OpenJIT, so I have a question about this. Do you have OpenJIT compiled against jdk1.3.1? The problem may be because you set the environment variable JAVA_COMPILER=OpenJIT but there is not OpenJIT for jdk1.3.1. In fact, I haven't try OpenJIT with jdk1.3.1 on FreeBSD yet. It is known to work with jdk1.3.x in Solaris and Linux, once you have OpenJIT compiled against jdk1.3.1, it will work for FreeBSD's jdk1.3.1 as well. To do so, it may need some patch for OpenJIT to fix the path problem: the name of directory includes JDK's system dependent header files are changed from jdk1.2.2-patchset10 days, it is used to {include,include-old}/freebsd, but now it is {include,include-old}/bsd. Making symbolic link /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd and /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd may also fix the problem. By the way, I'm implementing OpenJIT2, the brandnew OpenJIT designed from scratch and the work is stopping because I'm now working to port J2SDK 1.3.1 for *BSD. Which is more important do you think? To complete OpenJIT2? or to port J2SDK 1.3.1 first? ;-) -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 3:37:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 675BD37B412 for ; Sat, 25 Aug 2001 03:37:17 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id TAA00777; Sat, 25 Aug 2001 19:37:11 +0900 (JST) Date: Sat, 25 Aug 2001 19:39:36 +0900 Message-ID: <55vgjcqv87.wl@tripper.private> From: Fuyuhiko Maruyama To: Arun Sharma Cc: java@freebsd.org Subject: Re: JVM and native threads In-Reply-To: <20010824233304.A32099@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, At Fri, 24 Aug 2001 23:33:04 -0700, Arun Sharma wrote: > > I saw some discussion about Java VMs and native threads on this list. > I'd request you folks to take a look at NGPT, if you haven't already. > > http://www.freebsd.org/cgi/ports.cgi?query=ngpt&stype=all > > It's working well for me in porting Intel ORP (a BSD licensed > Java VM) to FreeBSD. I don't have any attention to attack you, but I don't think NGPT is the solution for us. There are some reasons: 1. NGPT is simply a user space implementation of multi-threading on non-SMP system. In this case, there's no difference between FreeBSD's own pthread (libc_r) and NGPT from the scalability's point of view. FreeBSD already has an almost completed implementation of user space multi-threading. I think it is more important to polish libc_r than to introduce another wheel (NGPT). I know you have met some problem related to signal handling on libc_r's multi-threading and it is still exist. Using NGPT is just a workaround for you, isn't it? 2. NGPT is partially an rfork based multi-threading on SMP system, it makes ugly processes in process table and outputs of ps is also ugly (This may be fixed only in Linux environment with NGPT's kernel patch). On the other hand, FreeBSD folks have a plan to introduce a brandnew multi-threading mechanism (KSE based one). I think KSE based threading is the way to go. It will have much better scalability than rfork based threading. Of course, there is no working code yet is a serious weak point of KSE based threading. 3. NGPT is LGPLed, so it will never be imported in the FreeBSD's base tree because FreeBSD has its own implementation of multi-threading. In fact, the most important point to think how to use threading library for native threads is derived from the fact that Java VM uses some facility not covered by POSIX thread (e.g. Java VM needs to know the machine state of all threads such as stack pointer, program counter and another registers). Therefore, the implementation of Java native threads used to depend on the threading library so much. We should have APIs relative to multi-threading not covered by POSIX. Otherwise, the binary release of JDK may have versioning problem (binaries are needed to specify the environment like, for 4.4-RELEASE, for 4.4-STABLE-20011224 or for 5.0-CURRENT-20010825... it's really a nightmare). -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 9:40:32 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id CCA6B37B40A for ; Sat, 25 Aug 2001 09:40:28 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.137] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15agTz-0004rk-00; Sat, 25 Aug 2001 10:40:27 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7PGeNg53871; Sun, 26 Aug 2001 02:10:23 +0930 (CST) (envelope-from glewis) Date: Sun, 26 Aug 2001 02:10:23 +0930 From: Greg Lewis To: shudo@computer.org Cc: freebsd-java@FreeBSD.ORG Subject: Re: Contributing... Message-ID: <20010826021022.A43240@misty.eyesbeyond.com> References: <3B8688AA.6956F1BD@ideasandassociates.com> <20010825115852W.shudoh@aist.go.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010825115852W.shudoh@aist.go.jp>; from shudo@computer.org on Sat, Aug 25, 2001 at 11:58:52AM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 25, 2001 at 11:58:52AM +0900, shudo@computer.org wrote: > I have been afraid of contamination of excellent > developers involved in FreeBSD/Java. As we know, once a > hacker sign Sun proprietary licenses, she/he can > contribute for GNU Java projects no longer. If one has > signed SCSL or the old JDK license to download the JDK > source code, she/he is not allowed to contribute to the > GCJ project, Classpath, and Mauve. Contribution to other > many Java projects like Japhar, SableVM, AromaVM and > kissme may be prohibited. As usual, I am not a lawyer, so I can't say things for sure, but I don't see why this is the case. I mean no disrespect, but why can one not contribute to GNU projects? There is certainly nothing in the SCSL which says I can't work on any other Java projects like that. Is it GNU policy? Take the Classpath project for example. There is precisely one modified .java file and one new .java file in the 1.3.1 patches. Not only do the .java files not need modification but they come with the binary distribution in src.jar anyway, so any contamination is then surely felt by anyone using the binary distribution too. The situation for Mauve is even better, as Sun do not release the TCK under the SCSL license (so I don't see how there can be contamination for another test suite). As for GCJ and the other VMs, that may be a different story, although since there is nothing in the SCSL which prevents me from working on them I would have thought it was fine, as long as I obviously don't use any copyrighted code from Sun. > I have no idea about such a prohibision of > contribution. But the contamination by proprietary > licenses is a real problem. > > In Linux case, binary distributions of the recent JDKs > are released by the Blackdown porting team. So even if > the Blackdown team is polluted, users can use the binary > releases without the pollution. > > But, the current efforts around FreeBSD/Java is > polluting many excellent hackers with Sun's licenses. I > have been anxious for this situation. I hope binary > distributions strongly in order to prevent the spread of > the contamination. > > I hope you examine the contamination if you download the > source code. Two other comments I have about this: 1. For production work, especially work involving features in 1.2 and 1.3 and 1.4 especially, there is no free alternative that is currently up to scratch. Obviously this will not always be the case, but from a pragmatic point of view, a working Sun JDK is probably easier to achieve than bringing everything else up to the current standard. 2. All of these free alternatives must be tested and compared against the standard, which is currently the Sun JDK, whether we like that or not. Without a working JDK on FreeBSD how to we measure how well the free projects work? How can I say "My new JIT works as well as HotSpot" if HotSpot itself does not work? Do not get me wrong, I'd love to see more people working on the free Java projects, more power to them. I'd also love to see Sun release the JDK under a BSD license (or even GPL). But mostly I want a working JDK on FreeBSD so I can do my Java work there, and the path of least resistance seems to be porting the Sun JDK. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 9:56:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 373B637B40B for ; Sat, 25 Aug 2001 09:56:20 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id A7F525E332; Sat, 25 Aug 2001 09:57:46 -0700 (PDT) Date: Sat, 25 Aug 2001 09:57:46 -0700 From: Arun Sharma To: Fuyuhiko Maruyama Cc: java@freebsd.org Subject: Re: JVM and native threads Message-ID: <20010825095746.A1015@sharmas.dhs.org> References: <20010824233304.A32099@sharmas.dhs.org> <55vgjcqv87.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <55vgjcqv87.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Sat, Aug 25, 2001 at 07:39:36PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 25, 2001 at 07:39:36PM +0900, Fuyuhiko Maruyama wrote: > 1. NGPT is simply a user space implementation of multi-threading > on non-SMP system. In this case, there's no difference between > FreeBSD's own pthread (libc_r) and NGPT from the scalability's point NGPT is the only way I can have one process use multiple CPUs on my SMP system (apart from the linuxthreads). > 2. NGPT is partially an rfork based multi-threading on SMP system, it > makes ugly processes in process table and outputs of ps is also > ugly (This may be fixed only in Linux environment with NGPT's kernel > patch). On the other hand, FreeBSD folks have a plan to introduce a > brandnew multi-threading mechanism (KSE based one). I think KSE > based threading is the way to go. It will have much better > scalability than rfork based threading. Of course, there is no > working code yet is a serious weak point of KSE based threading. Exactly. I remember going to a meeting to discuss KSE in Foster City, about two years ago. KSE sounds cool, but till it happens, NGPT might be a good work around. > 3. NGPT is LGPLed, so it will never be imported in the FreeBSD's > base tree because FreeBSD has its own implementation of > multi-threading. Sure, NGPT will remain a port. But Java is not going into the base system either. License objections if any, should be towards the JDK. I think the NGPT license is relatively benign :) > > In fact, the most important point to think how to use threading > library for native threads is derived from the fact that Java VM uses > some facility not covered by POSIX thread (e.g. Java VM needs to know > the machine state of all threads such as stack pointer, program > counter and another registers). Therefore, the implementation of Java > native threads used to depend on the threading library so much. > I'm sure, these kinds of issues can be solved without much difficulty - just add a couple of _np calls to the package. I'm not saying that NGPT is an end-all solution to world hunger. Just that it may be worth looking at in the short term, until we have a production quality SMP capable thread package in the base. That said, I've run into a couple of problems: - Linux focus of the NGPT project. I suspect that this is more of a corporate thing, but they haven't shown any eagerness to merge my patches in. - Low quality of the 1.0.1 release. I spent a day fixing it, sent patches to the developer list, without a response. http://www-124.ibm.com/pipermail/pthreads-devel/2001-August/thread.html I'll update the NGPT port to 1.0.1 soon. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 11: 3:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 5374D37B405 for ; Sat, 25 Aug 2001 11:03:42 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id OAA11394; Sat, 25 Aug 2001 14:03:29 -0400 Date: Sat, 25 Aug 2001 14:03:29 -0400 (EDT) From: Mikhail Kruk To: Fuyuhiko Maruyama Cc: Greg Lewis , Subject: native jdk1.3.1 OpenJIT In-Reply-To: <55wv3sqxtc.wl@tripper.private> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > In fact, I haven't try OpenJIT with jdk1.3.1 on FreeBSD yet. It is > known to work with jdk1.3.x in Solaris and Linux, once you have > OpenJIT compiled against jdk1.3.1, it will work for FreeBSD's jdk1.3.1 > as well. To do so, it may need some patch for OpenJIT to fix the path > problem: the name of directory includes JDK's system dependent header > files are changed from jdk1.2.2-patchset10 days, it is used to > {include,include-old}/freebsd, but now it is > {include,include-old}/bsd. > > Making symbolic link > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > and > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > may also fix the problem. I've made the links, but when I try to compile openjit it complains that jni.h is not found. In file included from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:24: jni.h: No such file or directory In file included from /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:25, from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/jvm.h:17: jni.h: No such file or directory In file included from /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/interpreter.h:28, from OpenJIT.h:57, from api.c:52: /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include-old/dll.h:14: jni.h: No such file or directory etc I've tried forcing it to -I/home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include and /home/meshko/tmp/java/j2sdk1.3.1/build/bsd-i386/include/bsd (which it didnot before) but then I got this: api.c: In function `OpenJIT_PCinCompiledCode': api.c:473: `uint_t' undeclared (first use in this function) api.c:473: (Each undeclared identifier is reported only once api.c:473: for each function it appears in.) api.c:473: syntax error before `pc' api.c:473: syntax error before `mb' api.c:474: warning: control reaches end of non-void function gmake[1]: *** [obj/api.o] ïÛÉÂËÁ 1 Well, I gotta run now. Hopefully I will get back to this later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 11:36: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id CE00737B409 for ; Sat, 25 Aug 2001 11:36:03 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.137] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15aiHp-0003eD-00; Sat, 25 Aug 2001 12:36:02 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7PIZwI90413; Sun, 26 Aug 2001 04:05:58 +0930 (CST) (envelope-from glewis) Date: Sun, 26 Aug 2001 04:05:57 +0930 From: Greg Lewis To: Fuyuhiko Maruyama Cc: freebsd-java@freebsd.org Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: <20010826040557.A87652@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> <55wv3sqxtc.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <55wv3sqxtc.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Sat, Aug 25, 2001 at 06:43:43PM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 25, 2001 at 06:43:43PM +0900, Fuyuhiko Maruyama wrote: > In fact, I haven't try OpenJIT with jdk1.3.1 on FreeBSD yet. It is > known to work with jdk1.3.x in Solaris and Linux, once you have > OpenJIT compiled against jdk1.3.1, it will work for FreeBSD's jdk1.3.1 > as well. To do so, it may need some patch for OpenJIT to fix the path > problem: the name of directory includes JDK's system dependent header > files are changed from jdk1.2.2-patchset10 days, it is used to > {include,include-old}/freebsd, but now it is > {include,include-old}/bsd. > > Making symbolic link > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > and > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > may also fix the problem. Will it be easier if the build installs these include files in freebsd rather than bsd? I think maybe that is more correct, what are your thoughts? > By the way, I'm implementing OpenJIT2, the brandnew OpenJIT designed from > scratch and the work is stopping because I'm now working to port J2SDK > 1.3.1 for *BSD. Which is more important do you think? To complete > OpenJIT2? or to port J2SDK 1.3.1 first? Only you can answer this :). From the BSD point of view I appreciate the work you do on both, but naturally am biased towards the JDK :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 13:26:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id AD1FA37B401 for ; Sat, 25 Aug 2001 13:26:14 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id FAA18021; Sun, 26 Aug 2001 05:26:04 +0900 (JST) Date: Sun, 26 Aug 2001 05:28:27 +0900 Message-ID: <55u1yvrij8.wl@tripper.private> From: Fuyuhiko Maruyama To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT In-Reply-To: <20010826040557.A87652@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> <55wv3sqxtc.wl@tripper.private> <20010826040557.A87652@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.1 (anise) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Sun, 26 Aug 2001 04:05:57 +0930, Greg Lewis wrote: > > > > Making symbolic link > > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > > and > > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > > may also fix the problem. > > Will it be easier if the build installs these include files in freebsd > rather than bsd? I think maybe that is more correct, what are your > thoughts? I think installing those files in freebsd is not so good because our J2SDK tree isn't only for FreeBSD but also for NetBSD and OpenBSD even if currently it runs only on FreeBSD. From OpenJIT's point of view, porting OpenJIT for NetBSD or OpenBSD may be easy as it already supports Linux and FreeBSD by almost same codes, so placing those include files in `bsd' is not so bad -- it simplifies our configure scripts. The problem caused by the directory name can be solved by modifing OpenJIT's configure scripts and it is quite easy and already finished. Bad news is OpenJIT doesn't work with our current J2SDK 1.3.1 at this time. > > By the way, I'm implementing OpenJIT2, the brandnew OpenJIT designed from > > scratch and the work is stopping because I'm now working to port J2SDK > > 1.3.1 for *BSD. Which is more important do you think? To complete > > OpenJIT2? or to port J2SDK 1.3.1 first? > > Only you can answer this :). From the BSD point of view I appreciate > the work you do on both, but naturally am biased towards the JDK :). Just a joke! I will do both work. ;-) -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 13:51:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from yez.hyperreal.org (dsl027-182-008.sfo1.dsl.speakeasy.net [216.27.182.8]) by hub.freebsd.org (Postfix) with SMTP id B6BB637B403 for ; Sat, 25 Aug 2001 13:51:14 -0700 (PDT) (envelope-from brian@collab.net) Received: (qmail 47988 invoked by uid 1000); 25 Aug 2001 20:51:11 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 25 Aug 2001 20:51:11 -0000 Date: Sat, 25 Aug 2001 13:51:11 -0700 (PDT) From: Brian Behlendorf X-X-Sender: To: Cc: Subject: Re: Contributing... In-Reply-To: <20010825115852W.shudoh@aist.go.jp> Message-ID: <20010825135036.I42682-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 25 Aug 2001 shudo@computer.org wrote: > I have been afraid of contamination of excellent developers involved > in FreeBSD/Java. As we know, once a hacker sign Sun proprietary > licenses, she/he can contribute for GNU Java projects no longer. If > one has signed SCSL or the old JDK license to download the JDK source > code, she/he is not allowed to contribute to the GCJ project, > Classpath, and Mauve. Contribution to other many Java projects like > Japhar, SableVM, AromaVM and kissme may be prohibited. Note that this is a GNU policy, not a Sun policy (AFAIK). Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Aug 25 19: 9:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 6406F37B401 for ; Sat, 25 Aug 2001 19:09:33 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.8.177] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15apMe-0003lQ-00; Sat, 25 Aug 2001 20:09:28 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f7Q29On08085; Sun, 26 Aug 2001 11:39:24 +0930 (CST) (envelope-from glewis) Date: Sun, 26 Aug 2001 11:39:23 +0930 From: Greg Lewis To: Fuyuhiko Maruyama Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT Message-ID: <20010826113923.A8065@misty.eyesbeyond.com> References: <20010825120422.A18841@misty.eyesbeyond.com> <20010825130721.A20869@misty.eyesbeyond.com> <55wv3sqxtc.wl@tripper.private> <20010826040557.A87652@misty.eyesbeyond.com> <55u1yvrij8.wl@tripper.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <55u1yvrij8.wl@tripper.private>; from fuyuhik8@is.titech.ac.jp on Sun, Aug 26, 2001 at 05:28:27AM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 26, 2001 at 05:28:27AM +0900, Fuyuhiko Maruyama wrote: > At Sun, 26 Aug 2001 04:05:57 +0930, > Greg Lewis wrote: > > > > > > Making symbolic link > > > /usr/local/jdk1.3.1/include/freebsd->/usr/local/jdk1.3.1/include/bsd > > > and > > > /usr/local/jdk1.3.1/include-old/freebsd->/usr/local/jdk1.3.1/include-old/bsd > > > may also fix the problem. > > > > Will it be easier if the build installs these include files in freebsd > > rather than bsd? I think maybe that is more correct, what are your > > thoughts? > I think installing those files in freebsd is not so good because our > J2SDK tree isn't only for FreeBSD but also for NetBSD and OpenBSD even > if currently it runs only on FreeBSD. From OpenJIT's point of view, > porting OpenJIT for NetBSD or OpenBSD may be easy as it already > supports Linux and FreeBSD by almost same codes, so placing those > include files in `bsd' is not so bad -- it simplifies our configure > scripts. The problem caused by the directory name can be solved by > modifing OpenJIT's configure scripts and it is quite easy and already > finished. Well, what I actually meant was what if we install the includes in freebsd on FreeBSD, netbsd on NetBSD, etc. I.e. we use the `actual' platform rather than the meta bsd platform name as the directory name. That strikes me as maybe being the scheme that some code assumes. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message