From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30144 invoked by alias); 25 Apr 2007 06:17:43 -0000 Received: (qmail 30119 invoked by uid 48); 25 Apr 2007 06:17:42 -0000 Date: Wed, 25 Apr 2007 06:17:00 -0000 Message-ID: <20070425061742.30117.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/30591] Cross build fails because native gcj needed to build ecjx In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "mtrudel at gmx dot ch" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q2/txt/msg00040.txt.bz2 ------- Comment #5 from mtrudel at gmx dot ch 2007-04-25 07:17 ------- You write "it needs a host version of gcj", your host is "i686-pc-linux-gnu" and configure looks for "i686-pc-linux-gnu-gcj"? Seems correct to me? What gcj should be searched for? The only problem I'm currently aware of is that the compilation of ecj.jar uses "-findirect-dispatch". This fails for static compilations since indirect-dispatch doesn't work anymore with such compilations since some bc abi (or whatever) changes. It can easily be fixed by modifying libgcj.a.spec. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30591