This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: serialization problem with tomcat with gcj


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]