This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: serialization problem with tomcat with gcj
- From: Anthony Green <green at redhat dot com>
- To: Christophe Roux <ch_roux at club-internet dot fr>
- Cc: rhug-rhats at sources dot redhat dot com
- Date: 08 Jun 2002 19:44:11 -0700
- Subject: Re: serialization problem with tomcat with gcj
- References: <E17Glex-00087J-00@smarthost2.mail.easynet.fr>
On Sat, 2002-06-08 at 12:15, Christophe Roux wrote:
> I try to port a java set of servlet from jdk1.2 / tomcat-2.3.2 to gcj
> (gcc-3.1) with tomcat-3.2.3 from rhug.
Ok - on second thought, ignore my previous comment. The compiler's
inliner has been found to produce bad code in some instances. It will
likely be disabled in GCC 3.1.1.
This may take a long time, but it's probably a smart idea... Try
rebuilding everything (including libgcj) with -fno-inline. The easiest
way to do this is to add -fno-inline to gcc/libjava/libgcj.spec.in
(right after -fkeep-inline-functions) and then rebuild the library,
rhug, and your servlets. Let me know if this fixes things.
AG