From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67117 invoked by alias); 18 Oct 2015 10:28:42 -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 67103 invoked by uid 89); 18 Oct 2015 10:28:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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; Sun, 18 Oct 2015 10:28:40 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 38E4F8F2FE; Sun, 18 Oct 2015 10:28:39 +0000 (UTC) Received: from zebedee.pink (ovpn-116-98.ams2.redhat.com [10.36.116.98]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9IASan9031449; Sun, 18 Oct 2015 06:28:37 -0400 Subject: Re: GCJ 4.9.3 on mips64el-linux failing to build Ant. To: Ricardo Wurmus , java@gcc.gnu.org References: <87k2qlgtd0.fsf@elephly.net> From: Andrew Haley Message-ID: <56237454.1000808@redhat.com> Date: Sun, 18 Oct 2015 10:28:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <87k2qlgtd0.fsf@elephly.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00001.txt.bz2 On 10/17/2015 08:58 PM, Ricardo Wurmus wrote: > I’m trying to build Ant on mips64el-linux with GCJ 4.9.3. (I’m doing > this to bootstrap IcedTea on MIPS, which needs Ant to be built.) This > works just fine on x86_64 and i686, but it fails with odd errors on > mips64el. Here is the complete build output on the MIPS build machine: > > http://hydra.gnu.org/build/730605/nixlog/1/raw > > The very first error is this: > > 1. ERROR in /tmp/nix-build-ant-1.9.4.drv-0/apache-ant-1.9.4/src/main/org/apache/tools/bzip2/BlockSort.java (at line 121) > QSORT_STACK_SIZE < FALLBACK_QSORT_STACK_SIZE > ^^^^^^^^^^^^^^^^ > QSORT_STACK_SIZE cannot be resolved to a variable > > This is quite odd because QSORT_STACK_SIZE is defined on line 116 as > such: > > private static final int QSORT_STACK_SIZE = 1000; > > The following errors are all similar and complain about various other > undefined names. It looks to me like gcj is non-functional. Are you building GCC 4.9.3? Please run the gcj test suite (make check-target-libjava) to see if it is broken. Andrew.