From tjmather@maxmind.com Sat Nov 2 08:25:00 2002 From: tjmather@maxmind.com (T.J. Mather) Date: Sat, 02 Nov 2002 08:25:00 -0000 Subject: rhug and auto* tools Message-ID: Hi, I'm running into the same problem James ran it with undefined macro errors for LT_AC_PROG_GCJ and AC_LIBTOOL_GCJ. I read that Anthony was planning to upload a customized version of libtool to the ftp site, but I checked the ftp site and it wasn't there. Also I'm not sure which libtool bits should be copied from the other rhug packages - i tried ltmain.sh and that didn't help. I'm trying to add the Apache POI package to RHUG. Thanks! -TJ From tjmather@maxmind.com Sat Nov 16 15:16:00 2002 From: tjmather@maxmind.com (TJ Mather) Date: Sat, 16 Nov 2002 15:16:00 -0000 Subject: OT: Apache POI Native Library using GCJ Message-ID: This is marked as offtopic, since it doesn't involve the RHUG project, however I thought it may interest anyone who wanted to compile Apache POI with GCJ... I was able to get Apache POI to compile down to a shared library by compiling *.java -> *.class using Ant with Sun JDK, then running gcj -shared -o poi.so `cat classlist.txt` where the classlist contained the core HSSF files (not the ones that used Swing, etc)[1]. I had to compile FormulaParser.java, POIFSViewEngine.java, and HexRead.java to *.class using GCJ, because I got a "bad pc in exception_table" if I tried to compile the JDK *.class to *.so using GCJ. Also note that *.java -> *.class using GCJ doesn't work for some *.java files. For more details on to build and use the Apache POI GCJ shared library see http://tjmather.com/poifilter/ -TJ From tromey@redhat.com Sat Nov 16 17:56:00 2002 From: tromey@redhat.com (Tom Tromey) Date: Sat, 16 Nov 2002 17:56:00 -0000 Subject: OT: Apache POI Native Library using GCJ In-Reply-To: References: Message-ID: <87fzu1t18m.fsf@fleche.redhat.com> >>>>> "TJ" == TJ Mather writes: TJ> I had to compile FormulaParser.java, POIFSViewEngine.java, and TJ> HexRead.java to *.class using GCJ, because I got a "bad pc in TJ> exception_table" if I tried to compile the JDK *.class to *.so TJ> using GCJ. I believe Andrew fixed this bug in the trunk gcj. TJ> Also note that *.java -> *.class using GCJ doesn't work for some TJ> *.java files. Please submit gcj PRs for this. Especially good would be a small test case that shows the problem. Tom From tjmather@maxmind.com Sun Nov 17 13:28:00 2002 From: tjmather@maxmind.com (TJ Mather) Date: Sun, 17 Nov 2002 13:28:00 -0000 Subject: OT: Apache POI Native Library using GCJ In-Reply-To: <87fzu1t18m.fsf@fleche.redhat.com> Message-ID: On 16 Nov 2002, Tom Tromey wrote: > Please submit gcj PRs for this. Especially good would be a small test > case that shows the problem. I'm planning to do this, I first wanted to test them against the latest GCJ CVS to make sure they haven't already been fixed. Regards, TJ From tromey@redhat.com Sun Nov 17 13:30:00 2002 From: tromey@redhat.com (Tom Tromey) Date: Sun, 17 Nov 2002 13:30:00 -0000 Subject: OT: Apache POI Native Library using GCJ In-Reply-To: References: Message-ID: <87ptt3sxg2.fsf@fleche.redhat.com> >>>>> "TJ" == TJ Mather writes: TJ> I'm planning to do this, I first wanted to test them against the latest TJ> GCJ CVS to make sure they haven't already been fixed. Even better! Thanks. Tom From tjmather@maxmind.com Fri Nov 22 17:27:00 2002 From: tjmather@maxmind.com (TJ Mather) Date: Fri, 22 Nov 2002 17:27:00 -0000 Subject: OT: Apache POI Native Library using GCJ In-Reply-To: <87fzu1t18m.fsf@fleche.redhat.com> Message-ID: On 16 Nov 2002, Tom Tromey wrote: > TJ> I had to compile FormulaParser.java, POIFSViewEngine.java, and > TJ> HexRead.java to *.class using GCJ, because I got a "bad pc in > TJ> exception_table" if I tried to compile the JDK *.class to *.so > TJ> using GCJ. > > I believe Andrew fixed this bug in the trunk gcj. Yep, the bad pc in exception_table seems to be fixed in GCJ CVS. > TJ> Also note that *.java -> *.class using GCJ doesn't work for some > TJ> *.java files. > > Please submit gcj PRs for this. Especially good would be a small test > case that shows the problem. There are two issues with GCJ 3.2, #8457 (submitted by Martin Aliger), and the "bad pc in exception_table" which has since been fixed. I tried running against GCJ 3.3 20021120, and #8457 was still a problem, and there seems to be a problem with CNI Invocation of Java code from C++ see PR #8685. So the example on the web site seems to be broken on 3.3 20021120: http://gcc.gnu.org/onlinedocs/gcj/Invocation.html -TJ From ch_roux@club-internet.fr Sun Nov 24 09:55:00 2002 From: ch_roux@club-internet.fr (Christophe Roux) Date: Sun, 24 Nov 2002 09:55:00 -0000 Subject: Tomcat Manifest Message-ID: I developped a set of servlets, packaged into a single war (with a ".so" library compiled with gcj). When I try to install my war with tomcat from rhug, tomcat only expands files where they are expected : to library ".so" is not expanded and other files I placed in the war without asking me if there is a predefined place to put them. At the moment, the only way to install my pacakge is to use "unzip". I am asking : - do I need to configure a manifest.mf or a deployment descriptor in order to have a correct installation ? - if so, is there a document on the web which could indicate haw to create such a file ? - someone can explain simply how to do that? Thanks, Christophe From tromey@redhat.com Mon Nov 25 21:22:00 2002 From: tromey@redhat.com (Tom Tromey) Date: Mon, 25 Nov 2002 21:22:00 -0000 Subject: Ideas Message-ID: <87el983nz6.fsf@fleche.redhat.com> A couple more ideas for projects to import: * OpenORB. http://openorb.sourceforge.net/ * Tritonus. http://www.tritonus.org/ I don't have time to do this but I was hoping someone else would :-) Tom From gbenson@redhat.com Tue Nov 26 07:36:00 2002 From: gbenson@redhat.com (Gary Benson) Date: Tue, 26 Nov 2002 07:36:00 -0000 Subject: Upgraded BCEL Message-ID: <20021126154433.GA19744@redhat.com> Hi, I have just upgraded the BCEL in RHUG from 4.4.2 to 5.0, which has moved all the classes from de.fub.bytecode to org.apache.bcel. If I commit it then Xalan will probably break. Should I commit it, or hold off until I have time to fix Xalan (hint: not soon). Cheers, Gary [ gbenson@redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ] From green@redhat.com Tue Nov 26 10:42:00 2002 From: green@redhat.com (Anthony Green) Date: Tue, 26 Nov 2002 10:42:00 -0000 Subject: Upgraded BCEL In-Reply-To: <20021126154433.GA19744@redhat.com> References: <20021126154433.GA19744@redhat.com> Message-ID: <1038336188.2125.6.camel@escape> On Tue, 2002-11-26 at 07:44, Gary Benson wrote: > I have just upgraded the BCEL in RHUG from 4.4.2 to 5.0, which has > moved all the classes from de.fub.bytecode to org.apache.bcel. If I > commit it then Xalan will probably break. Should I commit it, or hold > off until I have time to fix Xalan (hint: not soon). Go ahead and commit. I will try to upgrade Xalan in the next couple of days. AG From gbenson@redhat.com Wed Nov 27 08:38:00 2002 From: gbenson@redhat.com (Gary Benson) Date: Wed, 27 Nov 2002 08:38:00 -0000 Subject: Upgraded BCEL In-Reply-To: <1038336188.2125.6.camel@escape> References: <20021126154433.GA19744@redhat.com> <1038336188.2125.6.camel@escape> Message-ID: <20021127164715.GI2200@redhat.com> On Tue, Nov 26, 2002 at 10:43:06AM -0800, Anthony Green wrote: > On Tue, 2002-11-26 at 07:44, Gary Benson wrote: > > I have just upgraded the BCEL in RHUG from 4.4.2 to 5.0, which has > > moved all the classes from de.fub.bytecode to org.apache.bcel. If I > > commit it then Xalan will probably break. Should I commit it, or hold > > off until I have time to fix Xalan (hint: not soon). > > Go ahead and commit. I will try to upgrade Xalan in the next couple of > days. Done. From green@redhat.com Wed Nov 27 09:23:00 2002 From: green@redhat.com (Anthony Green) Date: Wed, 27 Nov 2002 09:23:00 -0000 Subject: Upgraded BCEL In-Reply-To: <20021127164715.GI2200@redhat.com> References: <20021126154433.GA19744@redhat.com> <1038336188.2125.6.camel@escape> <20021127164715.GI2200@redhat.com> Message-ID: <1038417849.4696.176.camel@escape> On Wed, 2002-11-27 at 08:47, Gary Benson wrote: > > Go ahead and commit. I will try to upgrade Xalan in the next couple of > > days. > > Done. Cool - thanks. I need to upgrade Xerces to Xerces 2 before I can upgrade Xalan - so I'm going to try that now. AG