From owner-freebsd-java Sun Apr 2 6:31:15 2000 Delivered-To: freebsd-java@freebsd.org Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by hub.freebsd.org (Postfix) with ESMTP id EFBC937BCF7 for ; Sun, 2 Apr 2000 06:31:09 -0700 (PDT) (envelope-from rjs@fdy2.demon.co.uk) Received: (from rjs@localhost) by fdy2.demon.co.uk (8.8.8/8.8.8) id OAA00544; Sun, 2 Apr 2000 14:19:02 +0100 (BST) (envelope-from rjs) Date: Sun, 2 Apr 2000 14:19:02 +0100 (BST) Message-Id: <200004021319.OAA00544@fdy2.demon.co.uk> From: Robert Swindells To: fuyuhik8@is.titech.ac.jp Cc: freebsd-java@freebsd.org In-reply-to: <20000402041626X.fuyuhik8@is.titech.ac.jp> (message from Maruyama Fuyuhiko on Sun, 02 Apr 2000 04:16:26 +0900) Subject: Re: Pre-alpha JDK 1.2.2 patches -- update Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I found another problem with pre-alpha patches. It may be a >Motif-side problem. I'm building JDK with Motif-2.1.20 by Software2Go >and found the awt doesn't work. To write more precicely, the Motif >library I use needs libXp linked with, but current JDK patches doesn't >so. I don't know whether this problem appear with another Motif or >Lesstif. This can be simply resolved by adding -lXp in OTHER_LDLIBS >line at build/freebsd/sun/awt/GNUmakefile: >OTHER_LDLIBS = -lmlib_image$(SUFFIX) $(LIBCXX) $(JVMLIB) -lXm -lXp -lXt -lXext -lXtst -lX11 -lm I needed to do the same for Metro Link Motif-2.1.10. >If I link libXp.so into libawt.so, sample programs seem to work at >least for a few minutes. Some minutes after, programs went away ;-< >I think current porting have some serious problems on multi-threading >support. But at this time, I don't know those precicely. I don't get that far. I can run some of the demo applets, but all of the JFC demos give errors. The one from Metalworks is: Unexpected error. Program Terminated java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 at java.awt.image.BufferedImage.(BufferedImage.java:521) at sun.awt.image.OffScreenImage.(OffScreenImage.java:70) at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:310) at java.awt.Component.createImage(Component.java:2095) at javax.swing.plaf.metal.BumpBuffer.(MetalBumps.java:152) at javax.swing.plaf.metal.MetalBumps.createBuffer(MetalBumps.java:65) at javax.swing.plaf.metal.MetalBumps.setBumpColors(MetalBumps.java:100) at javax.swing.plaf.metal.MetalBumps.(MetalBumps.java:57) at javax.swing.plaf.metal.MetalBorders$ToolBarBorder.(MetalBorders.java:281) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:376) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:65) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:714) at javax.swing.UIManager.setLookAndFeel(UIManager.java:363) at javax.swing.UIManager.setLookAndFeel(UIManager.java:390) at Metalworks.main(Metalworks.java:48) I have spent this morning editing font.properties to work with the URW fonts. I will post it if people are interested. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 7: 3:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id F379D37B5BD for ; Sun, 2 Apr 2000 07:03:10 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id XAA30726; Sun, 2 Apr 2000 23:32:54 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004021402.XAA30726@ares.trc.adelaide.edu.au> Subject: Re: Pre-alpha JDK 1.2.2 patches -- update In-Reply-To: <200004021319.OAA00544@fdy2.demon.co.uk> from Robert Swindells at "Apr 2, 2000 02:19:02 pm" To: Robert Swindells Date: Sun, 2 Apr 2000 23:32:54 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I found another problem with pre-alpha patches. It may be a > >Motif-side problem. I'm building JDK with Motif-2.1.20 by Software2Go > >and found the awt doesn't work. To write more precicely, the Motif > >library I use needs libXp linked with, but current JDK patches doesn't > >so. I don't know whether this problem appear with another Motif or > >Lesstif. This can be simply resolved by adding -lXp in OTHER_LDLIBS > >line at build/freebsd/sun/awt/GNUmakefile: > > >OTHER_LDLIBS = -lmlib_image$(SUFFIX) $(LIBCXX) $(JVMLIB) -lXm -lXp -lXt -lXext -lXtst -lX11 -lm > > I needed to do the same for Metro Link Motif-2.1.10. Lesstif doesn't require this (there is no libXp :). It sounds like a compile switch for make is needed. I'm unsure which way to jump with this in terms of the default. Maybe as there are a number of commercial Motif implementations the correct switch is for Lesstif. That is, make -lXp the default, to be ignored if you do "make LESSTIF=1 world" maybe. Thoughts? > >If I link libXp.so into libawt.so, sample programs seem to work at > >least for a few minutes. Some minutes after, programs went away ;-< > >I think current porting have some serious problems on multi-threading > >support. But at this time, I don't know those precicely. > > I don't get that far. I can run some of the demo applets, but all of > the JFC demos give errors. The one from Metalworks is: > > Unexpected error. > Program Terminated > java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 I have tried Metalworks successfully previously, but not with the current set of patches. > I have spent this morning editing font.properties to work with the URW > fonts. I will post it if people are interested. Definitely. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 7:10:25 2000 Delivered-To: freebsd-java@freebsd.org Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 2454737BD39 for ; Sun, 2 Apr 2000 07:10:20 -0700 (PDT) (envelope-from rjs@fdy2.demon.co.uk) Received: (from rjs@localhost) by fdy2.demon.co.uk (8.8.8/8.8.8) id OAA00639; Sun, 2 Apr 2000 14:58:19 +0100 (BST) (envelope-from rjs) Date: Sun, 2 Apr 2000 14:58:19 +0100 (BST) Message-Id: <200004021358.OAA00639@fdy2.demon.co.uk> From: Robert Swindells To: freebsd-java@freebsd.org Subject: Re: Pre-alpha JDK 1.2.2 patches -- update Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following up to my previous message: >>If I link libXp.so into libawt.so, sample programs seem to work at >>least for a few minutes. Some minutes after, programs went away ;-< >>I think current porting have some serious problems on multi-threading >>support. But at this time, I don't know those precicely. >I don't get that far. I can run some of the demo applets, but all of >the JFC demos give errors. The one from Metalworks is: >Unexpected error. >Program Terminated >java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 > at java.awt.image.BufferedImage.(BufferedImage.java:521) > at sun.awt.image.OffScreenImage.(OffScreenImage.java:70) > at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:310) > at java.awt.Component.createImage(Component.java:2095) > at javax.swing.plaf.metal.BumpBuffer.(MetalBumps.java:152) > at javax.swing.plaf.metal.MetalBumps.createBuffer(MetalBumps.java:65) > at javax.swing.plaf.metal.MetalBumps.setBumpColors(MetalBumps.java:100) > at javax.swing.plaf.metal.MetalBumps.(MetalBumps.java:57) > at javax.swing.plaf.metal.MetalBorders$ToolBarBorder.(MetalBorders.java:281) > at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:376) > at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:65) > at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:714) > at javax.swing.UIManager.setLookAndFeel(UIManager.java:363) > at javax.swing.UIManager.setLookAndFeel(UIManager.java:390) > at Metalworks.main(Metalworks.java:48) I just tried starting X in 8bpp mode instead of 16bpp and it loads up. >I have spent this morning editing font.properties to work with the URW >fonts. I will post it if people are interested. My changed font.properties file makes the Blackdown JDK look much better too. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 7:27:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [194.222.102.143]) by hub.freebsd.org (Postfix) with ESMTP id 20AA937B833 for ; Sun, 2 Apr 2000 07:27:14 -0700 (PDT) (envelope-from rjs@fdy2.demon.co.uk) Received: (from rjs@localhost) by fdy2.demon.co.uk (8.8.8/8.8.8) id PAA00658; Sun, 2 Apr 2000 15:11:26 +0100 (BST) (envelope-from rjs) Date: Sun, 2 Apr 2000 15:11:26 +0100 (BST) Message-Id: <200004021411.PAA00658@fdy2.demon.co.uk> From: Robert Swindells To: glewis@trc.adelaide.edu.au Cc: freebsd-java@freebsd.org In-reply-to: <200004021402.XAA30726@ares.trc.adelaide.edu.au> (message from Greg Lewis on Sun, 2 Apr 2000 23:32:54 +0930 (CST)) Subject: Re: Pre-alpha JDK 1.2.2 patches -- update Content-Type: multipart/mixed; boundary="-" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Lesstif doesn't require this (there is no libXp :). It sounds like a >compile switch for make is needed. I'm unsure which way to jump with >this in terms of the default. Maybe as there are a number of commercial >Motif implementations the correct switch is for Lesstif. That is, make >-lXp the default, to be ignored if you do "make LESSTIF=1 world" maybe. >Thoughts? Does your Lesstif build still work if you add -lXp ? >> I have spent this morning editing font.properties to work with the URW >> fonts. I will post it if people are interested. >Definitely. Ok. Robert Swindells --- Content-Type: application/octet-stream; name="font.properties.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="font.properties.gz" Content-MD5: DmvGykLWdjV8dlSfjL++tQ== H4sICLpX5zgCA2ZvbnQucHJvcGVydGllcwC1Wt9v2zYQfp7/ikONIW1hqVbSdcmDgWUpCuSh WFG3aAcMGGiKtrhKpEFScd2/fiT1W7ZcyaIfEjgm7+N9d7wjeZfpZAp/PJ++WHOm/K3gWyIU JfKXwA+u4e72VTB/dX09mepZD3y7F3QTKQju7m5htYdlyuA9xYLLvVQkkTN4ZNif6bl38wCW iME9U5xRDh85CmfwAcUc7mPFZ/CAYrrmglE0g7vXN/ObGXz2l/69r4Xv4xjsQhIEkUQ8kdC3 GnyKqATJ12qHBAH9WUUEMGdrGhKmKIoBsRAMCUGJQmIPlOlFEqQoZ1qerztUhufPHuowj5XY sxc+wN881eIyQlozxhWEVOKYSwIyxRF0iVptMqFUEg1AFXAWG60AYcxFiBgmsKMqskwUEYk0 Spo/YooJ0yugjSAk0eBafs9T0J+IIKHGUDwT1ZSMeayF7r98gnfakxCSNUpjBR9Kj4LWC76+ 02i3b+DGv/HfZOKfP34B43xpMWBJBF3bLwwGZTSz3USa7/35wkMhXxFP0YRILyEhTRNPeMxw jj3vpfdrqH+99Lb6h0p+e/vbnRfkwkEh/ANt19qGbLNC6mcgmYRVcEswXVOco10XaHKfrHg8 HCbHoUpvRdzBjPZjlmO4JZiDuuKpZcM2S/NdX+9ZebcMLaRLfsd9aVnS/iwv4s0a8HjGU5Nc ZWeo6rFWuEYkfiKKYtQ/ZEsQZ3YoER24vMRqu/yAKe/P1LXj28AueTfDuWLdM6SbOO4Zuwrt BmC3ry1rPoz1xbztONTfc8blFmF96B/GelIOVmbBPNX3H3FisaRhlhqGK2PUIMeboAbW3gEt qnwAVcfuP0R2SrwZ7gXtrmDvJO002tu4zgl3ebsr2k/Svpy/Hcf7W/2M4JsjsR7agTGHeo7g ygY53HjSOdD4s7wJ5JinMx/neOOO8DqIY6KOormGNvbkPoS6AGXnMfzItqnqDGRqRs8/tesg bo2RYbryf4b2k4ObDmF7kR3QgHbLfczZfYBzCdZO472CPHl806HML+h118Gf196OBH424uMI icX176/XZjpDCQG9OJJE2iKe/ezb2oXgCWIL+6woB8rcuSifHOVYbuJFdTsxK5jK3wrhbzsk QsA82SJFVzSmaj+pVvG3MaLs3ApfDWdcQa0GdH7FqgUypiw0nZT2blto+P2rghp/1amwxt0j mjhjD+rpJN+CbWMNPd4KmLEvvgJnTBKuY4x7k0wnJm0VWatCGZnMTEFQ6aDGtvj/oLOLJMo2 P2qNk1ovxPROUklC08QxzQabqXYRxZEZMR0OykLyPZvwmVHMQ2I6M0vT7rArA0bMQBhxKoDv GMh0hWMkbQejpkaHBkZ+RYA/ESFM88SsFBKJhc5MbAMJFwQKfiDVPrYKvNOZjHxHyTYmFtYq g/OFsupLtu9uFksjjOKlzePSzE2IzpfQmGXlr2RGt9BJEKVd+qTZl60ZzJlWVD1/oUFUxEMD p2lSJpXt4ZjOUmM92/vZRUjBN41txo2WCCsijqlg8CIkCw3+S8NNfXkqH4yhSFgqcHp1Y/ND y8wXMtXpmfvGM5/4n3tFHpd/mZ35bwBH5gd2PtopP+FK/12JfQ2Ct/lmPSJ3XcpVEplik+bs Wp26W7MOkTOUq9Wf+ynYKK711LBRTBuqYqNs1k/HsijQU7+yBDBUt/KxP0Sv4o0zSLniTXOe hsXrpZ+arXR8Qk8douQ7jlNp82d3as2TGKnNFoht8gYsQUUGzcSvylmN9DW/KjOjPJwzv5qZ /HJMvCFYDc5nWTOaA8+bxfDV5OilPiakznZsY74Jgqw/Xf0bgJlqtW2m18U/E8/sVbXfFrcp RnaevXF5gmzSGAl9fHXeElqY2ZnaC5T2BjUH8knI/OwfgtdD0fxW2QO11R0yqOfeBeEIasH/ vFthF2K3rv3uh8dwyy117rW6xDwowleoQ++NcAy0adNhl8hOwC5N+90oj8K2LDr07l1hNiqf bnZoreDmYnse1O9c7M0c9OTG3CfD1awXmVxszXYRY/zePF4WGb8567gjd2eJWT+7K7jRT6lK 56xaMyYzTSf/A/3n9J9gJwAA ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 7:48:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.rdc1.nsw.optushome.com.au (ha1.rdc1.nsw.optushome.com.au [203.164.2.50]) by hub.freebsd.org (Postfix) with ESMTP id 2999937B6AB for ; Sun, 2 Apr 2000 07:48:32 -0700 (PDT) (envelope-from davidh@optushome.com.au) Received: from optushome.com.au ([203.164.12.226]) by mail.rdc1.nsw.optushome.com.au (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000402144829.BWGB6821.mail.rdc1.nsw.optushome.com.au@optushome.com.au> for ; Mon, 3 Apr 2000 00:48:29 +1000 Message-ID: <38E75DD8.D0AB5F7@optushome.com.au> Date: Mon, 03 Apr 2000 00:48:56 +1000 From: David Hobley X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: libfontmanager.so link error (runtime) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I compiled up the Java2 as patched with the -4 patchset. I also included the iomgr.c patch for FreeBSD 4 and everything built just swimmingly. When I try to run though, I get: % java mainclass Warning: JIT compiler "sunwjit" not found. Will use interpreter. Exception in thread "main" java.lang.UnsatisfiedLinkError: /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: Undefined symbol "__pure_virtual" at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1319) Is this some problem with the compiler? -- Cheers, david To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 17:51:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id F413637BB2B for ; Sun, 2 Apr 2000 17:51:48 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id KAA34288; Mon, 3 Apr 2000 10:21:43 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004030051.KAA34288@ares.trc.adelaide.edu.au> Subject: Re: libfontmanager.so link error (runtime) In-Reply-To: <38E75DD8.D0AB5F7@optushome.com.au> from David Hobley at "Apr 3, 2000 00:48:56 am" To: David Hobley Date: Mon, 3 Apr 2000 10:21:43 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi David, > I compiled up the Java2 as patched with the -4 patchset. > I also included the iomgr.c patch for FreeBSD 4 and everything > built just swimmingly. When I try to run though, I get: > > % java mainclass > Warning: JIT compiler "sunwjit" not found. Will use interpreter. > Exception in thread "main" java.lang.UnsatisfiedLinkError: > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > Undefined symbol "__pure_virtual" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1319) > > > Is this some problem with the compiler? What version of FreeBSD are you actually compiling on (4.0?). This problem is precisely Issue 15 -- (look in the file ISSUES). You should fix it by editting build/freebsd/makefiles/Defs-freebsd.gmk, uncommenting the extra LDLIBS_COMMON line and recompiling. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Apr 2 23:28: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 8F69737B62E for ; Sun, 2 Apr 2000 23:28:00 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNSJPTMWPA00132T@research.kpn.com> for freebsd-java@freebsd.org; Mon, 3 Apr 2000 08:27:51 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 03 Apr 2000 08:27:50 +0100 Content-return: allowed Date: Mon, 03 Apr 2000 08:27:50 +0100 From: "Koster, K.J." Subject: RE: when is the ETA of native freebsd jdk1.2.2? To: 'FreeBSD Java mailing list' , "'mmercer@ipass.net'" Message-id: <59063B5B4D98D311BC0D0001FA7E452201313A23@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Is there a progress page I could look at to see how far > jdk1.2.2 is to getting to FreeBSD? > Try my pages: http://web.inter.nl.net/users/kjkoster/java/index.html Work in progress, but it's getting there. > > I am using linux-jdk1.2.2 and there are problems I just can > not put up with... > Could you be more specific? > > also if there is any thing I can do to help? > Yes, glad you asked. ;) You could write a little test program that exercises the problems you have with the Linux JDK. Then either mail it to me or build the current pre-alpha port of JDK 1.2.2 and run the tests yourself. Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 3 1: 8: 2 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.rdc1.nsw.optushome.com.au (ha1.rdc1.nsw.optushome.com.au [203.164.2.50]) by hub.freebsd.org (Postfix) with ESMTP id E955037BC27 for ; Mon, 3 Apr 2000 01:07:57 -0700 (PDT) (envelope-from davidh@optushome.com.au) Received: from optushome.com.au ([203.164.12.226]) by mail.rdc1.nsw.optushome.com.au (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000403080755.CYQQ6821.mail.rdc1.nsw.optushome.com.au@optushome.com.au>; Mon, 3 Apr 2000 18:07:55 +1000 Message-ID: <38E85174.5D05B615@optushome.com.au> Date: Mon, 03 Apr 2000 18:08:20 +1000 From: David Hobley X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: libfontmanager.so link error (runtime) References: <200004030051.KAA34288@ares.trc.adelaide.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Lewis wrote: > > Hi David, > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > > /scratch/jdk1.2.2/build/freebsd/lib/i386/libfontmanager.so: > > Undefined symbol "__pure_virtual" > What version of FreeBSD are you actually compiling on (4.0?). This problem > is precisely Issue 15 -- (look in the file ISSUES). You should fix it by > editting build/freebsd/makefiles/Defs-freebsd.gmk, uncommenting the > extra LDLIBS_COMMON line and recompiling. I am compiling on FreeBSD 4, using the standard gcc. % uname -a FreeBSD ishtar 4.0-STABLE FreeBSD 4.0-STABLE #7: Wed Mar 22 20:36:54 EST 2000 davidh@ishtar:/usr/src/sys/compile/ISHTAR i386 % gcc -v Using builtin specs. gcc version 2.95.2 19991024 (release) Thanks for the response. I'll give it a go. -- Cheers, david To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 3 15:17:20 2000 Delivered-To: freebsd-java@freebsd.org Received: from securitas.net (extern.securitas.net [212.66.1.45]) by hub.freebsd.org (Postfix) with ESMTP id 456AC37B6F5 for ; Mon, 3 Apr 2000 15:17:13 -0700 (PDT) (envelope-from grossman@securitas.net) Received: from blue.securitas.net (blue.securitas.net [212.66.0.24]) by securitas.net (8.9.3/8.9.3) with ESMTP id AAA12496; Tue, 4 Apr 2000 00:15:21 +0200 (MET DST) Received: (from grossman@localhost) by blue.securitas.net (8.9.3/8.9.3) id AAA25123; Tue, 4 Apr 2000 00:16:24 +0200 (CEST) Date: Tue, 4 Apr 2000 00:16:24 +0200 (CEST) Message-Id: <200004032216.AAA25123@blue.securitas.net> From: Rolf Grossmann MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Koster, K.J." Cc: Subject: Bootstrapping with JDK 1.1.8 In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452201313A23@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E452201313A23@l04.research.kpn.com> X-Mailer: VM 6.75 under Emacs 19.34.1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Kees Jan, on your webpage you write: > Currently, the Linux JDK is used to bootstrap the build > process. The native FreeBSD port of JDK 1.1.8 should be > sufficient to bootstrap the build process. Could someone > please test this? I tried and I'm sorry that I have to report: No, it won't work. Sun explicitly checks for a JDK 1.2 implementation in their build/share/tools/sanityck script and (unfortunatly) there is a good reason they do so. The calling parameters for (at least) javac have changed quite a bit since 1.1, including what looks to me like some support especially for bootstrapping (options -bootclasspath and sourcepath). Removing those results in a lot of "Class not found" errors, which is when I gave up. It should still be possible to bootstrap using 1.1, but that will most likely require reworking the whole process (probably making it incompatible with 1.2 bootstrapping). As we have the Linux JDK, I don't think it would be worthwhile to persue this issue. Now if we could only get a licence to distribute binary releases ... :/ Bye, Rolf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 3 16: 6:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 74FAA37B55B for ; Mon, 3 Apr 2000 16:06:07 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id RAA22163; Mon, 3 Apr 2000 17:05:58 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id RAA04827; Mon, 3 Apr 2000 17:05:54 -0600 (MDT) (envelope-from nate) Date: Mon, 3 Apr 2000 17:05:54 -0600 (MDT) Message-Id: <200004032305.RAA04827@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Rolf Grossmann Cc: "Koster, K.J." , Subject: Re: Bootstrapping with JDK 1.1.8 In-Reply-To: <200004032216.AAA25123@blue.securitas.net> References: <59063B5B4D98D311BC0D0001FA7E452201313A23@l04.research.kpn.com> <200004032216.AAA25123@blue.securitas.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Now if we could only get a licence to distribute binary releases ... :/ We (members of the FreeBSD/JDK team) have signed licenses that allow us to make 'WWW' binary releases (the older license was a bit more stringent, but made it so I feel comfortable enough making public binary releases). However, building a version of the JDK that has Motif included in it (which now has to be done inside a shared library) requires that a custom version of Motif be built, in order to fully satisfy the Motif licensing issues. Using LessTif is not an acceptable solution. This was what stopped me in August/September of last year, and there has been no progress since then... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 3 17:17:26 2000 Delivered-To: freebsd-java@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id E04E337B5F5 for ; Mon, 3 Apr 2000 17:17:12 -0700 (PDT) (envelope-from mmercer@ipass.net) Received: from ipass.net (dsl-2-196.dsl.rdu.ipass.net [209.170.144.196] (may be forged)) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id UAA16438 for ; Mon, 3 Apr 2000 20:17:04 -0400 (EDT) Message-ID: <38E93483.3403F32F@ipass.net> Date: Mon, 03 Apr 2000 20:17:07 -0400 From: "Michael E. Mercer" Reply-To: mmercer@ipass.net X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: I finally got jdk1.2.2 to compile on the 4.0-Stable platform. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org People, I am ready to start testing this thing, do I need to install this or use it where it lives now? Also anyone got anything they would like me to test? later Michael Mercer mmercer@ipass.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Apr 3 18: 0: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from green.wl.vg (green.wl.vg.49.203.204.in-addr.arpa [204.203.49.94]) by hub.freebsd.org (Postfix) with ESMTP id 6A9C837B756 for ; Mon, 3 Apr 2000 18:00:02 -0700 (PDT) (envelope-from patrick@whetstonelogic.com) Received: from whetstonelogic.com (pathome [209.9.69.194]) by green.wl.vg (8.9.3/8.9.3) with ESMTP id RAA40374; Mon, 3 Apr 2000 17:58:15 -0700 (PDT) (envelope-from patrick@whetstonelogic.com) Message-ID: <38E93E23.42EE9F90@whetstonelogic.com> Date: Mon, 03 Apr 2000 20:58:11 -0400 From: Patrick Gardella Organization: Whetstone Logic, Inc. X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: mmercer@ipass.net, freebsd-java@freebsd.org Subject: Re: I finally got jdk1.2.2 to compile on the 4.0-Stable platform. References: <38E93483.3403F32F@ipass.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Michael E. Mercer" wrote: > > People, > > I am ready to start testing this thing, do I need to install this or use > it where it lives now? Try it where it lives now. If it doesn't work, move it. ;o) > Also anyone got anything they would like me to test? Well, the standard test we use is whether it will run all the demo applets in the demo folder. They are designed to hit nearly every aspect of the JDK. If it runs those, we can release it as an beta. Patrick ---------- Patrick Gardella patrick@whetstonelogic.com VP-Technology patrick@freebsd.org Whetstone Logic, Inc. This space intentionally left blank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 4 5:33:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id EF45837B604 for ; Tue, 4 Apr 2000 05:33:15 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNUAS5E56Q00139C@research.kpn.com> for freebsd-java@freebsd.org; Tue, 4 Apr 2000 14:33:13 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 04 Apr 2000 14:33:12 +0100 Content-return: allowed Date: Tue, 04 Apr 2000 14:33:11 +0100 From: "Koster, K.J." Subject: RE: Pre-alpha JDK 1.2.2 patches -- update To: 'Robert Swindells' , 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313A47@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > java.lang.IllegalArgumentException: Raster > ShortInterleavedRaster: width = 64 height = 64 > #numDataElements 1 is incompatible with ColorModel > DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 > The Blackdown JDK had this problem too. I saw it on their web site a while ago. They fixed it in their RC4. http://www.blackdown.org/java-linux/jdk1.2-status/known-bugs.html Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 4 6:23: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 56B5C37B859 for ; Tue, 4 Apr 2000 06:23:04 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNUCITPEJI0011BY@research.kpn.com> for freebsd-java@freebsd.org; Tue, 4 Apr 2000 15:23:00 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 04 Apr 2000 15:22:57 +0100 Content-return: allowed Date: Tue, 04 Apr 2000 15:22:53 +0100 From: "Koster, K.J." Subject: JIT howto's (was: Pre-alpha JDK 1.2.2 patches -- update) To: 'Rolf Grossmann' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313A4A@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > On January 1st, Albrecht Kleine announced what he called the > final release of his TYA jit compiler. So unless someone has > picked it up since then, I guess there won't be any support for > TYA. :( > More precisely (after mailing with Albrecht) he won't be doing new work on it. He is looking for a new challange. He did say that he'd do bug fixes. If anyone would be kind enough to test TYA and send me a little howto, I will put it up with the other two. Fuyuhiko Maruyama has already kindly given me the step-by-step howto to get the JIT's to work under the new port. I've put it (and the shujit patches) on my web site, under the heading "Sun Just in Time Compiler". http://web.inter.nl.net/users/kjkoster/java/index.html Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Apr 4 9:28:34 2000 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 3B39B37BAD7 for ; Tue, 4 Apr 2000 09:28:27 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from dittohead.is.titech.ac.jp by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id BAA00064; Wed, 5 Apr 2000 01:28:23 +0900 (JST) Date: Wed, 05 Apr 2000 01:28:26 +0900 Message-ID: <55aej9x239.wl@dittohead.is.titech.ac.jp> From: Fuyuhiko Maruyama To: K.J.Koster@kpn.com Cc: grossman@securitas.net, freebsd-java@freebsd.org Subject: Re: JIT howto's (was: Pre-alpha JDK 1.2.2 patches -- update) In-Reply-To: In your message of "Tue, 04 Apr 2000 15:22:53 +0100" <59063B5B4D98D311BC0D0001FA7E452201313A4A@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E452201313A4A@l04.research.kpn.com> User-Agent: Wanderlust/2.2.17 (One Of Us) on XEmacs/21.2.32 "Kastor & Polydeukes" MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Wed_Apr__5_01:28:20_2000-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Wed_Apr__5_01:28:20_2000-1 Content-Type: text/plain; charset=US-ASCII At Tue, 04 Apr 2000 15:22:53 +0100, Koster, K.J. wrote: > > > > > On January 1st, Albrecht Kleine announced what he called the > > final release of his TYA jit compiler. So unless someone has > > picked it up since then, I guess there won't be any support for > > TYA. :( > > > More precisely (after mailing with Albrecht) he won't be doing new work on > it. He is looking for a new challange. He did say that he'd do bug fixes. > > If anyone would be kind enough to test TYA and send me a little howto, I > will put it up with the other two. Fuyuhiko Maruyama has already kindly > given me the step-by-step howto to get the JIT's to work under the new port. > I've put it (and the shujit patches) on my web site, under the heading "Sun > Just in Time Compiler". I've tried TYA-1.7, and now I can tell you how to build and use TYA with FreeBSD JDK1.2.2. Installation: 1. Download tya1.7 (please refer older mail at freebsd-java ML). 2. Extract it. $ zcat tya17.tgz | tar xf - 3. Apply patch (attached to this mail). $ cd tya1.7 $ zcat tya.diffs.gz | patch 4. Build and install. $ configure --libdir=java $ gmake $ su Password: # gmake install Usage: $ setenv JAVA_COMPILER tya $ java YourProgram > http://web.inter.nl.net/users/kjkoster/java/index.html Thank you. This is very useful for me. -- MARUYAMA Fuyuhiko Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Tokyo Institute of Technology. --Multipart_Wed_Apr__5_01:28:20_2000-1 Content-Type: application/octet-stream; type=gzip Content-Disposition: attachment; filename="tya.diffs.gz" Content-Transfer-Encoding: base64 H4sICGUS6jgAA3R5YS5kaWZmcwDNVt9zmkAQfpa/YodmMjF46GFAINWJiSQ1be1Mkv546Iwh cOol9MgAWtu/vsdJMUZFkulDXzhvb3fv2/2WTxBC4IVsRMfTiKiUqWFEx5VrN4FLlwFgwJat 6zZugtZoNCRFUVbcK1+JD93HCECHRsPWjdzz5ATQUauGNVAWy8mJBBLcz0gU05C1b/fu3Zl7 RxmgcUQIX3qpQfXCH480IFF78GngAMrcQevs41sJwrh9O2XuDwIo5ra6T2Z1Ng2CWwnRESQk TkDeC2MZ2iCf87Sn1z0ZjiGZECahSvds+PH6YnjlXH/+cHMQES8cM/qb+DZkvrzomQtYxeoc HsMoqS6Ces55f+AcXPbeY9xatZ1fOQ4PTI334WMyDOidT6O2qtb5rzptmkZdlDdMJhFx/VhC JIiJpPgsgJ2IhddrUKeBG4A/M+fYhb0cfAFJlAAVz40JB/+XUhko49ZKSuNhisY4rKb7ggJO f0WMCOQGmn2riqEx9JoFCn9iQ8wMT7AJmr4GLfU8Pl5BYB6mxBQiCFzvwQ9/MoHCRDOcR6yx XhaIwj13c1spxLVGrVnNQ56zumpeslrZgngDq9xzMZfFqDZ1qwhV+X6NaMYffzyhUNs5Qul9 qpZPDz4yay1QsK7zJRufFXDz+by6HBUSu56E+OVirlMQEmR3nb1zzt73BxcHozACITnhCGI6 5vKXkHkCcRJNPf6ugYRWNDQXUCGLXEBbdtOyj442COgG9bSW6mkauIZNUNLV+B/kk3iTkJ+7 3jCR5RI6JAPu7Bs80OPd6HRE3T4ZxeoE3r797nw6l9AbvqdcAhZTA1hCwlwqJhv0p0EvkeDy +rW17lX5ysoV1FlY/POZLaum6f9MxrYDWXsv895XtneyvE6VZ97MLhZhW2+GNd5BmF8osgWl rQ+JIuyvV8WXN78kxLwHuxC+Sjm3ws6F88ncWloqm4qlGbnirCklt4mcaUoGsjch3gNlYyiU SVlWVVWEeNl1iyRyroW21dRsKJkNOvu6kN2P7gNvYrD8cr2ZEugRDzQMDWzrLVs3+SesZQnh feL9THqbTbtpLqV30Qb+NEUXLrtfuv3B2Yde/6qN+nsH6f60P+Dbap2TQ5kXTH2uqVuP6mPC pozO4TvvZIHbiLN7F/u73ALKpmkuVOCEwsAvQJQeL/LwIfoHWTiaXXn+VpdOkAQ33asL56bN Bzv55apxKP0BAHWIBIoMAAA= --Multipart_Wed_Apr__5_01:28:20_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 5 9:31:39 2000 Delivered-To: freebsd-java@freebsd.org Received: from euromail1.genrad.com (x83.genrad.co.uk [195.99.3.83]) by hub.freebsd.org (Postfix) with ESMTP id F216837BB5A for ; Wed, 5 Apr 2000 09:31:33 -0700 (PDT) (envelope-from swindellsr@genrad.co.uk) Received: from CDP437 (cdp437.uk.genrad.com [132.223.131.31]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H9RQS3ZX; Wed, 5 Apr 2000 17:31:30 +0100 From: Robert Swindells To: freebsd-java@freebsd.org Subject: JDK 1.2.2 Swing problems Reply-To: rjs@fdy2.demon.co.uk Message-Id: <20000405163134.F216837BB5A@hub.freebsd.org> Date: Wed, 5 Apr 2000 09:31:34 -0700 (PDT) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I had a look last night at the problems I was having running Swing apps connected to a 16bpp X server. There are some changes in the released Linux source for JDK 1.2.2 that look promising. I replaced src/share/classes/java/awt/image/DirectColorModel.java with the one from the Linux source and I now don't get an exception. The problem now is that all the window contents are black. There are some comments in the native parts of the Linux source that suggest that there was a byte-order problem that the Blackdown people fixed. I'll take a look at this tonight. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 5 9:42:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 99D2D37B724 for ; Wed, 5 Apr 2000 09:42:24 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA11400; Wed, 5 Apr 2000 10:42:19 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA15583; Wed, 5 Apr 2000 10:42:18 -0600 (MDT) (envelope-from nate) Date: Wed, 5 Apr 2000 10:42:18 -0600 (MDT) Message-Id: <200004051642.KAA15583@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rjs@fdy2.demon.co.uk Cc: freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.2.2 Swing problems In-Reply-To: <20000405163134.F216837BB5A@hub.freebsd.org> References: <20000405163134.F216837BB5A@hub.freebsd.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I had a look last night at the problems I was having running Swing > apps connected to a 16bpp X server. Note, Java (the language) explicityly doesn't support depths other than 8 and 24. 16bpp depths are certainly not supported, so although you may be able to workaround some of the bugs, the more you fix the more you'll find. The same sorts of problems plague WinXX users as well. My advice to you is to run in a different screen mode. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 5 10: 0:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from euromail1.genrad.com (x83.genrad.co.uk [195.99.3.83]) by hub.freebsd.org (Postfix) with ESMTP id 926A337BB5A for ; Wed, 5 Apr 2000 10:00:00 -0700 (PDT) (envelope-from swindellsr@genrad.co.uk) Received: from CDP437 (cdp437.uk.genrad.com [132.223.131.31]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id H9RQS36K; Wed, 5 Apr 2000 17:59:54 +0100 From: Robert Swindells To: nate@yogotech.com Cc: freebsd-java@FreeBSD.ORG In-reply-to: <200004051642.KAA15583@nomad.yogotech.com> (message from Nate Williams on Wed, 5 Apr 2000 10:42:18 -0600 (MDT)) Subject: Re: JDK 1.2.2 Swing problems Reply-To: rjs@fdy2.demon.co.uk Message-Id: <20000405170000.926A337BB5A@hub.freebsd.org> Date: Wed, 5 Apr 2000 10:00:00 -0700 (PDT) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> I had a look last night at the problems I was having running Swing >> apps connected to a 16bpp X server. >Note, Java (the language) explicityly doesn't support depths other than >8 and 24. 16bpp depths are certainly not supported, so although you may >be able to workaround some of the bugs, the more you fix the more you'll >find. The same sorts of problems plague WinXX users as well. The Blackdown JDK seems to work fine in 16bpp. As does 1.1.8. >My advice to you is to run in a different screen mode. My libretto has just enough display memory to run in 24bpp mode but I'm not sure about my main machine. I'll give it a try. Robert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Apr 5 10: 1:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 431C337B63F for ; Wed, 5 Apr 2000 10:01:31 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA11554; Wed, 5 Apr 2000 11:01:25 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA15815; Wed, 5 Apr 2000 11:01:24 -0600 (MDT) (envelope-from nate) Date: Wed, 5 Apr 2000 11:01:24 -0600 (MDT) Message-Id: <200004051701.LAA15815@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rjs@fdy2.demon.co.uk Cc: nate@yogotech.com, freebsd-java@FreeBSD.ORG Subject: Re: JDK 1.2.2 Swing problems In-Reply-To: <200004051700.LAA11544@ns.yogotech.com> References: <200004051642.KAA15583@nomad.yogotech.com> <200004051700.LAA11544@ns.yogotech.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> I had a look last night at the problems I was having running Swing > >> apps connected to a 16bpp X server. > > >Note, Java (the language) explicityly doesn't support depths other than > >8 and 24. 16bpp depths are certainly not supported, so although you may > >be able to workaround some of the bugs, the more you fix the more you'll > >find. The same sorts of problems plague WinXX users as well. > > The Blackdown JDK seems to work fine in 16bpp. As does 1.1.8. You're lucky. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 10:31: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 2108037BBC8 for ; Thu, 6 Apr 2000 10:30:46 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id TAA16580; Thu, 6 Apr 2000 19:30:24 +0200 (MET DST) Message-ID: <38ECC9A7.289D8D4C@jollem.com> Date: Thu, 06 Apr 2000 19:30:15 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Greg Lewis Cc: Martin Dieringer , freebsd-java@freebsd.org Subject: Re: JDK 1.2.2 compile: port Linux-sources? References: <200004010037.KAA21630@ares.trc.adelaide.edu.au> Content-Type: multipart/mixed; boundary="------------D6B55E49DEF8323A49AC8B1D" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------D6B55E49DEF8323A49AC8B1D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Seems we should be able to benefit from the Linux port, I created a diff for the whole source tree: http://www.znerd.demon.nl/jdk12diffs.bz2 Ernst Greg Lewis wrote: > > Hi Martin, > > > I was not shure which kind of sources to get from sun. > > So I recently got a file called jdk1_2_2-L-src-linux-09_Mar.zip from > > there, because I assumed this probably would be easier to port than the > > solaris sources. Did anybody try this? > > I haven't tried it, but I have definitely cribbed work from the Linux > sources. The problem is, as you can tell, they've only recently been > released, so up until mid March one had to port against the Solaris > sources. That said, people have long thought that the Linux sources > may be a better porting base -- so it might be worth having a go at if > someone has the time. > > -- > Greg Lewis glewis@trc.adelaide.edu.au > Computing Officer +61 8 8303 5083 > Teletraffic Research Centre > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------D6B55E49DEF8323A49AC8B1D Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------D6B55E49DEF8323A49AC8B1D-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 12: 6:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 2441937B9E0 for ; Thu, 6 Apr 2000 12:06:12 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id VAA00792; Thu, 6 Apr 2000 21:06:04 +0200 (MET DST) Message-ID: <38ECE01E.BB1951C7@jollem.com> Date: Thu, 06 Apr 2000 21:06:06 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Unable to compile JDK 1.2.2 Content-Type: multipart/mixed; boundary="------------3DB87C95E0A8BA3E80E9B87C" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------3DB87C95E0A8BA3E80E9B87C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get this message a few times: cc: language O4 not recognized And I get (and this is where gmake fails): /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x69): undefined reference to `main' gmake[4]: *** [../../../lib/i386/green_threads/libhpi.so] Error 1 gmake[4]: Leaving directory `/usr/home/ernst/prg/jdk1.2.2-src/build/freebsd/java/hpi/green I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file: bash-2.03$ cat build/freebsd/makefiles/Defs-freebsd.gmk | grep LDLIBS_COMMON LDLIBS_COMMON = LDLIBS_COMMON = $(JVMLIB) LDLIBS_COMMON = $(JVMLIB) LDLIBS_COMMON += -lc LDLIBS_COMMON += -lstdc++ -lgcc LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lc LDLIBS_COMMON += -xpg bash-2.03$ But no luck. My system is FreeBSD 3.4-STABLE on a P2-400, 128 MB. Any hints? Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------3DB87C95E0A8BA3E80E9B87C Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------3DB87C95E0A8BA3E80E9B87C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 12:11:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id F38E937C062 for ; Thu, 6 Apr 2000 12:11:23 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.hiwaay.net (8.10.0/8.10.0) with ESMTP id e36JBEw04400; Thu, 6 Apr 2000 14:11:14 -0500 (CDT) Date: Thu, 6 Apr 2000 14:11:14 -0500 (CDT) From: Steve Price To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Re: Unable to compile JDK 1.2.2 In-Reply-To: <38ECE01E.BB1951C7@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 6 Apr 2000, Ernst de Haan wrote: # I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get # this message a few times: [snip] # I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file: You won't be able to get it to compile unless you are using gcc295 IIRC. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 12:22:40 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id CD22D37C0AF for ; Thu, 6 Apr 2000 12:22:33 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA23709; Thu, 6 Apr 2000 13:22:20 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id NAA23177; Thu, 6 Apr 2000 13:22:19 -0600 (MDT) (envelope-from nate) Date: Thu, 6 Apr 2000 13:22:19 -0600 (MDT) Message-Id: <200004061922.NAA23177@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Steve Price Cc: Ernst de Haan , freebsd-java@FreeBSD.ORG Subject: Re: Unable to compile JDK 1.2.2 In-Reply-To: References: <38ECE01E.BB1951C7@jollem.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > # I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get > # this message a few times: > > [snip] > > # I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file: > > You won't be able to get it to compile unless you are using > gcc295 IIRC. Actually, apparently it now compiles with gcc 2.7.2.3, at least that what Greg mentioned a while back. ------------------------------------------------------------------------------ From: Greg Lewis To: "Shaffer, Gary R" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues Date: Sat, 25 Mar 2000 07:50:37 +1030 (CST) Hi Gary, > I would like to help by testing the jdk. All of my FreeBSD boxes at home are > 4.0-STABLE so my question to you is when are you going to make a newer set > of patches available? Since I'm doing this in my free time, I wouldn't really like to tie myself down to a release schedule. Having said that, I am very hopeful of getting out a new set this weekend which will incorporate the more recent fixes and some excellent work by Kees Jan Koster to get things working under the standard FreeBSD 3.x version of gcc (2.7.2.3 I believe). ... ------------------------------------------------------------------------------ Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 13: 2:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from portal.west.saic.com (portal.west.saic.com [198.151.12.15]) by hub.freebsd.org (Postfix) with SMTP id C073937BA81 for ; Thu, 6 Apr 2000 13:02:23 -0700 (PDT) (envelope-from GARY.R.SHAFFER@saic.com) Received: from cpmx.saic.com by portal.west.saic.com via smtpd (for hub.FreeBSD.ORG [204.216.27.18]) with SMTP; 6 Apr 2000 20:02:18 UT Received: from [139.121.95.12] by cpmx.mail.saic.com; Thu, 6 Apr 2000 13:01:35 -0700 Received: from cp-its-exbh01.mail.saic.com ([139.121.95.34]) by 139.121.95.12 (Norton AntiVirus for Internet Email Gateways 1.0) ; Thu, 06 Apr 2000 20:01:35 0000 (GMT) Received: by cp-its-exbh01.mail.saic.com with Internet Mail Service (5.5.2650.21) id ; Thu, 6 Apr 2000 13:01:37 -0700 Message-Id: <9C4E165721F7D311AC3D00805FBBB118312E11@US-SD-PLTC.mail.saic.com> From: "Shaffer, Gary R" To: "'nate@yogotech.com'" , "'glewis@trc.adelaide.edu.au'" Cc: freebsd-java@FreeBSD.ORG Subject: RE: Unable to compile JDK 1.2.2 Date: Thu, 6 Apr 2000 12:59:54 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thought the enclosed email looked familiar..... First question to Greg is: any idea when is a new set of diffs/patches will be made available. I have tried to incorporate the various diffspatches floating around on this list but I am having problems getting them to all apply/build.....It would be nice if everyone could submit their patches to a single person for deconfliction and inclusion into a weekly diff..just my 2 cents... Also, I do not know if this is possible or not, but I would like to toss it into the ring for discussion. But before I begin, let me put on my pointy Program Management hat...there thats better... What is the possiblility of having one person build and release a binary image that can be used by all that want to test but do not what to have to continously apply patches and rebuild. Maybe a protected or https connection that can be controlled so that a list of people who have downloaded it could be given to Sun or some other method else??? Because of the company I work for and the day-to-day research I perform, I have a vested interest in seeing jdk1.2.2 ported to FreeBSD (gotta help our stock price go up...) but I do not really have the time nor patients to constantly build/apply patch/rebuild/regression test/on/and/on/and/on....BUT I DO WANT TO HELP.. It also seems that if everyone (that wanted to) was testing against the same binaries we could achieve better and more consistant coverage in our testing of the JDK vice everyone rolling their own.... Just my 2 cents worth.....now I must take of this pointy hat they make me wear as a PM and go back to being a researcher that gets to do fun and wonderful things.... Regards, GRS --- Gary R. Shaffer gary.r.shaffer@saic.com Program Manager/Senior Software Engineer shafferg@saic.com Science Applications International Corporation (v) 858-826-5746 4035 Hancock Street, M/S T-2, San Diego CA. 92110 -----Original Message----- From: Nate Williams [mailto:nate@yogotech.com] Sent: Thursday, April 06, 2000 12:22 PM To: Steve Price Cc: Ernst de Haan; freebsd-java@FreeBSD.ORG Subject: Re: Unable to compile JDK 1.2.2 > # I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get > # this message a few times: > > [snip] > > # I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file: > > You won't be able to get it to compile unless you are using > gcc295 IIRC. Actually, apparently it now compiles with gcc 2.7.2.3, at least that what Greg mentioned a while back. ---------------------------------------------------------------------------- -- From: Greg Lewis To: "Shaffer, Gary R" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Pre-alpha JDK 1.2.2 patches -- issues Date: Sat, 25 Mar 2000 07:50:37 +1030 (CST) Hi Gary, > I would like to help by testing the jdk. All of my FreeBSD boxes at home are > 4.0-STABLE so my question to you is when are you going to make a newer set > of patches available? Since I'm doing this in my free time, I wouldn't really like to tie myself down to a release schedule. Having said that, I am very hopeful of getting out a new set this weekend which will incorporate the more recent fixes and some excellent work by Kees Jan Koster to get things working under the standard FreeBSD 3.x version of gcc (2.7.2.3 I believe). ... ---------------------------------------------------------------------------- -- Nate 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 Thu Apr 6 13:37:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id 2FA6837B705 for ; Thu, 6 Apr 2000 13:37:43 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from d1o90.telia.com (root@d1o90.telia.com [195.67.216.241]) by maile.telia.com (8.9.3/8.9.3) with ESMTP id WAA11220; Thu, 6 Apr 2000 22:37:09 +0200 (CEST) Received: from stordatan.telia.com (t4o90p93.telia.com [195.67.217.213]) by d1o90.telia.com (8.8.8/8.8.8) with ESMTP id WAA29159; Thu, 6 Apr 2000 22:36:22 +0200 (CEST) Received: from partitur.se (localhost [127.0.0.1]) by stordatan.telia.com (8.9.3/8.9.1) with ESMTP id WAA84217; Thu, 6 Apr 2000 22:36:52 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <38ECF564.FF1CF779@partitur.se> Date: Thu, 06 Apr 2000 22:36:52 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Using Java to add records to a DB file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I need to add records to a Berkeley DB file (the FreeBSD built in, version 1?) While I can find a java interface for the sleepycat.com versions 2 & 3, the version 1.85 (which has a different API) is hardly covered by that Java code. Has anyone seen or done anything like this? Really, all I need is to insert a record, nothing more. -- Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 14:31:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 1729F37B515 for ; Thu, 6 Apr 2000 14:31:31 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id HAA74834; Fri, 7 Apr 2000 07:01:13 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004062131.HAA74834@ares.trc.adelaide.edu.au> Subject: Re: Unable to compile JDK 1.2.2 In-Reply-To: <38ECE01E.BB1951C7@jollem.com> from Ernst de Haan at "Apr 6, 2000 09:06:06 pm" To: Ernst de Haan Date: Fri, 7 Apr 2000 07:01:13 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Ernst, > I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get > this message a few times: > > cc: language O4 not recognized Based on this, your problem is almost certainly that you didn't set the environment variable CC_VERSION. E.g. setenv CC_VERSION gcc (or CC_VERSION=gcc for Bourne shell people) as those are the kind of errors I get when I don't do that :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 14:36:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 5B15637C1D7 for ; Thu, 6 Apr 2000 14:36:36 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id HAA74881; Fri, 7 Apr 2000 07:06:09 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004062136.HAA74881@ares.trc.adelaide.edu.au> Subject: Re: Unable to compile JDK 1.2.2 In-Reply-To: <200004061922.NAA23177@nomad.yogotech.com> from Nate Williams at "Apr 6, 2000 01:22:19 pm" To: Nate Williams Date: Fri, 7 Apr 2000 07:06:09 +0930 (CST) Cc: Steve Price , Ernst de Haan , freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > # I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get > > # this message a few times: > > > > [snip] > > > > # I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file: > > > > You won't be able to get it to compile unless you are using > > gcc295 IIRC. > > Actually, apparently it now compiles with gcc 2.7.2.3, at least that > what Greg mentioned a while back. Nate is correct, patchset 4 will build with 2.7.2.3. Unfortunately, the next patch set currently won't, since I've reenabled the building of libhprof. This builds ok under 2.95.2, but generates an internal compiler error under 2.7.2.3 (which is noted in Thomas' original patches). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 14:54:51 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 70FEE37C1B1 for ; Thu, 6 Apr 2000 14:54:43 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id HAA75044; Fri, 7 Apr 2000 07:24:24 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004062154.HAA75044@ares.trc.adelaide.edu.au> Subject: Re: Unable to compile JDK 1.2.2 In-Reply-To: <9C4E165721F7D311AC3D00805FBBB118312E11@US-SD-PLTC.mail.saic.com> from "Shaffer, Gary R" at "Apr 6, 2000 12:59:54 pm" To: "Shaffer, Gary R" Date: Fri, 7 Apr 2000 07:24:24 +0930 (CST) Cc: "'nate@yogotech.com'" , "'glewis@trc.adelaide.edu.au'" , freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > First question to Greg is: any idea when is a new set of diffs/patches will > be made available. I have tried to incorporate the various diffspatches > floating around on this list but I am having problems getting them to all > apply/build.....It would be nice if everyone could submit their patches to a > single person for deconfliction and inclusion into a weekly diff..just my 2 > cents... I agree with this entirely. I'd hoped to stick to a weekly release schedule but got a few days behind last time and am currently a day behind with this one. But you get that with volunteer projects :). Having said that, I have incorporated the patches folks have sent in and want to release a new patch set today (my time, not US time). I doubt I will get it all done before work, so it will probably be after work. The differences will consist almost entirely of the patches people have sent to the list (thank you all!) but does break the build with gcc 2.7.2.3 (see previous post). On the positive side, it does get things building on 4.0 pretty much :). Please note that I have a major work deadline in two weeks, so I can't guarantee weekly releases over this time period. > Also, I do not know if this is possible or not, but I would like to toss it > into the ring for discussion. > > But before I begin, let me put on my pointy Program Management hat...there > thats better... > > What is the possiblility of having one person build and release a binary > image that can be used by all that want to test but do not what to have to > continously apply patches and rebuild. Maybe a protected or https > connection that can be controlled so that a list of people who have > downloaded it could be given to Sun or some other method else??? I downloaded the SCSL again yesterday to try and read the fine print. I'm not sure what the situation is with regards to binary releases, but I'm not about to make them before I'm sure that Sun won't get shirty :). > Because of the company I work for and the day-to-day research I perform, I > have a vested interest in seeing jdk1.2.2 ported to FreeBSD (gotta help our > stock price go up...) but I do not really have the time nor patients to > constantly build/apply patch/rebuild/regression test/on/and/on/and/on....BUT > I DO WANT TO HELP.. I will definitely grant you that the build cycle is long and so forth. This slows down the work on it from many angles (sometimes building individual chunks doesn't cut it and you have to basically rebuild almost everything). > It also seems that if everyone (that wanted to) was testing against the same > binaries we could achieve better and more consistant coverage in our testing > of the JDK vice everyone rolling their own.... > > Just my 2 cents worth.....now I must take of this pointy hat they make me > wear as a PM and go back to being a researcher that gets to do fun and > wonderful things.... Gary, I definitely agree with the goal of having a binary release. I'm certainly looking into the potential technical and legal difficulties which stand in the way of doing this. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 16:56:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id C657B37BA30 for ; Thu, 6 Apr 2000 16:56:47 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id BAA07646; Fri, 7 Apr 2000 01:56:34 +0200 (MET DST) Message-ID: <38ED2433.D358C65D@jollem.com> Date: Fri, 07 Apr 2000 01:56:35 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Unable to compile JDK 1.2.2 References: <200004062131.HAA74834@ares.trc.adelaide.edu.au> Content-Type: multipart/mixed; boundary="------------E9336AC97295F79EB05E40B9" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------E9336AC97295F79EB05E40B9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Lewis wrote: -----------------8<----------------------- > > I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get > > this message a few times: > > > > cc: language O4 not recognized > > Based on this, your problem is almost certainly that you didn't set the > environment variable CC_VERSION. E.g. > > setenv CC_VERSION gcc > > (or CC_VERSION=gcc for Bourne shell people) > > as those are the kind of errors I get when I don't do that :). -----------------8<----------------------- Yup, that was the problem. Thanks a lot, Greg! I used the wrong syntax /:) It builds as I write this email :)= I am sending the output of the make process to a file. I will filter it for warnings and errors, and then put it somewhere online. I'll post the URL. The compile process is IMHO very slow, I think I'll try to relink bin/javac to jikes. That may dramatically improve speed (*if* it works). BTW: Thanks to all who responded so quickly to my email (Greg, Steve, Nate and Gary), I think it's fabulous to see the teamspirit and enthusiasm :) Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------E9336AC97295F79EB05E40B9 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------E9336AC97295F79EB05E40B9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Apr 6 23:28:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 3810637C322 for ; Thu, 6 Apr 2000 23:28:27 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JNY4WVEV5O0014VU@research.kpn.com> for freebsd-java@freebsd.org; Fri, 7 Apr 2000 08:28:23 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Fri, 07 Apr 2000 08:28:23 +0100 Content-return: allowed Date: Fri, 07 Apr 2000 08:28:22 +0100 From: "Koster, K.J." Subject: RE: Unable to compile JDK 1.2.2 To: 'Greg Lewis' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313A6D@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > ... but does break the build with gcc 2.7.2.3 ... > Argh! That was the last time I backport your patches to gcc 2.7.2.3, Greg. :-) > > ... constantly build/apply patch/rebuild/regression > test/on/and/on/and/on ... > Alternately, you could download the Mauve test suite and add your tests to it. I've been running that test suite for a while now, and it would be nice to see a few more tests. Most notably, byte code execution is not tested at all through Mauve. That road would have your contribution, without having to rebuild any JDK. :-) Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 7 5:51: 5 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 9BA3237BBFB for ; Fri, 7 Apr 2000 05:50:59 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id WAA07206 for freebsd-java@freebsd.org; Fri, 7 Apr 2000 22:20:58 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004071250.WAA07206@ares.trc.adelaide.edu.au> Subject: Pre-alpha JDK 1.2.2 patchset 5 To: freebsd-java@freebsd.org Date: Fri, 7 Apr 2000 22:20:57 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a new set of PRE-ALPHA source code patches for the JDK 1.2.2 source. These patches are unofficial and no abuse should be directed towards the FreeBSD java porting team for them :). This new set (patchset 5) can be gotten from http://www.eyesbeyond.com/freebsd-jdk122-patches-5.tar.gz (this message is included in the tar ball as the file ANNOUNCEMENT). Please read the file THANKS for a list of the large number of people who should be thanked that things have gotten this far! The following ISSUES have been addressed since patchset 4 (see the ISSUES files for more details). Issue 1. A clean build on FreeBSD 4.0 is much closer, testing and work is still needed though. Issue 6. Robert Swindells provided an updated font.properties file. Issue 8e. libhprof now builds (but only with gcc 2.95.2 -- it generates an internal compiler error under gcc 2.7.2.3). Issue 12. A number of open source JITs have been tested by Fuyuhiko Maruyama. He has provided instructions and, where necessary, patches which are available on Kees Jan Koster's web site (see below). There have also been two additional ISSUES. For more information about the port, consult Kees Jan Koster's web pages at http://web.inter.nl.net/users/kjkoster/java/index.html Please test as much as possible! -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 7 5:56: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp.mail.yahoo.com (smtp.mail.yahoo.com [128.11.68.32]) by hub.freebsd.org (Postfix) with SMTP id C37F137B8CD for ; Fri, 7 Apr 2000 05:56:05 -0700 (PDT) (envelope-from pranje@yahoo.com) Received: from unknown (HELO yahoo.com) (203.197.180.220) by smtp.mail.yahoo.com with SMTP; 6 Apr 2000 20:35:18 -0700 X-Apparently-From: Message-ID: <38ED5872.9D27B322@yahoo.com> Date: Fri, 07 Apr 2000 09:09:30 +0530 From: Pran Joseph Reply-To: pranje@yahoo.com X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Newbie Help Required Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I am new to freebsd. I have feebsd 3.4 machine with jdk1.1.8 installed. I have installed lesstif and made lesstif the Xwindows manager. When I try to run the demo applets with jdk1.1.8 using Netscape gold it gives error messages in java console and the chart is not getting displayed. The message in java console is: java.lang.NoSuchMethodError: java.awt.Component: method getSize ()Ljava/awt/Dimension; not found at Chart.paint(Chart.java:187) at sun.awt.motif.MComponentPeer.paint(MComponentPeer.java:125) * at sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:264) at java.lang.Thread.run(Thread.java:296) java.lang.NoSuchMethodError: java.awt.Component: method getSize ()Ljava/awt/Dimension; not found at Chart.paint(Chart.java:187) at sun.awt.motif.MComponentPeer.paint(MComponentPeer.java:125) * at sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:264) at java.lang.Thread.run(Thread.java:296) Any of you know what is the reason for this error message. All the demo applets are giving error messages similar to this. -Pran Joseph __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 7 6:40: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from c187104187.telekabel.chello.nl (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id D7BD037BDEC for ; Fri, 7 Apr 2000 06:39:54 -0700 (PDT) (envelope-from ernst@c187104187.telekabel.chello.nl) Received: (from ernst@localhost) by c187104187.telekabel.chello.nl (8.9.3/8.9.3) id PAA49969 for freebsd-java@freebsd.org; Fri, 7 Apr 2000 15:39:54 +0200 (CEST) (envelope-from ernst) Date: Fri, 7 Apr 2000 15:39:54 +0200 (CEST) From: Ernst de Haan Message-Id: <200004071339.PAA49969@c187104187.telekabel.chello.nl> To: freebsd-java@freebsd.org Subject: Patchset 4 compile stderr output Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As promised, the stderr output for the gmake world: http://www.znerd.demon.nl/jdk12compile.err.bz2 Perhaps it will be useful. Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Apr 7 10:39: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 3069237BDF3 for ; Fri, 7 Apr 2000 10:38:58 -0700 (PDT) (envelope-from mmercer@ipass.net) Received: from ipass.net (dsl-2-196.dsl.rdu.ipass.net [209.170.144.196] (may be forged)) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id NAA29297 for ; Fri, 7 Apr 2000 13:38:54 -0400 (EDT) Message-ID: <38EE1D2F.13822DC5@ipass.net> Date: Fri, 07 Apr 2000 13:38:56 -0400 From: "Michael E. Mercer" Reply-To: mmercer@ipass.net X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "'FreeBSD Java mailing list'" Subject: compile error in FreeBSD 4.0-Stable Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hello all, this is the current error I get when compiling with patchset 5.... I have dgs and unixODBC installed... using linux-jdk1.2.2 to bootstrap. does anyone see anything wrong with my logic/environment settings? I am using this script to run 'gmake world' >>>start build script #!/usr/local/bin/tcsh setenv ALT_BOOTDIR /usr/local/linux-jdk1.2.2 setenv ALT_MOTIF_DIR /usr/X11R6/LessTif setenv ALT_ODBCDIR /usr/local/ setenv ALT_DPSDIR /usr/local setenv CC_VERSION gcc unsetenv CLASSPATH unsetenv JAVA_HOME cd ${HOME}/jdk1.2.2.src/build/freebsd gmake world >>>end build script as a convienence, I wrote this script to create the freebsd directories and install the patches. This assumes you have a freshly untarred jdk1.2.2 source with no previous patches... >>> start patch script #!/bin/sh JDKHOME=${HOME}/jdk1.2.2.src/ cd ${JDKHOME}/build cp -R solaris freebsd cd ${JDKHOME}/src cp -R solaris freebsd cd ${JDKHOME}/build/freebsd patch -p1 < ${JDKHOME}/pat5/build.patches cd ${JDKHOME}/build/share patch -p1 < ${JDKHOME}/pat5/buildshare.patches cd ${JDKHOME}/src/freebsd patch -p1 < ${JDKHOME}/pat5/src.patches cd ${JDKHOME}/src/share patch -p1 < ${JDKHOME}/pat5/srcshare.patches >>> end patch script ======================================================================= g++ -O2 -g -W -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations -Wne sted-externs -fPIC -DHAVE_DPS -I/usr/local/include -DCC_NOEX -Di386 -DHAVE_POL L -D_REENTRANT -I. -ICClassHeaders -I../../../../src/freebsd/javavm/export -I../ ../../../src/share/javavm/export -I../../../../src/share/native/common -I../../. ./../src/freebsd/native/common -I../../../../src/share/native/sun/awt/font -I. ./../../../src/freebsd/native/sun/awt/font -I../../../../src/share/native/sun/aw t/font -I../../../../src/share/native/sun/awt/font/fontmanager/include -I../../. ./../src/share/native/sun/awt/font/t2k -I../../../../src/share/native/sun/awt/im age/cvutils -I../../../../src/freebsd/native/sun/awt -I../../../../src/share/nat ive/sun/java2d/loops -I/usr/X11R6/include -I/usr/X11R6/include/X11 -DOPENWINHOME ="\"/usr/X11R6\"" -c -o obj/i386/nrScalerContext.o ../../../../src/freebsd/nati ve/sun/awt/font/nrScalerContext.cpp ../../../../src/freebsd/native/sun/awt/font/nrScalerContext.cpp: In method `void X11nrScalerContext::GeneratePath(short unsigned int, hsPathSpline *, hsFixedPoi nt2 *)': ../../../../src/freebsd/native/sun/awt/font/nrScalerContext.cpp:1650: passing `v oid (*)(_t_DPSContextRec *, char *, long unsigned int)' as argument 10 of `XDPSC reateContext(Display *, long unsigned int, _XGC *, int, int, unsigned int, XStan dardColormap *, XStandardColormap *, int, void (*)(), void (*)(), _t_DPSSpaceRec *)' ../../../../src/freebsd/native/sun/awt/font/nrScalerContext.cpp: In method `clas s hsGScalerContext * nrFontScaler::CreateContext(const hsDescriptorHeader *)': ../../../../src/freebsd/native/sun/awt/font/nrScalerContext.cpp:2374: warning: m ulti-character character constant ../../../../src/share/native/sun/awt/font/fontmanager/include/hsTemplates.h: In method `Int32 hsDynamicArray::Append(const MapperPair &)': ../../../../src/freebsd/native/sun/awt/font/nrScalerContext.cpp:742: instantia ted from here ../../../../src/share/native/sun/awt/font/fontmanager/include/hsTemplates.h:304: warning: statement with no effect gmake[3]: *** [obj/i386/nrScalerContext.o] Error 1 gmake[3]: Leaving directory `/home/mmercer/jdk1.2.2.src/build/freebsd/sun/font' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/home/mmercer/jdk1.2.2.src/build/freebsd/sun/font' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/home/mmercer/jdk1.2.2.src/build/freebsd/sun' gmake: *** [all] Error 1 later Michael Mercer mmercer@ipass.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 7:28:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 0C55037B980 for ; Sat, 8 Apr 2000 07:28:00 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id QAA27267; Sat, 8 Apr 2000 16:27:54 +0200 (MET DST) Message-ID: <38EF41EB.D419129F@jollem.com> Date: Sat, 08 Apr 2000 16:27:55 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: FYI: Object creation test Content-Type: multipart/mixed; boundary="------------964A3C7D37EF411E618CA567" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit FYI: I've tested the fresh JDK 1.2.2 for FreeBSD using some object creation test program I wrote a while ago. I compared the results with the JDK 1.1.8 (FreeBSD) and the Blackdown JDK 1.2.2 rc4 (Linux). All tested on a Pentium II-400, 128 MB memory. The maximum and initial heap sizes were set to 64M, and 1M objects were created. The results: --- Number of object creates per second -- FreeBSD 1.1.8 222061 Blackdown 1.2.2rc4 163253 (without JIT) Blackdown 1.2.2rc4 434552 (with sunwjit) FreeBSD 1.2.2 (pre) 160112 Sun 1.2.2 Linux 170861 ** FAILED ** The Sun JDK 1.2.2 for Linux did not complete the test. On all JVM implementations the number of bytes per object seems to be 16. The full results are enclosed, if you would like the source for the test program, you can download it from: http://www.znerd.demon.nl/ObjectCreationTest.java Execute java com.jollem.tests.objectcreation to see how you should use the program. Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii; name="jdk11-oc-results" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk11-oc-results" bash-2.03$ . jdk11 ; ./ObjectCreationTest.sh >> Initializing Java libraries for JDK 1.1 (FreeBSD) -- Java Development Kit 1.1 -- Swing 1.0.3 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 1.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries >> Executing "java -version" returns: java_X version "1.1.8" >> Starting ObjectCreationTest, settings are: -- Java version: 1.1 -- Initial heap: 64M -- Maximum heap: 64M -- Object count: 1M JVM vendor: (unknown) JVM name: (unknown) JVM version: (unknown) OS: FreeBSD OS version: 3.4-STABLE OS architecture: x86 >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 887kB 496B Used memory: 136kB 520B >> Creating 1048576 object instances... [ DONE ] Created 1048576 objects in 4722 ms Created 222061.8382041508 objects per second This JVM allocates 16 bytes per object. Total memory: 63MB 1023kB 1016B Free memory: 43MB 753kB 456B Used memory: 20MB 270kB 560B >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 885kB 344B Used memory: 138kB 672B bash-2.03$ --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii; name="jdk12b-oc-results" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12b-oc-results" bash-2.03$ . jdk12b ; ./ObjectCreationTest.sh >> Initializing Java libraries for Blackdown JDK 1.2 (Linux) -- Java Development Kit 1.2 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries >> Executing "java -version" returns: java version "1.2.2" Classic VM (build Linux_JDK_1.2.2_RC4, green threads, nojit) >> Starting ObjectCreationTest, settings are: -- Java version: 1,2 -- Initial heap: 64M -- Maximum heap: 64M -- Object count: 1M JVM vendor: Blackdown Java-Linux Team JVM name: Classic VM JVM version: 1.2.2 OS: Linux OS version: 2.0.36 OS architecture: i386 >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 209kB 552B Used memory: 814kB 464B >> Creating 1048576 object instances... [ DONE ] Created 1048576 objects in 6423 ms Created 163253.30842285536 objects per second This JVM allocates 16 bytes per object. Total memory: 63MB 1023kB 1016B Free memory: 43MB 75kB 512B Used memory: 20MB 948kB 504B >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 207kB 712B Used memory: 816kB 304B bash-2.03$ --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii; name="jdk12b-jit-oc-results" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12b-jit-oc-results" bash-2.03$ . jdk12b ; ./ObjectCreationTest.sh >> Initializing Java libraries for Blackdown JDK 1.2 (Linux) -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries >> Executing "java -version" returns: java version "1.2.2" Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) >> Starting ObjectCreationTest, settings are: -- Java version: 1,2 -- Initial heap: 64M -- Maximum heap: 64M -- Object count: 1M JVM vendor: Blackdown Java-Linux Team JVM name: Classic VM JVM version: 1.2.2 OS: Linux OS version: 2.0.36 OS architecture: i386 >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 217kB 80B Used memory: 806kB 936B >> Creating 1048576 object instances... [ DONE ] Created 1048576 objects in 2413 ms Created 434552.8387898881 objects per second This JVM allocates 16 bytes per object. Total memory: 63MB 1023kB 1016B Free memory: 43MB 83kB 40B Used memory: 20MB 940kB 976B >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 216kB 144B Used memory: 807kB 872B bash-2.03$ --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii; name="jdk12f-oc-results" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12f-oc-results" bash-2.03$ . jdk12f ; ./ObjectCreationTest.sh >> Initializing Java libraries for Custom JDK 1.2 (FreeBSD) -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries >> Executing "java -version" returns: java version "ernst:04.07.00-08:56" Classic VM (build ernst:04.07.00-08:56, green threads, nojit) >> Starting ObjectCreationTest, settings are: -- Java version: 1,2 -- Initial heap: 64M -- Maximum heap: 64M -- Object count: 1M JVM vendor: Sun Microsystems Inc. JVM name: Classic VM JVM version: ernst:04.07.00-08:56 OS: FreeBSD OS version: 3.4-STABLE OS architecture: i386 >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 271kB 536B Used memory: 752kB 480B >> Creating 1048576 object instances... [ DONE ] Created 1048576 objects in 6549 ms Created 160112.3835700107 objects per second This JVM allocates 16 bytes per object. Total memory: 63MB 1023kB 1016B Free memory: 43MB 137kB 496B Used memory: 20MB 886kB 520B >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 269kB 696B Used memory: 754kB 320B bash-2.03$ --------------964A3C7D37EF411E618CA567 Content-Type: text/plain; charset=us-ascii; name="jdk12s-oc-results" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12s-oc-results" bash-2.03$ . jdk12s ; ./ObjectCreationTest.sh >> Initializing Java libraries for Sun JDK 1.2 (Linux) -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries >> Executing "java -version" returns: java version "1.2.2" Classic VM (build 1.2.2-L, green threads, nojit) >> Starting ObjectCreationTest, settings are: -- Java version: 1,2 -- Initial heap: 64M -- Maximum heap: 64M -- Object count: 1M JVM vendor: Sun Microsystems Inc. JVM name: Classic VM JVM version: 1.2.2 OS: Linux OS version: 2.0.36 OS architecture: i386 >> Collecting garbage... [ DONE ] Total memory: 63MB 1023kB 1016B Free memory: 63MB 226kB 168B Used memory: 797kB 848B >> Creating 1048576 object instances... [ DONE ] Created 1048576 objects in 6611 ms Created 158610.80018151566 objects per second This JVM allocates 16 bytes per object. Total memory: 63MB 1023kB 1016B Free memory: 43MB 92kB 128B Used memory: 20MB 931kB 888B >> Collecting garbage... --------------964A3C7D37EF411E618CA567 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------964A3C7D37EF411E618CA567-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 7:30:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 6223F37B60D for ; Sat, 8 Apr 2000 07:30:40 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id QAA27578; Sat, 8 Apr 2000 16:30:38 +0200 (MET DST) Message-ID: <38EF428E.EF2D890@jollem.com> Date: Sat, 08 Apr 2000 16:30:38 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: FYI: Object creation test References: <38EF41EB.D419129F@jollem.com> Content-Type: multipart/mixed; boundary="------------F1BE24ADCE4A76DCC0607982" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------F1BE24ADCE4A76DCC0607982 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit *** Errata *** Ernst de Haan wrote: > > FYI: I've tested the fresh JDK 1.2.2 for FreeBSD using some object > creation test program I wrote a while ago. I compared the results with the > JDK 1.1.8 (FreeBSD) and the Blackdown JDK 1.2.2 rc4 (Linux). All tested on And the Sun JDK 1.2.2. > Execute > > java com.jollem.tests.objectcreation This should be: java com.jollem.tests.objectcreation.ObjectCreationTest Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------F1BE24ADCE4A76DCC0607982 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------F1BE24ADCE4A76DCC0607982-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 8: 9: 5 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id B49AA37B62D for ; Sat, 8 Apr 2000 08:09:00 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id AAA17102; Sun, 9 Apr 2000 00:38:50 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004081508.AAA17102@ares.trc.adelaide.edu.au> Subject: Re: FYI: Object creation test In-Reply-To: <38EF41EB.D419129F@jollem.com> from Ernst de Haan at "Apr 8, 2000 04:27:55 pm" To: Ernst de Haan Date: Sun, 9 Apr 2000 00:38:50 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Ernst, > FYI: I've tested the fresh JDK 1.2.2 for FreeBSD using some object > creation test program I wrote a while ago. I compared the results with the > JDK 1.1.8 (FreeBSD) and the Blackdown JDK 1.2.2 rc4 (Linux). All tested on > a Pentium II-400, 128 MB memory. The maximum and initial heap sizes were > set to 64M, and 1M objects were created. > > The results: > > --- Number of object creates per second -- > FreeBSD 1.1.8 222061 > Blackdown 1.2.2rc4 163253 (without JIT) > Blackdown 1.2.2rc4 434552 (with sunwjit) > FreeBSD 1.2.2 (pre) 160112 > Sun 1.2.2 Linux 170861 ** FAILED ** Interesting. So we are roughly the same as the Blackdown JDK. I wonder what difference compiling with some agressive optimisation makes. I'm also curious how the open source JITs perform in comparison to sunwjit with the Blackdown JDK. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 9:42:38 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 70B0C37B6C1 for ; Sat, 8 Apr 2000 09:42:34 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id SAA11640; Sat, 8 Apr 2000 18:42:22 +0200 (MET DST) Message-ID: <38EF616F.20F1F463@jollem.com> Date: Sat, 08 Apr 2000 18:42:23 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: FYI: Object creation test References: <200004081508.AAA17102@ares.trc.adelaide.edu.au> Content-Type: multipart/mixed; boundary="------------2F2C5838DEDF4D8D8D0DA5F1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------2F2C5838DEDF4D8D8D0DA5F1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > --- Number of object creates per second -- > > FreeBSD 1.1.8 222061 > > Blackdown 1.2.2rc4 163253 (without JIT) > > Blackdown 1.2.2rc4 434552 (with sunwjit) > > FreeBSD 1.2.2 (pre) 160112 > > Sun 1.2.2 Linux 170861 ** FAILED ** > > Interesting. So we are roughly the same as the Blackdown JDK. I wonder > what difference compiling with some agressive optimisation makes. I'm also > curious how the open source JITs perform in comparison to sunwjit with the > Blackdown JDK. We should be able to get *at least* the performance of the JDK 1.1.8 I'd say :) Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------2F2C5838DEDF4D8D8D0DA5F1 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------2F2C5838DEDF4D8D8D0DA5F1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 9:53: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id EB1A337BA9D for ; Sat, 8 Apr 2000 09:53:01 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA16108; Sat, 8 Apr 2000 10:52:54 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA11442; Sat, 8 Apr 2000 10:52:53 -0600 (MDT) (envelope-from nate) Date: Sat, 8 Apr 2000 10:52:53 -0600 (MDT) Message-Id: <200004081652.KAA11442@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ernst de Haan Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: FYI: Object creation test In-Reply-To: <38EF616F.20F1F463@jollem.com> References: <200004081508.AAA17102@ares.trc.adelaide.edu.au> <38EF616F.20F1F463@jollem.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > --- Number of object creates per second -- > > > FreeBSD 1.1.8 222061 > > > Blackdown 1.2.2rc4 163253 (without JIT) > > > Blackdown 1.2.2rc4 434552 (with sunwjit) > > > FreeBSD 1.2.2 (pre) 160112 > > > Sun 1.2.2 Linux 170861 ** FAILED ** > > > > Interesting. So we are roughly the same as the Blackdown JDK. I wonder > > what difference compiling with some agressive optimisation makes. I'm also > > curious how the open source JITs perform in comparison to sunwjit with the > > Blackdown JDK. > > We should be able to get *at least* the performance of the JDK 1.1.8 I'd > say :) Now that Greg's has the assembly interpreter working, yes. However, there are probably fixes in the 1.1.8 code that are probably not yet in the JDK1.2.2 patches, but that should hopefully change soon. :) :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 12: 8:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 8227A37B84D for ; Sat, 8 Apr 2000 12:08:38 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id VAA28668; Sat, 8 Apr 2000 21:08:35 +0200 (MET DST) Message-ID: <38EF83B4.B6EE7FC8@jollem.com> Date: Sat, 08 Apr 2000 21:08:36 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: FYI: FIXME's for patchset 4 Content-Type: multipart/mixed; boundary="------------16ADAA39109279098778140C" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------16ADAA39109279098778140C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Here's a list of the FIXME's in JDK 1.2.2 patchset 4. The idea is (c) Copyleft Kees-Jan :) Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------16ADAA39109279098778140C Content-Type: text/plain; charset=us-ascii; name="jdk12-ps4-fixmes" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12-ps4-fixmes" bash-2.03$ grep -n FIXME `find *` hpi/green_threads/src/threads_md.c:1104: * FIXME: Someone who knows more about green threads, please implement hpi/green_threads/src/interrupt_md.c:143: /* FIXME: Need support for more than 32 signals in FreeBSD 4.0 */ hpi/green_threads/src/interrupt_md.c:169: /* FIXME: Need support for more than 32 signals in FreeBSD 4.0 */ hpi/green_threads/src/threads_md.c.orig:1071: * FIXME: Someone who knows more about green threads, please implement javavm/runtime/javai_md.c:61: /* FIXME: Caused seg fault */ native/sun/awt/awt_Robot.c:551: /* FIXME: Is this the correct FreeBSD version? */ bash-2.03$ --------------16ADAA39109279098778140C Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------16ADAA39109279098778140C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 15:15:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id B8D4E37B59C for ; Sat, 8 Apr 2000 15:15:27 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id AAA18556; Sun, 9 Apr 2000 00:15:25 +0200 (MET DST) Message-ID: <38EFAF7E.2C47B3FE@jollem.com> Date: Sun, 09 Apr 2000 00:15:26 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Analysis of compile warnings/errors (patchset 4) Content-Type: multipart/mixed; boundary="------------1F290E75CF7BE1DF2F955E29" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------1F290E75CF7BE1DF2F955E29 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, On advise of Kees-Jan (thanx m8!) I analysed the output the compile process sent to stderr. I've written a script that does the analysis by counting the number of occurences of certain messages. Both the script and the results for patchset 4 are attached. This script can also be used to alalyze future patchsets. This should give us an idea of what kind of lexical errors and warnings our port still has. If you want to execute the script (filter-compile-errors), then you should first change the filename setting in the script to reflect the location of file that contains the stderr output. PS: Perhaps using lint to catch some common (and less common) mistakes is a good idea. Ernst -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------1F290E75CF7BE1DF2F955E29 Content-Type: text/plain; charset=us-ascii; name="jdk12-compile-err-analysis" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12-compile-err-analysis" bash-2.03$ ./filter-compile-errors >> Using temporary file /tmp/dm5247 >> Copying `/home/ernst/private/research-jdk12compile-errors/jdk12compile.err' to `remains' >> Removing lines "In function"... [ DONE ] >> Removing lines "^1 warning$"... [ DONE ] >> Removing lines "^ from .*\..*:[0-9]*[,:]$"... [ DONE ] >> Removing lines "In file included from"... [ DONE ] >> Removing lines "^\[Parsed DTD .* in [0-9]*ms\]$"... [ DONE ] >> Removing lines "Warning: JIT compiler ".*" not found\. Will use interpreter\."... [ DONE ] >> Removing lines "this is the location of the previous definition"... [ DONE ] >> Removing lines "Error.* (ignored)$"... [ DONE ] >> Removing lines "files use or override a deprecated API"... [ DONE ] >> Removing lines "At top level"... [ DONE ] >> Searching for "comparison between signed and unsigned"... [ 475 ] >> Searching for "left shift count >= width of type"... [ 54 ] >> Searching for "no previous prototype for"... [ 204 ] >> Searching for "nested extern declaration of"... [ 26 ] >> Searching for "warning: `.*' redefined"... [ 4 ] >> Searching for "implicit declaration of"... [ 10 ] >> Searching for "long int format"... [ 2 ] >> Searching for "this file includes which is deprecated"... [ 14 ] >> Searching for "cast to pointer from integer of different size"... [ 2 ] >> Searching for "cast from pointer to integer of different size"... [ 4 ] >> Searching for "unsigned value >= 0 is always 1"... [ 4 ] >> Searching for "warning: assignment makes pointer from integer without a cast"... [ 12 ] >> Searching for "was used with no prototype before its definition"... [ 6 ] >> Searching for "might be used uninitialized in this function"... [ 1 ] >> Searching for "passing arg [0-9]* of `.*' makes integer from pointer without a cast"... [ 2 ] >> Searching for "java uses or overrides a deprecated API"... [ 10 ] >> Searching for "^cd: can't cd to "... [ 2 ] >> Searching for "[Nn]o such file or directory"... [ 30 ] >> Searching for "Note: Method .*(.*) in class .* does not override"... [ 1 ] bash-2.03$ --------------1F290E75CF7BE1DF2F955E29 Content-Type: text/plain; charset=us-ascii; name="filter-compile-errors" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="filter-compile-errors" #!/bin/sh # # $Id$ # # # # # Version: $Revision$ $Date$ # Authors: Ernst de Haan # # The file that contains the stderr output from the compile process # Change this to the name of the file on your system file=${HOME}/private/research-jdk12compile-errors/jdk12compile.err step=0 tempfile=`mktemp /tmp/XXXXXX` remainfile=remains find-msg() { local num=0 local nextstep=0 nextstep=$((${step}+1)) echo -n ">> Searching for \"${re}\"..." num=`grep -c "${re}" ${remainfile}` echo " [ ${num} ]" grep -v "${re}" ${remainfile} > ${tempfile} cp ${tempfile} ${remainfile} } remove-lines() { echo -n ">> Removing lines \"${re}\"..." echo " [ DONE ]" grep -v "${re}" ${remainfile} > ${tempfile} cp ${tempfile} ${remainfile} } echo ">> Using temporary file ${tempfile}" echo ">> Copying \`${file}' to \`${remainfile}'" cp ${file} ${remainfile} re="In function" remove-lines re="^1 warning$" remove-lines re="^ from .*\..*:[0-9]*[,:]$" remove-lines re="In file included from" remove-lines re="^\[Parsed DTD .* in [0-9]*ms\]$" remove-lines re="Warning: JIT compiler \".*\" not found\. Will use interpreter\." remove-lines re="this is the location of the previous definition" remove-lines re="Error.* (ignored)$" remove-lines re="files use or override a deprecated API" remove-lines re="At top level" remove-lines re="comparison between signed and unsigned" find-msg re="left shift count >= width of type" find-msg re="no previous prototype for" find-msg re="nested extern declaration of" find-msg re="warning: \`.*' redefined" find-msg re="implicit declaration of" find-msg re="long int format" find-msg re="this file includes which is deprecated" find-msg re="cast to pointer from integer of different size" find-msg re="cast from pointer to integer of different size" find-msg re="unsigned value >= 0 is always 1" find-msg re="warning: assignment makes pointer from integer without a cast" find-msg re="was used with no prototype before its definition" find-msg re="might be used uninitialized in this function" find-msg re="passing arg [0-9]* of \`.*' makes integer from pointer without a cast" find-msg re="java uses or overrides a deprecated API" find-msg re="^cd: can't cd to " find-msg re="[Nn]o such file or directory" find-msg re="Note: Method .*(.*) in class .* does not override" find-msg rm ${tempfile} unset find-msg unset re unset tempfile unset remainfile --------------1F290E75CF7BE1DF2F955E29 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------1F290E75CF7BE1DF2F955E29-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Apr 8 22:12:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 0807F37B652 for ; Sat, 8 Apr 2000 22:12:43 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id OAA20658; Sun, 9 Apr 2000 14:42:07 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200004090512.OAA20658@ares.trc.adelaide.edu.au> Subject: Re: Analysis of compile warnings/errors (patchset 4) In-Reply-To: <38EFAF7E.2C47B3FE@jollem.com> from Ernst de Haan at "Apr 9, 2000 00:15:26 am" To: Ernst de Haan Date: Sun, 9 Apr 2000 14:42:07 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On advise of Kees-Jan (thanx m8!) I analysed the output the compile > process sent to stderr. I've written a script that does the analysis by > counting the number of occurences of certain messages. Both the script and > the results for patchset 4 are attached. This script can also be used to > alalyze future patchsets. > > This should give us an idea of what kind of lexical errors and warnings > our port still has. I don't know about later versions of Solaris, but its worth pointing out that at least on Solaris 2.5.1 I get the bulk of these warnings too. Also, patchset 5 fixes a few of them :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message