From: Ricardo Wurmus <rekado@elephly.net>
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 [thread overview]
Message-ID: <87k2qlgtd0.fsf@elephly.net> (raw)
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
next reply other threads:[~2015-10-17 19:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 19:58 Ricardo Wurmus [this message]
2015-10-18 10:28 ` Andrew Haley
2015-10-29 12:08 ` Ricardo Wurmus
2015-10-29 12:14 ` Andrew Haley
2015-10-29 12:32 ` Ricardo Wurmus
2015-12-17 13:46 ` rekado
2015-12-17 14:02 ` Andrew Haley
2015-12-17 14:04 ` Andrew Haley
2016-01-13 6:40 ` Ricardo Wurmus
2016-01-13 6:48 ` Ricardo Wurmus
2016-01-13 9:39 ` Andrew Haley
2016-01-13 10:41 ` Andrew Haley
2016-02-27 16:46 ` Ricardo Wurmus
2016-02-27 21:41 ` Andrew Haley
2016-02-28 8:31 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2qlgtd0.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).