From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86840 invoked by alias); 13 Jan 2016 10:41:18 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 86825 invoked by uid 89); 13 Jan 2016 10:41:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=ant, H*r:sk:java@gc, downloaded, wurmus X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 13 Jan 2016 10:41:16 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 71435C09FAA9 for ; Wed, 13 Jan 2016 10:41:14 +0000 (UTC) Received: from zebedee.pink (ovpn-116-81.ams2.redhat.com [10.36.116.81]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0DAfDVr001506; Wed, 13 Jan 2016 05:41:13 -0500 Subject: Re: GCJ 4.9.3 on mips64el-linux failing to build Ant. To: java@gcc.gnu.org References: <87k2qlgtd0.fsf@elephly.net> <56237454.1000808@redhat.com> <874mh9j2rv.fsf@elephly.net> <56320DAB.3040207@redhat.com> <8737wtj1ny.fsf@elephly.net> <5672C053.9050905@redhat.com> <87si222dda.fsf@elephly.net> From: Andrew Haley X-Enigmail-Draft-Status: N1110 Message-ID: <569629C8.8070400@redhat.com> Date: Wed, 13 Jan 2016 10:41:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <87si222dda.fsf@elephly.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00003.txt.bz2 On 13/01/16 06:38, Ricardo Wurmus wrote: > > Andrew Haley writes: > >> On 10/29/2015 12:32 PM, Ricardo Wurmus wrote: >>> Andrew Haley writes: >>> >>>> On 10/29/2015 12:08 PM, Ricardo Wurmus wrote: >>>>> Here’s the complete log that I get when building GCJ 4.9.3 and running >>>>> the tests: >>>>> >>>>> http://hydra.gnu.org/build/758888/log/raw >>>> >>>> I can't see the output of the libjava testsuite. "make check-target-libjava" >>>> should do it. >>> >>> Here’s the libjava testsuite output: >> >> No, the actual testsuite output. It's in a logfile. > > Attached is “libjava.log” from the directory > “build/arm-unknown-linux-gnueabihf/libjava/testsuite/”. One obvious > problem according to the log is this: > > gcj: error trying to exec 'ecj1': execvp: No such file or directory > > GCJ is configured with the following flags (in addition to the usual GCC > flags): > > "--enable-java-home" > "--enable-gjdoc" > "--with-ecj-jar=ecj-4.9.jar" > "--enable-languages=java" > > “ecj-4.9.jar” is the one downloaded from > . I cannot build it from > source because that would require a JDK — GCJ is the first JDK I’m > building on ARM and MIPS. Is this a problem? Is “ecj-4.9.jar” portable > or does it need to be cross-built for other platforms? It's portable. There's no particular problem with running the libgcj testsuite from bytecode files, so I would not worry about that. However, there are some serious problems in the testsuite output which indicate that gcj has some bugs on this platform. Andrew.