From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6951 invoked by alias); 9 Jun 2002 02:43:52 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 6943 invoked from network); 9 Jun 2002 02:43:51 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 9 Jun 2002 02:43:51 -0000 Received: from slip-12-65-102-83.mis.prserv.net (vpn3-4.sfbay.redhat.com [172.16.25.4]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g592fMv22249; Sat, 8 Jun 2002 19:41:23 -0700 Subject: Re: serialization problem with tomcat with gcj From: Anthony Green To: Christophe Roux Cc: rhug-rhats@sources.redhat.com In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 08 Jun 2002 19:43:00 -0000 Message-Id: <1023590655.2578.53.camel@dhcppc2> Mime-Version: 1.0 X-SW-Source: 2002-06/txt/msg00001.txt.bz2 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