From owner-freebsd-java Mon Jul 16 21:24:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 3EB1B37B401 for ; Mon, 16 Jul 2001 21:24:13 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.198] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15MMP0-0003Up-00 for freebsd-java@freebsd.org; Mon, 16 Jul 2001 22:24:07 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6H4O2X11527 for freebsd-java@freebsd.org; Tue, 17 Jul 2001 13:54:02 +0930 (CST) (envelope-from glewis) Date: Tue, 17 Jul 2001 13:54:02 +0930 From: Greg Lewis To: freebsd-java@freebsd.org Subject: 1.3.1 Developer Only patchset. Message-ID: <20010717135402.A11500@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 put up a developer only set of patches for 1.3.1 for download. Just in case it isn't clear, these _do_not_ build a working JDK. This is for people who are interested in helping with the porting or just curious. The included instructions assume you know what you're doing and are reasonably cursory for this reason. Just in case you're thinking about making a port for these patches (Ernst, I'm talking to you :), don't. Please wait until we have something which more closely resembles a working JDK. Here is the ANNOUNCEMENT file included with the patches, with all the details on where to get things. Let me know of any problems with downloading and the like. I know there are lots of problems with the patches at this point, so don't tell me about them unless you also have a patch :). ----------------------------------------------------------------------- This is a set of DEVELOPER source code patches for the JDK 1.3.1 source. These patches are unofficial and no abuse should be directed towards the BSD Java porting team for them. This patchset can be gotten from http://www.eyesbeyond.com/freebsddom/java/jdk13.html (this message is included in the downloadable tar ball as the file ANNOUNCEMENT). Please read the file THANKS for attributions. Cursory instructions to build the JDK are contained in the file BUILD. You should also examine the ChangeLog for the changes that have been made so far, and notes on them. THIS DOES NOT BUILD A WORKING JDK. If you want a working JDK 1.3.1 then this is not the package for you. This is for people who want to help get the JDK 1.3.1 working natively on FreeBSD. Here is a brief list of some of the problems and projects to be tackled: 1. The javadoc executable produced by the build core dumps when trying to produce documentation during the release images build. 2. The appletviewer executable produced by the build core dumps when tested on any of the example applets. 3. The java executable produced by the build core dumps on any of the JFC examples. It will work on a text example though. 4. The native threads implementation is not complete for anything except BSD/OS. It is not connected to the build at this time. 5. There has been no work on HotSpot. 6. The patchset is completely untested on NetBSD, OpenBSD and BSD/OS. NetBSD is the most likely to be "working". Please at least post to freebsd-java if you intend to work on any major piece of functionality so that this work can be coordinated. It would also be a good idea to contact java-port@yogotech.com. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 17 0: 3:47 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 45C0937B407 for ; Tue, 17 Jul 2001 00:03:44 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f6H6wo700822; Tue, 17 Jul 2001 08:58:50 +0200 (CEST) (envelope-from ernst) Date: Tue, 17 Jul 2001 08:58:50 +0200 From: Ernst de Haan To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 Developer Only patchset. Message-ID: <20010717085850.A813@c104187.upc-c.chello.nl> References: <20010717135402.A11500@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: <20010717135402.A11500@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Jul 17, 2001 at 01:54:02PM +0930 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 > Just in case you're thinking about making a port for these patches > (Ernst, I'm talking to you :), don't. Please wait until we have > something which more closely resembles a working JDK. Greg, I wouldn't *dare* ! ;-P :-) /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 Tue Jul 17 3:53:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtpout.kingston-internet.net (smtpout.kingston-internet.co.uk [212.50.161.69]) by hub.freebsd.org (Postfix) with ESMTP id 3D38C37B406 for ; Tue, 17 Jul 2001 03:53:20 -0700 (PDT) (envelope-from stuartb@abs.karoo.co.uk) Received: from dialup14.alderaan.kingston-internet.net ([212.50.166.14] helo=beehive) by smtpout.kingston-internet.net with esmtp (Exim 2.12 #8) id 15MSTY-0000XM-00 for freebsd-java@freebsd.org; Tue, 17 Jul 2001 11:53:13 +0100 Received: from 192.168.0.102 by beehive ([192.168.0.100] running VPOP3) with SMTP for ; Tue, 17 Jul 2001 11:59:25 +0100 From: "Stu Brown" To: Subject: Porting JDK1.2.2 to OpenBSD Date: Tue, 17 Jul 2001 11:52:15 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Server: VPOP3 V1.3.0c - Registered to: n0Pk1LL4 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 there, I've been trying to port jdk1.2.2 to OpenBSD, without much success. I heard that there's some new patches available which might work, would you be able to help me out? Thanks Stu Brown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 17 8:36:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 26F6B37B406 for ; Tue, 17 Jul 2001 08:36:33 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.228] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15MWtj-0008Ib-00; Tue, 17 Jul 2001 09:36:32 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6HFaRJ14279; Wed, 18 Jul 2001 01:06:27 +0930 (CST) (envelope-from glewis) Date: Wed, 18 Jul 2001 01:06:27 +0930 From: Greg Lewis To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 Developer Only patchset. Message-ID: <20010718010626.A14255@misty.eyesbeyond.com> References: <20010717135402.A11500@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: <20010717135402.A11500@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Jul 17, 2001 at 01:54:02PM +0930 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 Following up my own post... You need a recent version of GNU tar to unpack the 1.3.1 sources you download from Sun. In my experience the stock FreeBSD tar won't work (yes, I know its a version of GNU tar, but its an older one). The gtar port should do the trick. I'll update the build instructions to reflect this. Someone might want to try pax and see if that works too :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 17 9: 1:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from rjspc.genrad.com (x100.genrad.co.uk [195.99.3.100]) by hub.freebsd.org (Postfix) with ESMTP id 6A0CB37B406 for ; Tue, 17 Jul 2001 09:01:46 -0700 (PDT) (envelope-from rjs@rjspc.genrad.com) Received: (from rjs@localhost) by rjspc.genrad.com (8.11.3/8.11.3) id f6HG7kA01688; Tue, 17 Jul 2001 17:07:47 +0100 (BST) (envelope-from rjs) Date: Tue, 17 Jul 2001 17:07:47 +0100 (BST) Message-Id: <200107171607.f6HG7kA01688@rjspc.genrad.com> From: Robert Swindells To: glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG In-reply-to: <20010718010626.A14255@misty.eyesbeyond.com> (message from Greg Lewis on Wed, 18 Jul 2001 01:06:27 +0930) Subject: Re: 1.3.1 Developer Only patchset. Reply-To: rjs@fdy2.demon.co.uk 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 wrote: >You need a recent version of GNU tar to unpack the 1.3.1 sources you >download from Sun. In my experience the stock FreeBSD tar won't work >(yes, I know its a version of GNU tar, but its an older one). The >gtar port should do the trick. I'll update the build instructions to >reflect this. >Someone might want to try pax and see if that works too :). It works. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 17 9:13: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id E924237B406 for ; Tue, 17 Jul 2001 09:12:57 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.228] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15MXSy-0003Tb-00; Tue, 17 Jul 2001 10:12:57 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6HGCqZ21855; Wed, 18 Jul 2001 01:42:52 +0930 (CST) (envelope-from glewis) Date: Wed, 18 Jul 2001 01:42:52 +0930 From: Greg Lewis To: rjs@fdy2.demon.co.uk Cc: freebsd-java@FreeBSD.ORG Subject: Re: 1.3.1 Developer Only patchset. Message-ID: <20010718014251.A20815@misty.eyesbeyond.com> References: <20010718010626.A14255@misty.eyesbeyond.com> <200107171607.f6HG7kA01688@rjspc.genrad.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107171607.f6HG7kA01688@rjspc.genrad.com>; from rjs@genrad.co.uk on Tue, Jul 17, 2001 at 05:07:47PM +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 On Tue, Jul 17, 2001 at 05:07:47PM +0100, Robert Swindells wrote: > Greg Lewis wrote: > >You need a recent version of GNU tar to unpack the 1.3.1 sources you > >download from Sun. In my experience the stock FreeBSD tar won't work > >(yes, I know its a version of GNU tar, but its an older one). The > >gtar port should do the trick. I'll update the build instructions to > >reflect this. > > >Someone might want to try pax and see if that works too :). > > It works. Thanks for testing that Robert! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 17 11:27: 4 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 47B3837B409 for ; Tue, 17 Jul 2001 11:27:00 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from tripper.private.is.titech.ac.jp by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id DAA22371; Wed, 18 Jul 2001 03:26:47 +0900 (JST) Date: Wed, 18 Jul 2001 03:28:31 +0900 Message-ID: <551ynffm0g.wl@tripper.private.is.titech.ac.jp> From: Fuyuhiko Maruyama To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: 1.3.1 Developer Only patchset. In-Reply-To: <20010717135402.A11500@misty.eyesbeyond.com> References: <20010717135402.A11500@misty.eyesbeyond.com> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.1 (patch 14) (Cuyahoga Valley) 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, I have fixed a problem #1 in the list of ANNOUNCEMENT so that javadoc can work now -- `gmake images' also works. The problem is caused by function VerifyClass's name conflict, renaming the one solves core dumps. Patch is attached at this mail. In fact, this problem is related to class verifier so I think this is also one of the reason for appletviewer's problem but I don't check it at this time. Finally, thanks all people working for the 1.3.1 porting efforts! -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. --- j2sdk1.3.1/src/share/javavm/include/interpreter.h.patches-1 Wed Jan 31 22:43:55 2001 +++ j2sdk1.3.1/src/share/javavm/include/interpreter.h Wed Jul 18 02:50:52 2001 @@ -607,7 +607,11 @@ void printStackTrace(struct execenv *ee, int limit, void (*f)(char *, ...)); /* From check_class.c */ +#if 0 /* original */ void VerifyClass(ClassClass *cb); +#else +void VerifyClass_internal(ClassClass *cb); +#endif /* from classload.c */ void FreeClass(ClassClass *cb); --- j2sdk1.3.1/src/share/javavm/runtime/classresolver.c.patches-1 Tue Jul 17 19:38:14 2001 +++ j2sdk1.3.1/src/share/javavm/runtime/classresolver.c Wed Jul 18 02:48:21 2001 @@ -1476,7 +1476,11 @@ } if (NEED_VERIFY(cbLoader(cb) != NULL)) { +#if 0 /* original */ VerifyClass(cb); +#else + VerifyClass_internal(cb); +#endif if (exceptionOccurred(ee)) { goto unlock; } --- j2sdk1.3.1/src/share/javavm/runtime/check_class.c.patches-1 Wed Jan 31 22:44:00 2001 +++ j2sdk1.3.1/src/share/javavm/runtime/check_class.c Wed Jul 18 02:47:34 2001 @@ -38,7 +38,11 @@ } void +#if 0 /* original */ VerifyClass(ClassClass *cb) +#else +VerifyClass_internal(ClassClass *cb) +#endif { int i; if (CCIs(cb, Verified)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 17 13:29:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id C27D137B401 for ; Tue, 17 Jul 2001 13:29:34 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.237] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15MbT8-0006an-00; Tue, 17 Jul 2001 14:29:32 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6HKSKW46432; Wed, 18 Jul 2001 05:58:20 +0930 (CST) (envelope-from glewis) Date: Wed, 18 Jul 2001 05:58:10 +0930 From: Greg Lewis To: Stu Brown Cc: freebsd-java@FreeBSD.ORG Subject: Re: Porting JDK1.2.2 to OpenBSD Message-ID: <20010718055810.A46398@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 stuartb@abs.karoo.co.uk on Tue, Jul 17, 2001 at 11:52:15AM +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 On Tue, Jul 17, 2001 at 11:52:15AM +0100, Stu Brown wrote: > I've been trying to port jdk1.2.2 to OpenBSD, without much success. I heard > that there's some new patches available which might work, would you be able > to help me out? There aren't new patches at this time, however there is work underway on porting to to OpenBSD by the BSD Java porting team. Progress has been made, but the code still dies in the JVM creation function at the moment. If you're interested in helping and have time available to do so then let me know. Hopefully I'll get time for a new 1.2.2 patchset within the next couple of weeks. This will at least contain some progress on an OpenBSD port. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 17 13:52:20 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 0AC2537B406 for ; Tue, 17 Jul 2001 13:52:15 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id BA7D6275B7; Tue, 17 Jul 2001 22:52:13 +0200 (CEST) Subject: Re: Porting JDK1.2.2 to OpenBSD To: glewis@eyesbeyond.com (Greg Lewis) Date: Tue, 17 Jul 2001 22:52:13 +0200 (CEST) Cc: stuartb@abs.karoo.co.uk (Stu Brown), freebsd-java@FreeBSD.ORG In-Reply-To: <20010718055810.A46398@misty.eyesbeyond.com> from "Greg Lewis" at Jul 18, 2001 05:58:10 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: <20010717205213.BA7D6275B7@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 Greg This is not a notice of volounteerring. My environment is a FreeBSD-current machine (as of July 12th). Now, I have followed all the instructions in the BUILD files etc. It is not the first time I build a JDK, I did successfully build JDK 1.2.2 before. For the record, I have been porting GNU software to various platforms since 1991. Yet, I seem to miss a point here. I get all sorts of hurdles, which I try to cleanly fix. Right now, I don't get sun/javac/javac to build, because libjava.so accesses all sorts of mathematical functions (jtan, jsin, etc). I see that javac depends on -ljvm, -ljava and -lverify. Which of these ones should be linked against -lfdlibm ? My guess is it has to be -ljvm. My source tree is rooted in /tmp/j2sdk. Th reason why I get this is probably because I call the build process with the following line: setenv LIBj /tmp/j2sdk/j2sdk1.3.1/build/build-i386/lib gmake -C j2sdk1.3.1/make LINK.c=gcc LINK.cc=g++ \ OTHER_LDLIBS="-L$LIBj -L$LIBj/classic -L$LIBj/green_threads" If I don't overwrite LINK.c, I don't get too far, in fact, the very first shared library does not get build, since LINK.c, as it is pre-defined, and called via the Makefile, tries to build an executable. I am aware of the fact that if I redefine OTHER_LDLIBS, most targets are affected by it. Did You run into this situation so far ? Maybe You can direct me into the rightr direction. Thanks ! Ciao, derweil, -- Carlo > > On Tue, Jul 17, 2001 at 11:52:15AM +0100, Stu Brown wrote: > > I've been trying to port jdk1.2.2 to OpenBSD, without much success. I heard > > that there's some new patches available which might work, would you be able > > to help me out? > > There aren't new patches at this time, however there is work underway on > porting to to OpenBSD by the BSD Java porting team. Progress has been > made, but the code still dies in the JVM creation function at the moment. > > If you're interested in helping and have time available to do so then > let me know. > > Hopefully I'll get time for a new 1.2.2 patchset within the next couple > of weeks. This will at least contain some progress on an OpenBSD port. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Mobile: 0419 868 494 > 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 > -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia Comment: requires PGP version 2.6 or later mQENAzQOnboAAAEIALnpSTc5y2g21CIX5V9bMqxsixXpQZDyR3hGosGsPC8S0WXP xfJiXAw/Zq3sPZhmiGZWq8/QP/d69tm4ert6rGB5Vuue96beKei4iemBF1ZpTU9G 3/tLsL63GHTLDAf+jqNcp1xM5ORF+qkFqP1ForzED06ba7HPQomzD0uhPbczHr9p vLAsczg1Wm9op06m7VTgK/hEvOJZPdxu0i2mFC2KVmRJr/KLcjs4CyEt6S8cJk8F Q3vDOOvwa+j/AHkvejBYokNYbfA+5D6bbYmNl5GxsKmY/qxamEaPWy7lZ87v8J0E CwnfzxiFPlguHCAux3u388EWqGWyAqOeROtKqL0ABRG0JkNhcmxvIERhcG9yIDxk YXBvckBuZXNzaWUuaW5mLmV0aHouY2g+iQEVAwUQNA6dugKjnkTrSqi9AQH3kAf/ T7dFJl6YQbUKSwTxNX/rERk2W010j2fH1bkbgOOfEfvQ6LiIRJYmJQCgeehP8kEU V66vSPboGsjl+8wU5CdlmoPsf7xw94Dh+uI48/CKLFAu+Rq2lonQOuzSvEDGg1P0 pU4UyCdj5i+y89jS+wBNA/yG6wsEGWMVltWqB2UKSg1n3YbA8JqaO2x9JLtIzfoB J/jhl5Jl4kX8OJzX1XVlJTxYdu9PTwaTZP68EG6NNfEyCn5Fp6iSDtUrLms1pI5i 3U282bIhBgVXr19hVS2olqTUHGdgcRqFjcnrARIBKoB9stuKj1+ORqlDiLwJfvg5 6JNSM4HFutk/iftKBqYXhQ== =XYxp -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 17 20:59:11 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 3CCD737B407 for ; Tue, 17 Jul 2001 20:59:04 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id E644F275B7; Wed, 18 Jul 2001 05:59:02 +0200 (CEST) Subject: Re: Porting JDK1.2.2 to OpenBSD To: carlo@vis.ethz.ch (Carlo Dapor) Date: Wed, 18 Jul 2001 05:59:02 +0200 (CEST) Cc: glewis@eyesbeyond.com (Greg Lewis), stuartb@abs.karoo.co.uk (Stu Brown), freebsd-java@FreeBSD.ORG In-Reply-To: <20010717205213.BA7D6275B7@naboo.ethz.ch> from "Carlo Dapor" at Jul 17, 2001 10:52:13 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010718035902.E644F275B7@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 Responding to my own posting, I feel a little embarassed to reveal this. It turns out that if You invoke gmake in the directory, the behaviour is slightly different than using the '-C' option. However, I have been able to run the complete build in the end. Now, I use gmake LINK.c=gcc LINK.cc=g++ only. There are two hick-ups, though. For some weird reason, the file invokers.c never gets build. I remember that I never was able to have it gene- rated through the Linux binaries, not even with jdk 1.2.2. I cheat by compiling InvokerGen.java, run java InvokerGen < invokers.txt > invokers.c with the native BSD (1.2.2) binaries ; and when I successfully built everything, I re-generate invokers.c, only this time with the brand-new binaries. No difference between the two, not even their md5 checksums. The second hickup is the fact that some libraries (X11, verify, dps, etc) are not found. Here the solution was to symbolically link the offending libs into $LIBj/classic, since this directory is referred to in link-edit steps every- where. Not a clean way, but it works for now. Thank You, Greg and Bill, and all the others. The BSD world is coming back to the top. Ciao, derweil, -- Carlo > > Dear Greg > > > This is not a notice of volounteerring. > My environment is a FreeBSD-current machine (as of July 12th). > > Now, I have followed all the instructions in the BUILD files etc. > It is not the first time I build a JDK, I did successfully build JDK 1.2.2 > before. For the record, I have been porting GNU software to various > platforms since 1991. Yet, I seem to miss a point here. > > I get all sorts of hurdles, which I try to cleanly fix. > Right now, I don't get sun/javac/javac to build, because libjava.so > accesses all sorts of mathematical functions (jtan, jsin, etc). > > I see that javac depends on -ljvm, -ljava and -lverify. > > Which of these ones should be linked against -lfdlibm ? > My guess is it has to be -ljvm. > > My source tree is rooted in /tmp/j2sdk. > > Th reason why I get this is probably because I call the build process with > the following line: > > setenv LIBj /tmp/j2sdk/j2sdk1.3.1/build/build-i386/lib > gmake -C j2sdk1.3.1/make LINK.c=gcc LINK.cc=g++ \ > OTHER_LDLIBS="-L$LIBj -L$LIBj/classic -L$LIBj/green_threads" > > If I don't overwrite LINK.c, I don't get too far, in fact, the very first > shared library does not get build, since LINK.c, as it is pre-defined, and > called via the Makefile, tries to build an executable. > > I am aware of the fact that if I redefine OTHER_LDLIBS, most targets are > affected by it. > > Did You run into this situation so far ? Maybe You can direct me into the > rightr direction. > > Thanks ! > > Ciao, derweil, > -- > Carlo > > > > > On Tue, Jul 17, 2001 at 11:52:15AM +0100, Stu Brown wrote: > > > I've been trying to port jdk1.2.2 to OpenBSD, without much success. I heard > > > that there's some new patches available which might work, would you be able > > > to help me out? > > > > There aren't new patches at this time, however there is work underway on > > porting to to OpenBSD by the BSD Java porting team. Progress has been > > made, but the code still dies in the JVM creation function at the moment. > > > > If you're interested in helping and have time available to do so then > > let me know. > > > > Hopefully I'll get time for a new 1.2.2 patchset within the next couple > > of weeks. This will at least contain some progress on an OpenBSD port. > > > > -- > > Greg Lewis Email : glewis@eyesbeyond.com > > Eyes Beyond Mobile: 0419 868 494 > > 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 > > > > > -- > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: 2.6.3ia > Comment: requires PGP version 2.6 or later > > mQENAzQOnboAAAEIALnpSTc5y2g21CIX5V9bMqxsixXpQZDyR3hGosGsPC8S0WXP > xfJiXAw/Zq3sPZhmiGZWq8/QP/d69tm4ert6rGB5Vuue96beKei4iemBF1ZpTU9G > 3/tLsL63GHTLDAf+jqNcp1xM5ORF+qkFqP1ForzED06ba7HPQomzD0uhPbczHr9p > vLAsczg1Wm9op06m7VTgK/hEvOJZPdxu0i2mFC2KVmRJr/KLcjs4CyEt6S8cJk8F > Q3vDOOvwa+j/AHkvejBYokNYbfA+5D6bbYmNl5GxsKmY/qxamEaPWy7lZ87v8J0E > CwnfzxiFPlguHCAux3u388EWqGWyAqOeROtKqL0ABRG0JkNhcmxvIERhcG9yIDxk > YXBvckBuZXNzaWUuaW5mLmV0aHouY2g+iQEVAwUQNA6dugKjnkTrSqi9AQH3kAf/ > T7dFJl6YQbUKSwTxNX/rERk2W010j2fH1bkbgOOfEfvQ6LiIRJYmJQCgeehP8kEU > V66vSPboGsjl+8wU5CdlmoPsf7xw94Dh+uI48/CKLFAu+Rq2lonQOuzSvEDGg1P0 > pU4UyCdj5i+y89jS+wBNA/yG6wsEGWMVltWqB2UKSg1n3YbA8JqaO2x9JLtIzfoB > J/jhl5Jl4kX8OJzX1XVlJTxYdu9PTwaTZP68EG6NNfEyCn5Fp6iSDtUrLms1pI5i > 3U282bIhBgVXr19hVS2olqTUHGdgcRqFjcnrARIBKoB9stuKj1+ORqlDiLwJfvg5 > 6JNSM4HFutk/iftKBqYXhQ== > =XYxp > -----END PGP PUBLIC KEY BLOCK----- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia Comment: requires PGP version 2.6 or later mQENAzQOnboAAAEIALnpSTc5y2g21CIX5V9bMqxsixXpQZDyR3hGosGsPC8S0WXP xfJiXAw/Zq3sPZhmiGZWq8/QP/d69tm4ert6rGB5Vuue96beKei4iemBF1ZpTU9G 3/tLsL63GHTLDAf+jqNcp1xM5ORF+qkFqP1ForzED06ba7HPQomzD0uhPbczHr9p vLAsczg1Wm9op06m7VTgK/hEvOJZPdxu0i2mFC2KVmRJr/KLcjs4CyEt6S8cJk8F Q3vDOOvwa+j/AHkvejBYokNYbfA+5D6bbYmNl5GxsKmY/qxamEaPWy7lZ87v8J0E CwnfzxiFPlguHCAux3u388EWqGWyAqOeROtKqL0ABRG0JkNhcmxvIERhcG9yIDxk YXBvckBuZXNzaWUuaW5mLmV0aHouY2g+iQEVAwUQNA6dugKjnkTrSqi9AQH3kAf/ T7dFJl6YQbUKSwTxNX/rERk2W010j2fH1bkbgOOfEfvQ6LiIRJYmJQCgeehP8kEU V66vSPboGsjl+8wU5CdlmoPsf7xw94Dh+uI48/CKLFAu+Rq2lonQOuzSvEDGg1P0 pU4UyCdj5i+y89jS+wBNA/yG6wsEGWMVltWqB2UKSg1n3YbA8JqaO2x9JLtIzfoB J/jhl5Jl4kX8OJzX1XVlJTxYdu9PTwaTZP68EG6NNfEyCn5Fp6iSDtUrLms1pI5i 3U282bIhBgVXr19hVS2olqTUHGdgcRqFjcnrARIBKoB9stuKj1+ORqlDiLwJfvg5 6JNSM4HFutk/iftKBqYXhQ== =XYxp -----END PGP PUBLIC KEY BLOCK----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 17 21:36: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 7582C37B403 for ; Tue, 17 Jul 2001 21:35:58 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.209] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15Mj40-0002ZI-00; Tue, 17 Jul 2001 22:35:56 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6I4Zod47837; Wed, 18 Jul 2001 14:05:50 +0930 (CST) (envelope-from glewis) Date: Wed, 18 Jul 2001 14:05:50 +0930 From: Greg Lewis To: Carlo Dapor Cc: Greg Lewis , Stu Brown , freebsd-java@FreeBSD.ORG Subject: Re: Porting JDK1.2.2 to OpenBSD Message-ID: <20010718140550.A47815@misty.eyesbeyond.com> References: <20010717205213.BA7D6275B7@naboo.ethz.ch> <20010718035902.E644F275B7@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: <20010718035902.E644F275B7@naboo.ethz.ch>; from carlo@vis.ethz.ch on Wed, Jul 18, 2001 at 05:59:02AM +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 Hi Carlo, On Wed, Jul 18, 2001 at 05:59:02AM +0200, Carlo Dapor wrote: > Now, I use > gmake LINK.c=gcc LINK.cc=g++ > only. There are two hick-ups, though. I'm not sure why you need the LINK definitions. Can you maybe post the errors you experience when you don't use them? I haven't had to do this. > For some weird reason, the file > invokers.c never gets build. I remember that I never was able to have it gene- > rated through the Linux binaries, not even with jdk 1.2.2. I cheat by compiling > InvokerGen.java, run java InvokerGen < invokers.txt > invokers.c with the native > BSD (1.2.2) binaries ; and when I successfully built everything, I re-generate > invokers.c, only this time with the brand-new binaries. > No difference between the two, not even their md5 checksums. Right, I recall that some people had this problem with the 1.2.2, but I don't think anybody tracked down why it happened to some and not others. > The second hickup is the fact that some libraries (X11, verify, dps, etc) are > not found. > Here the solution was to symbolically link the offending libs into > $LIBj/classic, since this directory is referred to in link-edit steps every- > where. Not a clean way, but it works for now. This shouldn't be the case. All the X libraries are looked for in OPENWINHOME (I think -- haven't check this 100%). So if you have that specified correctly you should be ok. Same with dps. libverify is something that is built along the way... -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 17 22: 1:14 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 37A1037B401 for ; Tue, 17 Jul 2001 22:01:11 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 15MjSF-0008AJ-00; Tue, 17 Jul 2001 22:00:59 -0700 Date: Tue, 17 Jul 2001 22:00:59 -0700 To: Carlo Dapor Cc: Greg Lewis , Stu Brown , freebsd-java@FreeBSD.ORG, Bill Huey Subject: Re: Porting JDK1.2.2 to OpenBSD Message-ID: <20010717220059.A30515@gnuppy> References: <20010718035902.E644F275B7@naboo.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010718035902.E644F275B7@naboo.ethz.ch> User-Agent: Mutt/1.3.18i 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 Wed, Jul 18, 2001 at 05:59:02AM +0200, Carlo Dapor wrote: > Thank You, Greg and Bill, and all the others. > The BSD world is coming back to the top. > > Ciao, derweil, > -- > Carlo Hehe. Yeah, we're both hitting the native threading stuff at the same time in our development process. [Some Status] Most recently I've been trying to figure out why appletviewer hangs when I run it. Some investigation reveals that the main applet thread is being created but some how doesn't wake up the thread group abstraction (also a thread used for applet thread management) that's suppose to block on it until the applet context gets properly created. I've been relooking at the first pass of the native threading code #ifdef block choices to make sure that wait-queue notifications, joining, etc... are done correctly. It could also be some kind of Sun/AWT glue layer problem (+ security layer ?), but I won't know until I do some investigation. We'll see. Last weekend I was trying to get my half corrupted FreeBSD -current installation back running again but replaced a new version of -stable. The intention here was to work with Greg on native threading and X related problems (taking a break from my own BSD/OS port), but machine maintenance ended up sucking the entire weekend, so I didn't get a chance to work on anything. :-\ Oh, well. I'm going to investigation why the applet threading crap is blowing it tonight for a little while, but trying to get my brain to context switch into threading + Swing/Sun crap is a bit difficult after getting a bit overloaded with gdb internals. Fortunately that got fixed by another super senior engineer in our group and I don't have to deal with that any more. ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 18 1:29:52 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 B7C2B37B406 for ; Wed, 18 Jul 2001 01:29:49 -0700 (PDT) (envelope-from robinson@netrinsics.com) Received: from netrinsics.com ([202.108.25.148] (may be forged)) by neptune.he.net (8.8.6/8.8.2) with ESMTP id BAA11985 for ; Wed, 18 Jul 2001 01:29:44 -0700 Received: (from robinson@localhost) by netrinsics.com (8.11.2/8.11.1) id f6I8Tif05950; Wed, 18 Jul 2001 16:29:44 +0800 (+0800) (envelope-from robinson) Date: Wed, 18 Jul 2001 16:29:44 +0800 (+0800) From: Michael Robinson Message-Id: <200107180829.f6I8Tif05950@netrinsics.com> To: java@freebsd.org Subject: Re: JDK2 binary update Cc: nate@yoyotech.com 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, 26 Mar 2001, Nate Williams wrote: >On the positive side, I think we're all in agreement as to the intent of >the license. They understand what we're trying to do, and I understand >their concern about the big 900 lb. gorilla in the Pacific Northest (or >companies that might act like it). > >However, when you stick lawyers in the mix, they want to make sure >things are sufficiently broad and vague as to make sure they have all >rights to take away my rights, as well as making me liable for anything >that may go wrong. That was before said 900 lb. gorilla decided to support .NET on FreeBSD and eliminate Java support from Windows XP. If the lawyers can't see the writing on the wall by now, perhaps you could try escalating the issue to someone who can. -Michael Robinson P.S. Why is it, exactly, that Blackdown is not able to release a "Blackdown FreeBSD JDK" binary? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 18 1:34:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id F05B837B403 for ; Wed, 18 Jul 2001 01:34:44 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jul 2001 10:34:43 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D97@l04.research.kpn.com> From: "Koster, K.J." To: 'Greg Lewis' , Carlo Dapor Cc: Stu Brown , freebsd-java@FreeBSD.ORG Subject: RE: Porting JDK1.2.2 to OpenBSD Date: Wed, 18 Jul 2001 10:34:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-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 Dear All, > > > For some weird reason, the file > > invokers.c never gets build. I remember that I never was > able to have it gene- > > rated through the Linux binaries, not even with jdk 1.2.2. > I cheat by compiling > > InvokerGen.java, run java InvokerGen < invokers.txt > > invokers.c with the native > > BSD (1.2.2) binaries ; and when I successfully built > everything, I re-generate > > invokers.c, only this time with the brand-new binaries. > > No difference between the two, not even their md5 checksums. > > Right, I recall that some people had this problem with the > 1.2.2, but I > don't think anybody tracked down why it happened to some and > not others. > I think someone did, but my memory fails me. If you dig in the mailing list archives I'm sure you will find more detail. I think that the problem was tracked down to a problem with the Linuxulator reworking certain paths as it loads libraries. My workaround was just to copy the relevant files into /tmp and making invokers.c there. Somewhere in between I reshuffeld the disk layout on my box, and the problem went away. Something about my old home dirs being a symlink to /usr/home and my new home directories having their own partition. 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 From owner-freebsd-java Wed Jul 18 1:59: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtpout.kingston-internet.net (smtpout.kingston-internet.co.uk [212.50.161.69]) by hub.freebsd.org (Postfix) with ESMTP id 273FC37B406 for ; Wed, 18 Jul 2001 01:59:03 -0700 (PDT) (envelope-from stuartb@abs.karoo.co.uk) Received: from dialup217.fawlty.kingston-internet.net ([212.50.169.217] helo=beehive) by smtpout.kingston-internet.net with esmtp (Exim 2.12 #8) id 15MnAb-0000gB-00; Wed, 18 Jul 2001 09:59:01 +0100 Received: from 192.168.0.102 by beehive ([192.168.0.100] running VPOP3) with SMTP; Wed, 18 Jul 2001 10:05:11 +0100 From: "Stu Brown" To: "Koster, K.J." , Subject: RE: Porting JDK1.2.2 to OpenBSD Date: Wed, 18 Jul 2001 09:58:08 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9D98@l04.research.kpn.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Server: VPOP3 V1.3.0c - Registered to: n0Pk1LL4 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 Kees Jan. Thanks for the mail. I'm not sure whether to continue trying to get jdk1.2.2 built natively on OpenBSD to be honest, at the moment I've got the blackdown jdk running and that seems to be working ok. I must admit I haven't benchmarked it against anything else, so I'm not sure how much of a performance/stability hit it's taking by running a non-native version...if it is a lot it may be worth continuing my efforts. However I don't have much time to spend on this (not at work anyway), as I need the jdk for a web server serving servlets via tomcat/apache. Do you have any thoughts on this? Thanks. Stu > -----Original Message----- > From: Koster, K.J. [mailto:K.J.Koster@kpn.com] > Sent: 18 July 2001 10:46 > To: 'Stu Brown' > Subject: RE: Porting JDK1.2.2 to OpenBSD > > > Dear Stu, > > Welcome aboard. :) I mailed you from home earlier to point you here. I did > not have much time to make it a proper mail, sorry about that. > > Please don't let the "freebsd" part of the mailing list's name scare you > away. ;) We have many people aboard, including people from NetBSD, OpenBSD > and BSD/OS. One big happy family. > > Nate Williams runs another mailing list that is specifically for > people who > are actively contributing to the porting effort. If you are serious about > banging your head into this wall for a bit talk to Nate about CVS access. > > 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 From owner-freebsd-java Wed Jul 18 2:21:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 1784F37B403 for ; Wed, 18 Jul 2001 02:21:08 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jul 2001 11:21:07 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D9C@l04.research.kpn.com> From: "Koster, K.J." To: 'Stu Brown' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Porting JDK1.2.2 to OpenBSD Date: Wed, 18 Jul 2001 11:20:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-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 Dear Stu, > > Thanks for the mail. I'm not sure whether to continue trying > to get jdk1.2.2 > built natively on OpenBSD to be honest, at the moment I've > got the blackdown jdk running and that seems to be working ok. > On OpenBSD? Ok. I thought that there was not JDK at all on OpenBSD. > > I must admit I haven't > benchmarked it against anything else, so I'm not sure how much of a > performance/stability hit it's taking by running a non-native > version...if it is a lot it may be worth continuing my efforts. > To be honest, I doubt that the performance hit is terrible. A native JDK has the large advantage that you can actually fix bugs when you run into a showstopper, which is a lot harder with the Blackdown JDK. > > However I don't have much > time to spend on this (not at work anyway), as I need the jdk > for a web > server serving servlets via tomcat/apache. Do you have any > thoughts on this? > I used the native FreeBSD JDK for the longest time, although I switched to the linux-1.3.1 JDK when I switched from Tomcat to Orion. At the end of the day, performance is decided by my ADSL uplink and not by the speed of the JDK. YMMV. 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 From owner-freebsd-java Wed Jul 18 2:31:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtpout.kingston-internet.net (smtpout.kingston-internet.co.uk [212.50.161.69]) by hub.freebsd.org (Postfix) with ESMTP id 7A58337B403 for ; Wed, 18 Jul 2001 02:31:53 -0700 (PDT) (envelope-from stuartb@abs.karoo.co.uk) Received: from dialup217.fawlty.kingston-internet.net ([212.50.169.217] helo=beehive) by smtpout.kingston-internet.net with esmtp (Exim 2.12 #8) id 15MngN-0002M7-00; Wed, 18 Jul 2001 10:31:52 +0100 Received: from 192.168.0.102 by beehive ([192.168.0.100] running VPOP3) with SMTP; Wed, 18 Jul 2001 10:38:02 +0100 From: "Stu Brown" To: "Koster, K.J." Cc: Subject: RE: Porting JDK1.2.2 to OpenBSD Date: Wed, 18 Jul 2001 10:30:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9D9C@l04.research.kpn.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Server: VPOP3 V1.3.0c - Registered to: n0Pk1LL4 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 the mail. I'm not sure whether to continue trying > > to get jdk1.2.2 > > built natively on OpenBSD to be honest, at the moment I've > > got the blackdown jdk running and that seems to be working ok. > > > On OpenBSD? Ok. I thought that there was not JDK at all on OpenBSD. Yeah sorry...I meant "trying to build the port of jdk1.2.2 on openbsd" ;-) > > > > I must admit I haven't > > benchmarked it against anything else, so I'm not sure how much of a > > performance/stability hit it's taking by running a non-native > > version...if it is a lot it may be worth continuing my efforts. > > > To be honest, I doubt that the performance hit is terrible. A > native JDK has > the large advantage that you can actually fix bugs when you run into a > showstopper, which is a lot harder with the Blackdown JDK. > > > > > However I don't have much > > time to spend on this (not at work anyway), as I need the jdk > > for a web > > server serving servlets via tomcat/apache. Do you have any > > thoughts on this? > > > I used the native FreeBSD JDK for the longest time, although I switched to > the linux-1.3.1 JDK when I switched from Tomcat to Orion. At the > end of the > day, performance is decided by my ADSL uplink and not by the speed of the > JDK. YMMV. I was concerned about performance as the server is gonna be co-located at a hosting company, thus it will have a decent amount of bandwidth...another thing is that we're using tomcat to mainly run an online application using a mysql database, which can be quite process intensive (i.e. for things like running reports etc) and there'll be a number of clients using it simultaneously...although to be honest this new server we've installed openbsd on is such an upgrade from our old box, that is is a lot faster anyway ;-) Cheers, Stu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 18 2:44:43 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 92E3C37B403 for ; Wed, 18 Jul 2001 02:44:39 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jul 2001 11:44:38 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D9D@l04.research.kpn.com> From: "Koster, K.J." To: 'Stu Brown' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Porting JDK1.2.2 to OpenBSD Date: Wed, 18 Jul 2001 11:44:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-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 Dear Stu, > > > > Thanks for the mail. I'm not sure whether to continue trying > > > to get jdk1.2.2 > > > built natively on OpenBSD to be honest, at the moment I've > > > got the blackdown jdk running and that seems to be working ok. > > > > > On OpenBSD? Ok. I thought that there was not JDK at all on OpenBSD. > > Yeah sorry...I meant "trying to build the port of jdk1.2.2 on > openbsd" ;-) > You're still confusing me. Do any JDK's run on OpenBSD? If so, how? Which? Why? (no, skip the last one). > > I was concerned about performance as the server is gonna be > co-located at a > hosting company, thus it will have a decent amount of > bandwidth...another > thing is that we're using tomcat to mainly run an online > application using a > mysql database, which can be quite process intensive (i.e. > for things like > running reports etc) and there'll be a number of clients using it > simultaneously...although to be honest this new server we've installed > openbsd on is such an upgrade from our old box, that is is a > lot faster anyway ;-) > *shrug* Best benchmark and profile it before you start optimizing parts of it. The biggest speed hits are taken from design decisions, IMHO. These far outweigh (sp?) what a JIT can give you. Also, if it's raw CPU power you need don't factor out getting a CPU upgrade instead of actually improving your code. How many manhours does a CPU cost, and what's the speedup per man-hour? :-) Here we had a situation where a client demanded "absolute real-time performance!". What he meant was that he wanted a human to be able to see a certain action in the database when he next asked for the reports page. That actually gives the application a few precious seconds to buffer database accesses, allowing us to write 10-20 records at a time instead of individual records. And to think that we were shopping around for faster databases. :) 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 From owner-freebsd-java Wed Jul 18 7:28: 0 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 A0B1E37B403 for ; Wed, 18 Jul 2001 07:27:57 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id 95325275B7; Wed, 18 Jul 2001 16:27:56 +0200 (CEST) Subject: Building JDK 1.3.1, gmake issue simplified To: freebsd-java@FreeBSD.ORG Date: Wed, 18 Jul 2001 16:27:56 +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: <20010718142756.95325275B7@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 afficionados ! Here is a summary of the difference between calling gmake w/ and w/o LINK.{c,cc}, after combing it to better understand. First, the output when overwriting LINK.c: gcc -shared -mimpure-text -o libhpi.so $(LIBHPI_SHARED_OBJECTS) -lm -lc Pretty strong comb I use, I know. Now, this changes into the following output fur me when run with gmake only: /usr/bin/gcc \ -W -Wall -Wno-unused -Wno-parentheses \ -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-internal"' \ -DFULL_VERSION='"1.3.1-internal-root-010718-09:37"' \ -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LITTLE_ENDIAN \ -DLOGGING \ -I.\ -I../../../../build/bsd-i386/tmp/java/hpi/green_threads/CClassHeaders \ -I../../../../src/solaris/javavm/export \ -I../../../../src/share/javavm/export \ -I../../../../src/solaris/hpi/green_threads/include \ -I../../../../src/solaris/hpi/include \ -I../../../../src/solaris/hpi/export \ -I../../../../src/share/hpi/include \ -I../../../../src/share/hpi/export \ -z defs \ -L../../../../build/bsd-i386/lib/i386 \ -Wl,-E \ -shared -mimpure-text -o libhpi.so $(LIBHPI_SHARED_OBJECTS) -lm -lc /usr/lib/libc.so: undefined reference to `environ' /usr/lib/libc.so: undefined reference to `__progname' gmake[4]: *** [../../../../build/bsd-i386/lib/i386/green_threads/libhpi.so] Error 1 The empty lines are my invention, by the way. Notice the dozen lines that are used, warning flags, definitions, include path directives, etc. It only confuses gcc, because the error (missing environ and __progname) tells me that it is conviced to have been asked to generate an executable, ignoring -shared !!! Is that because of '-lm -lc' in the end, I doubt that, since it works correctly in the first example. The easiest way out was to investigate on the definiton of CC, LDFLAGS etc. I compiled GNU make 3.79.1 just the other day, didn't modify any source files, same thing goes for GNU m4. Any way, I don;t think we have to spend a lot more time on this, right now. I keep the two build log files for future investigation, though. Have a successful day! 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 Wed Jul 18 7:30:43 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 D532737B401 for ; Wed, 18 Jul 2001 07:30:41 -0700 (PDT) (envelope-from carlo@vis.ethz.ch) Received: by naboo.ethz.ch (Postfix, from userid 224) id 1E854275B7; Wed, 18 Jul 2001 16:30:41 +0200 (CEST) Subject: j2sdk1.3.1/make/Makefile is missing the 'clean' target To: freebsd-java@freebsd.org Date: Wed, 18 Jul 2001 16:30:41 +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: <20010718143041.1E854275B7@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 amigos ! The following patch adds a 'clean' target. Enjoy ! Ciao, derweil, -- Carlo PS: Here it goes *** j2sdk1.3.1/make/Makefile.orig Wed Jan 31 08:22:46 2001 --- j2sdk1.3.1/make/Makefile Wed Jul 18 09:35:32 2001 *************** *** 160,165 **** --- 160,170 ---- sanity: @$(SHELL) $(BUILDDIR)/tools/sanityck + clean: + for dir in $(SUBDIRS) ; \ + do \ + $(MAKE) -C $$dir $@ ; \ + done clobber:: sanity $(RM) -r $(CLASSDESTDIR) $(BINDIR) $(LIBDIR) $(GENSRCDIR) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 18 10:34:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 2EDCA37B401 for ; Wed, 18 Jul 2001 10:34:10 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 15MvD7-000Dky-00 for freebsd-java@freebsd.org; Wed, 18 Jul 2001 18:34:09 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f6IHY8S75218 for freebsd-java@freebsd.org; Wed, 18 Jul 2001 18:34:08 +0100 (BST) (envelope-from jcm) Date: Wed, 18 Jul 2001 18:34:08 +0100 From: j mckitrick To: freebsd-java@freebsd.org Subject: java permission question (non-BSD) Message-ID: <20010718183407.A75011@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 know this isn't BSD specific, but I thought it would be a good place to ask in case this is a BSD issue I am unaware of. I have an applet downloading from a www node, but the file exists on an afis node. In other words, the codebase is different from the address of the machine running rmiregistry. So, for security reasons, the applet throws an exception when the attempt is made. My current policy file includes connect, accept, and resolve for the java server running RMI. How can I get the applet to call this server? Thanks in advance jcm -- o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o | ~~~~~~~~~~~~ Jonathon McKitrick ~~~~~~~~~~~~~ | | "I prefer the term 'Artificial Person' myself." | o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 19 0:31: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id F36E337B401 for ; Thu, 19 Jul 2001 00:31:04 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Jul 2001 09:31:04 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9DA7@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: java permission question (non-BSD) Date: Thu, 19 Jul 2001 09:31:03 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-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 Dear Jonathon, > > I know this isn't BSD specific, but I thought it would be a > good place to ask in case this is a BSD issue I am unaware of. > It isn't. :) > > I have an applet downloading from a www node, but the file > exists on an afis > node. In other words, the codebase is different from the > address of the > machine running rmiregistry. So, for security reasons, the > applet throws an exception when the attempt is made. > As expected. > > My current policy file includes connect, accept, and resolve > for the java server running RMI. How can I get the applet to > call this server? > Sign the applet and let your users accept the signature. A signed applet has access to the whole PC. I've never tried it myself, but I'm interested in your findings. Kees Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 20 8:30:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id CE4F137B410 for ; Fri, 20 Jul 2001 08:29:59 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15NcE2-000EcS-00; Fri, 20 Jul 2001 16:29:58 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f6KFTve16434; Fri, 20 Jul 2001 16:29:57 +0100 (BST) (envelope-from jcm) Date: Fri, 20 Jul 2001 16:29:57 +0100 From: j mckitrick To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: java permission question (non-BSD) Message-ID: <20010720162957.A16348@dogma.freebsd-uk.eu.org> References: <59063B5B4D98D311BC0D0001FA7E452205FD9DA7@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9DA7@l04.research.kpn.com>; from K.J.Koster@kpn.com on Thu, Jul 19, 2001 at 09:31:03AM +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 On Thu, Jul 19, 2001 at 09:31:03AM +0100, Koster, K.J. wrote: | Dear Jonathon, | | > | > I know this isn't BSD specific, but I thought it would be a | > good place to ask in case this is a BSD issue I am unaware of. | > | It isn't. :) Do you have a better idea on where I could go for help? I don't know anyone on other forums, so I thought asking here would be most efficient. | > I have an applet downloading from a www node, but the file | > exists on an afis | > node. In other words, the codebase is different from the | > address of the | > machine running rmiregistry. So, for security reasons, the | > applet throws an exception when the attempt is made. | > | As expected. | | > | > My current policy file includes connect, accept, and resolve | > for the java server running RMI. How can I get the applet to | > call this server? | > | Sign the applet and let your users accept the signature. A signed applet has | access to the whole PC. A signed applet with a corresponding policy file. I was able to set this up, but now my applet times out (actually, 'unknown exception') while trying to contact the server. | | I've never tried it myself, but I'm interested in your findings. | | Kees Jan jcm -- o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o | ~~~~~~~~~~~~ Jonathon McKitrick ~~~~~~~~~~~~~ | | "I prefer the term 'Artificial Person' myself." | o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 20 10: 9:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 9A22F37B403 for ; Fri, 20 Jul 2001 10:09:28 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA02976; Fri, 20 Jul 2001 10:09:27 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.3/8.11.3) id f6KH9j113554; Fri, 20 Jul 2001 10:09:45 -0700 (PDT) (envelope-from adsharma) Date: Fri, 20 Jul 2001 10:09:44 -0700 From: Arun Sharma To: orp@egroups.com Cc: java@freebsd.org Subject: POSIX port of Intel ORP Message-ID: <20010720100944.A13540@sharmas.dhs.org> 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 For those of you not familiar with ORP, please see: http://www.intel.com/research/mrl/orp/ I've ported the code to FreeBSD, in the process making it easy to port it to any POSIX compliant OS, with gcc and GNU Make. The port involved: 1. Replacing ORP_LINUX with ORP_POSIX 2. Covering Linux specific bits in #ifdef __linux__ 3. Tweaking the linker flags in the main Makefile Current port status: 1. Compiles on FreeBSD (and Linux of course) 2. signal handling issues ironed out. 3. Can't run HelloWorld yet, due to what I believe are scheduling issues with pthreads. I think this is due to the use of non-portable recursive pthread_mutexes used in the code. The effort is based on the most recent release. Producing a diff is possible, but clumsy. ORP folks, please let me know if you're interested in folding this in. Thanks! -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 20 10:24: 3 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 5522B37B405 for ; Fri, 20 Jul 2001 10:23:55 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.16] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15Ndzv-00052X-00; Fri, 20 Jul 2001 11:23:47 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6KHMJZ65967; Sat, 21 Jul 2001 02:52:19 +0930 (CST) (envelope-from glewis) Date: Sat, 21 Jul 2001 02:52:08 +0930 From: Greg Lewis To: Arun Sharma Cc: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010721025208.A65928@misty.eyesbeyond.com> References: <20010720100944.A13540@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010720100944.A13540@sharmas.dhs.org>; from arun@sharmas.dhs.org on Fri, Jul 20, 2001 at 10:09:44AM -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 (Removed the ORP address from the cc line as I wasn't sure my comments were relevant to them :). On Fri, Jul 20, 2001 at 10:09:44AM -0700, Arun Sharma wrote: > For those of you not familiar with ORP, please see: > > http://www.intel.com/research/mrl/orp/ > > I've ported the code to FreeBSD, in the process making it easy to > port it to any POSIX compliant OS, with gcc and GNU Make. Cool! I've wanted to have a go at this myself but the JDK has kept me busy :). > The port involved: > > 1. Replacing ORP_LINUX with ORP_POSIX > 2. Covering Linux specific bits in #ifdef __linux__ Did you need to introduce any FreeBSD specific code? > 3. Tweaking the linker flags in the main Makefile > > Current port status: > > 1. Compiles on FreeBSD (and Linux of course) Be interesting to test on NetBSD and OpenBSD too :). > 2. signal handling issues ironed out. > 3. Can't run HelloWorld yet, due to what I believe are > scheduling issues with pthreads. I think this is due to > the use of non-portable recursive pthread_mutexes used in > the code. > > The effort is based on the most recent release. Producing a diff is > possible, but clumsy. ORP folks, please let me know if you're interested > in folding this in. Why is producing a diff clumsy? I'd like to see one :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 20 10:43:45 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 55D6837B401 for ; Fri, 20 Jul 2001 10:43:42 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 8025F5E105; Fri, 20 Jul 2001 10:43:44 -0700 (PDT) Date: Fri, 20 Jul 2001 10:43:44 -0700 From: Arun Sharma To: Greg Lewis Cc: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010720104344.A22485@sharmas.dhs.org> References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010721025208.A65928@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Jul 21, 2001 at 02:52:08AM +0930 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, Jul 21, 2001 at 02:52:08AM +0930, Greg Lewis wrote: > > The port involved: > > > > 1. Replacing ORP_LINUX with ORP_POSIX > > 2. Covering Linux specific bits in #ifdef __linux__ > > Did you need to introduce any FreeBSD specific code? > Loosely speaking - no. But I suspect I might have to, to deal with the differences in pthread implementations. I also plan to try with IBM's MxN pthread implementation, which I have ported to FreeBSD. Strictly speaking - yes. I copied orp/os/linux -> orp/os/freebsd and removed code which was trying to deal with various versions of Linux (which differ w.r.t. signal handling). > > 3. Tweaking the linker flags in the main Makefile > > > > Current port status: > > > > 1. Compiles on FreeBSD (and Linux of course) > > Be interesting to test on NetBSD and OpenBSD too :). I'll have it up on the net tonight - don't have access to NetBSD and OpenBSD boxes. > > > 2. signal handling issues ironed out. > > 3. Can't run HelloWorld yet, due to what I believe are > > scheduling issues with pthreads. I think this is due to > > the use of non-portable recursive pthread_mutexes used in > > the code. > > > > The effort is based on the most recent release. Producing a diff is > > possible, but clumsy. ORP folks, please let me know if you're interested > > in folding this in. > > Why is producing a diff clumsy? I'd like to see one :). I meant, it will be large and repetitive. I'll have both the diff and full sources on the net later today. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 20 10:55:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id BB4E837B406 for ; Fri, 20 Jul 2001 10:55:08 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.16] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15NeUU-0008GA-00; Fri, 20 Jul 2001 11:55:07 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6KHt2l66523; Sat, 21 Jul 2001 03:25:02 +0930 (CST) (envelope-from glewis) Date: Sat, 21 Jul 2001 03:24:58 +0930 From: Greg Lewis To: Arun Sharma Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010721032457.A66507@misty.eyesbeyond.com> References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> <20010720104344.A22485@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010720104344.A22485@sharmas.dhs.org>; from arun@sharmas.dhs.org on Fri, Jul 20, 2001 at 10:43:44AM -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, Jul 20, 2001 at 10:43:44AM -0700, Arun Sharma wrote: > On Sat, Jul 21, 2001 at 02:52:08AM +0930, Greg Lewis wrote: > > > 2. Covering Linux specific bits in #ifdef __linux__ > > > > Did you need to introduce any FreeBSD specific code? > > Loosely speaking - no. But I suspect I might have to, to deal > with the differences in pthread implementations. I also plan to > try with IBM's MxN pthread implementation, which I have ported > to FreeBSD. Sounds good. > Strictly speaking - yes. I copied orp/os/linux -> orp/os/freebsd > and removed code which was trying to deal with various versions of > Linux (which differ w.r.t. signal handling). If I can make a suggestion, if its not too much trouble then you may want to consider orp/os/bsd instead. I suspect you'll find that your code will compile with relatively minor if any changes on the other BSD platforms. We've moved to this with the JDK port. > > > Current port status: > > > > > > 1. Compiles on FreeBSD (and Linux of course) > > > > Be interesting to test on NetBSD and OpenBSD too :). > > I'll have it up on the net tonight - don't have access to NetBSD > and OpenBSD boxes. I have these two installed on other hd partitions, so I may well give it a try on them, just to see :). > > Why is producing a diff clumsy? I'd like to see one :). > > I meant, it will be large and repetitive. I'll have both the diff and > full sources on the net later today. Excellent! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Jul 20 11: 3:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from rumor.cps.intel.com (rumor.cps.intel.com [192.102.198.242]) by hub.freebsd.org (Postfix) with ESMTP id D6FCA37B401 for ; Fri, 20 Jul 2001 11:03:41 -0700 (PDT) (envelope-from michal.cierniak@intel.com) Received: from SMTP (fmsmsxvs05-1.fm.intel.com [132.233.42.205]) by rumor.cps.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.41 2001/07/09 21:06:22 root Exp $) with SMTP id SAA08749; Fri, 20 Jul 2001 18:03:37 GMT Received: from fmsmsx28.fm.intel.com ([132.233.48.28]) by 132.233.48.205 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 20 Jul 2001 18:03:39 0000 (GMT) Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Fri, 20 Jul 2001 11:03:38 -0700 Message-ID: <794826DE8867D411BAB8009027AE9EB90877A975@FMSMSX38> From: "Cierniak, Michal" To: "'orp@yahoogroups.com'" Cc: java@freebsd.org, "'bayarea_techie@yahoo.com'" Subject: RE: [orp] POSIX port of Intel ORP Date: Fri, 20 Jul 2001 11:03:32 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-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 Arun, That's great. We would love to see your mods in our source tree. Contributing code to ORP is easy. I described the process in an email earlier this year (http://groups.yahoo.com/group/orp/message/169). At the moment, we probably won't have resources to help you in porting ORP to FreeBSD, but if you sent us your mods with the contributor's license and if your mods don't break our Linux and Windows configurations, we would fold them in. Feel free to contact me if you have more questions. Michal > -----Original Message----- > From: Arun Sharma [mailto:bayarea_techie@yahoo.com] > Sent: Friday, July 20, 2001 10:10 AM > To: orp@egroups.com > Cc: java@freebsd.org > Subject: [orp] POSIX port of Intel ORP > > > For those of you not familiar with ORP, please see: > > http://www.intel.com/research/mrl/orp/ > > I've ported the code to FreeBSD, in the process making it easy to > port it to any POSIX compliant OS, with gcc and GNU Make. > > The port involved: > > 1. Replacing ORP_LINUX with ORP_POSIX > 2. Covering Linux specific bits in #ifdef __linux__ > 3. Tweaking the linker flags in the main Makefile > > Current port status: > > 1. Compiles on FreeBSD (and Linux of course) > 2. signal handling issues ironed out. > 3. Can't run HelloWorld yet, due to what I believe are > scheduling issues with pthreads. I think this is due to > the use of non-portable recursive pthread_mutexes used in > the code. > > The effort is based on the most recent release. Producing a diff is > possible, but clumsy. ORP folks, please let me know if you're > interested > in folding this in. > > Thanks! > > -Arun > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jul 21 0:29:58 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 08A8437B403 for ; Sat, 21 Jul 2001 00:29:56 -0700 (PDT) (envelope-from robinson@netrinsics.com) Received: from netrinsics.com ([202.108.25.140] (may be forged)) by neptune.he.net (8.8.6/8.8.2) with ESMTP id AAA28314 for ; Sat, 21 Jul 2001 00:29:53 -0700 Received: (from robinson@localhost) by netrinsics.com (8.11.2/8.11.1) id f6L7Tmr00917; Sat, 21 Jul 2001 15:29:48 +0800 (+0800) (envelope-from robinson) Date: Sat, 21 Jul 2001 15:29:48 +0800 From: Michael Robinson To: java@freebsd.org Subject: Re: JDK2 binary update Message-ID: <20010721152948.A679@elephant.netrinsics.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 On Fri, Jul 20, 2001 at 06:41:32PM -0600, Nate Williams wrote: > > P.S. Why is it, exactly, that Blackdown is not able to release a "Blackdown > > FreeBSD JDK" binary? > > Because their current license limits them to releases for Linux. So I guess no one is going to chance a release of "Blackdown JDK for Berkeley Linux" then? -Michael Robinson P.S. To whom at Sun should expressions of displeasure be addressed? P.P.S. Did the 1.2 port ever complete JCK testing? P.P.P.S. Does anyone have an approximate idea of when Hotspot would have a native port? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jul 21 9:18: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtprelay3.adelphia.net (smtprelay3.adelphia.net [64.8.25.8]) by hub.freebsd.org (Postfix) with ESMTP id 1931237B407 for ; Sat, 21 Jul 2001 09:17:58 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scraemondaemon.my.domain ([24.49.96.3]) by smtprelay3.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id GGTZYI02.SLF; Sat, 21 Jul 2001 12:18:18 -0400 Received: (from ipt@localhost) by scraemondaemon.my.domain (8.11.4/8.11.4) id f6LGFv805664; Sat, 21 Jul 2001 12:15:57 -0400 (EDT) (envelope-from ipt) Date: Sat, 21 Jul 2001 12:15:57 -0400 From: User & Ian Patrick Thomas To: j mckitrick Cc: freebsd-java@freebsd.org Subject: Re: java permission question (non-BSD) Message-ID: <20010721121557.A5641@localhost> References: <59063B5B4D98D311BC0D0001FA7E452205FD9DA7@l04.research.kpn.com> <20010720162957.A16348@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010720162957.A16348@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Fri, Jul 20, 2001 at 04:29:57PM +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 There is an advanced java list on Geocrawler, I would try there. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jul 21 10:49:38 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 83CDE37B406 for ; Sat, 21 Jul 2001 10:49:34 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 642685DD97; Sat, 21 Jul 2001 10:49:50 -0700 (PDT) Date: Sat, 21 Jul 2001 10:49:50 -0700 From: Arun Sharma To: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010721104950.A31627@sharmas.dhs.org> References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> <20010720104344.A22485@sharmas.dhs.org> <20010721032457.A66507@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010721032457.A66507@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Jul 21, 2001 at 03:24:58AM +0930 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 Here is a developer preview of what I have done so far: http://www.sharma-home.net/~adsharma/projects/orp/orp-posix-patch.txt.gz [34 KB] It's a patch against: orp20010706l.tgz Rough edges: - I had to symlink /usr/local/lib/lib{glib,gthread}1-2.so to lib{glib,gthread}.so to be able to link orp. - symlink os/bsd to os/FreeBSD - There's a GPL contamination issue in orp_synch.h - two simple inline functions from linux asm/bitops.h have been copied verbatim. If someone can clean-room it, this should go away. Status: - Compiles, but core dumps on a hello world program. The core dump seems to be happening in JIT'ed code. Once the patches have been tested, I intend to submit a patch to Intel for inclusion in the official source tree. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jul 21 20: 7:25 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 3B19037B408 for ; Sat, 21 Jul 2001 20:07:23 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 8788F5DD97; Sat, 21 Jul 2001 20:07:40 -0700 (PDT) Date: Sat, 21 Jul 2001 20:07:40 -0700 From: Arun Sharma To: Arun Sharma Cc: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010721200740.B32616@sharmas.dhs.org> References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> <20010720104344.A22485@sharmas.dhs.org> <20010721032457.A66507@misty.eyesbeyond.com> <20010721104950.A31627@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010721104950.A31627@sharmas.dhs.org>; from arun@sharmas.dhs.org on Sat, Jul 21, 2001 at 10:49:50AM -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 Sat, Jul 21, 2001 at 10:49:50AM -0700, Arun Sharma wrote: > Here is a developer preview of what I have done so far: > > http://www.sharma-home.net/~adsharma/projects/orp/orp-posix-patch.txt.gz > [34 KB] Ok, I've narrowed down the problems to issues with the way FreeBSD restores signal context when linked with libc_r. See my message to -hackers on this topic. I tried using IBM's MxN pthread implementation: http://oss.software.ibm.com/developerworks/opensource/pthreads/ That I'd ported to FreeBSD earlier: http://oss.software.ibm.com/pipermail/pthreads-devel/2001-July/000050.html and bingo! it solved all the problems. My ngpt port is still very rough and untested. I can put up a 4.3-STABLE binary if people here are interested. After compiling, you need to *manually* copy libngpt.so.10 to /usr/local/lib and symlink it to libpthread.so. Here's the patch to use ngpt: --- orp.posix/mains/orp/Makefile- Sat Jul 21 20:05:01 2001 +++ orp.posix/mains/orp/Makefile Sat Jul 21 20:05:21 2001 @@ -35,7 +35,7 @@ ifeq ($(UNAME), FreeBSD) -LINKER_FLAGS = -L/usr/local/lib -lc_r -lglib -lm -lgthread +LINKER_FLAGS = -L/usr/local/lib -lpthread -lglib -lm -lgthread else LINKER_FLAGS = -lglib -ldl -lm -lgthread endif Enjoy! -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message