This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.
- From: Andrew Haley <aph at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: Wed, 13 Jan 2016 10:41:12 +0000
- Subject: Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.
- Authentication-results: sourceware.org; auth=none
- References: <87k2qlgtd0 dot fsf at elephly dot net> <56237454 dot 1000808 at redhat dot com> <874mh9j2rv dot fsf at elephly dot net> <56320DAB dot 3040207 at redhat dot com> <8737wtj1ny dot fsf at elephly dot net> <5672C053 dot 9050905 at redhat dot com> <87si222dda dot fsf at elephly dot net>
On 13/01/16 06:38, Ricardo Wurmus wrote:
>
> Andrew Haley <aph@redhat.com> writes:
>
>> On 10/29/2015 12:32 PM, Ricardo Wurmus wrote:
>>> Andrew Haley <aph@redhat.com> 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
> <ftp://sourceware.org/pub/java/ecj-4.9.jar>. 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.