From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67867 invoked by alias); 17 Oct 2015 19:58:30 -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 67857 invoked by uid 89); 17 Oct 2015 19:58:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: sender163-mail.zoho.com Received: from sender163-mail.zoho.com (HELO sender163-mail.zoho.com) (74.201.84.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 17 Oct 2015 19:58:28 +0000 Received: from localhost (x4d0c8538.dyn.telefonica.de [77.12.133.56]) by mx.zohomail.com with SMTPS id 1445111904257524.7781413236507; Sat, 17 Oct 2015 12:58:24 -0700 (PDT) User-agent: mu4e 0.9.13; emacs 24.5.1 From: Ricardo Wurmus To: java@gcc.gnu.org Subject: GCJ 4.9.3 on mips64el-linux failing to build Ant. Date: Sat, 17 Oct 2015 19:58:00 -0000 Message-ID: <87k2qlgtd0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00000.txt.bz2 Hi, 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. GCJ is built with the latest version of ECJ published here: ftp://sourceware.org/pub/java/ecj-4.9.jar We’re using the ‘javac’ wrapper template from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-java/gcj-jdk/files/javac.in?revision=1.1 Is ECJ or GCJ known to not be functional on mips64el or must I have done something wrong in configuring or building it on this platform? I’d be very happy for any hints. ~~ Ricardo