GCJ 4.9.3 on mips64el-linux failing to build Ant.

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus
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

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
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.


Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus

Andrew Haley <[hidden email]> writes:

> 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.

Yes, I built GCJ as a variant of GCC 4.9.3 (disabling all other
languages but Java).  Surprisingly, “make check-target-libjava” passes
on MIPS, but GCJ is not working as can be seen when attempting to build
Ant.

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
   
The beginning of the test phase is marked by “starting phase `check'”.
I don’t see anything suspicious in the test output.

Here’s the latest failing build of Ant on MIPS:

    http://hydra.gnu.org/build/758915/log/raw

The errors are the same as before:

    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
    ...

~~ Ricardo

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
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.

Andrew.

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus
Andrew Haley <[hidden email]> 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:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
Making check in testsuite
make[2]: Entering directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
make  check-DEJAGNU
make[3]: Entering directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
Making a new site.exp file...
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd ../../../../gcc-4.9.3/libjava/testsuite && pwd`; export srcdir; \
EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; \
runtest="`if [ -f ../../../../gcc-4.9.3/libjava/../dejagnu/runtest ] ; then echo ../../../../gcc-4.9.3/libjava/../dejagnu/runtest ; else echo runtest; fi` INTERPRETER=yes"; \
if /gnu/store/kh23ancxx8qzd0frnh6w6ql5zyjs3j2a-bash-4.3.39/bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
  exit_status=0; l='libjava'; for tool in $l; do \
    if $runtest INTERPRETER=yes --tool $tool --srcdir $srcdir ; \
    then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
Test Run By nixbld on Tue Oct 27 21:27:24 2015
Native configuration is mips64el-unknown-linux-gnu

                === libjava tests ===

Schedule of variations:
    unix

Running target unix
Using /gnu/store/838qjci69ysaxmvdw9m8w4hykjzw037y-dejagnu-1.5.3/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /gnu/store/838qjci69ysaxmvdw9m8w4hykjzw037y-dejagnu-1.5.3/share/dejagnu/config/unix.exp as generic interface file for target.
Using /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.cni/cni.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jar/jar.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jni/jni.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/jvmti-interp.exp ...
LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getargssize.jar -agentlib:dummyagent getargssize
LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getlocalvartable.jar -agentlib:dummyagent getlocalvartable
LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getstacktrace.jar -agentlib:dummyagent getstacktrace
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/jvmti.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.lang/lang.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.loader/loader.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.mauve/mauve.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.special/special.exp ...
Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.verify/verify.exp ...

                === libjava Summary ===

# of expected passes 2582
# of expected failures 4
make[3]: Leaving directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
make[2]: Leaving directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus
---- On Thu, 29 Oct 2015 13:32:17 +0100 <[hidden email]> wrote ----
 > Andrew Haley <[hidden email]> 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:
 >  
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 > ...
 > Making check in testsuite
 > make[2]: Entering directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
 > make  check-DEJAGNU
 > make[3]: Entering directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
 > Making a new site.exp file...
 > srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd ../../../../gcc-4.9.3/libjava/testsuite && pwd`; export srcdir; &#92;
 > EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; &#92;
 > runtest="`if [ -f ../../../../gcc-4.9.3/libjava/../dejagnu/runtest ] ; then echo ../../../../gcc-4.9.3/libjava/../dejagnu/runtest ; else echo runtest; fi` INTERPRETER=yes"; &#92;
 > if /gnu/store/kh23ancxx8qzd0frnh6w6ql5zyjs3j2a-bash-4.3.39/bin/bash -c "$runtest --version" > /dev/null 2>&1; then &#92;
 >   exit_status=0; l='libjava'; for tool in $l; do &#92;
 >     if $runtest INTERPRETER=yes --tool $tool --srcdir $srcdir ; &#92;
 >     then :; else exit_status=1; fi; &#92;
 >   done; &#92;
 > else echo "WARNING: could not find &#92;`runtest'" 1>&2; :;&#92;
 > fi; &#92;
 > exit $exit_status
 > WARNING: Couldn't find the global config file.
 > Test Run By nixbld on Tue Oct 27 21:27:24 2015
 > Native configuration is mips64el-unknown-linux-gnu
 >  
 >         === libjava tests ===
 >  
 > Schedule of variations:
 >     unix
 >  
 > Running target unix
 > Using /gnu/store/838qjci69ysaxmvdw9m8w4hykjzw037y-dejagnu-1.5.3/share/dejagnu/baseboards/unix.exp as board description file for target.
 > Using /gnu/store/838qjci69ysaxmvdw9m8w4hykjzw037y-dejagnu-1.5.3/share/dejagnu/config/unix.exp as generic interface file for target.
 > Using /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/config/default.exp as tool-and-target-specific interface file.
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.cni/cni.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jar/jar.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jni/jni.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/jvmti-interp.exp ...
 > LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getargssize.jar -agentlib:dummyagent getargssize
 > LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getlocalvartable.jar -agentlib:dummyagent getlocalvartable
 > LD_LIBRARY_PATH=. /tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/./libjava/gij -cp /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/interp/getstacktrace.jar -agentlib:dummyagent getstacktrace
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.jvmti/jvmti.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.lang/lang.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.loader/loader.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.mauve/mauve.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.special/special.exp ...
 > Running /tmp/nix-build-gcj-4.9.3.drv-0/gcc-4.9.3/libjava/testsuite/libjava.verify/verify.exp ...
 >  
 >         === libjava Summary ===
 >  
 > # of expected passes        2582
 > # of expected failures        4
 > make[3]: Leaving directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
 > make[2]: Leaving directory '/tmp/nix-build-gcj-4.9.3.drv-0/build/mips64el-unknown-linux-gnu/libjava/testsuite'
 > ...
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 >

Is there anything else I could provide to help debug this?  The tests don't indicate any
problems, yet the compiler is not usable.

~~ Ricardo

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
In reply to this post by Ricardo Wurmus
On 10/29/2015 12:32 PM, Ricardo Wurmus wrote:

> Andrew Haley <[hidden email]> 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.

The acceptable number of fails is 0.  I want to know what tests fail.

Andrew.


Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
On 12/17/2015 02:01 PM, Andrew Haley wrote:
> The acceptable number of fails is 0.  I want to know what tests fail.

Actually, I should not say that, but I still need to know what
tests failed.

Andrew.

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus
In reply to this post by Andrew Haley

Andrew Haley <[hidden email]> writes:

> On 10/29/2015 12:32 PM, Ricardo Wurmus wrote:
>> Andrew Haley <[hidden email]> 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?

I should also note that this very same recipe works on i686 and x86_64.

~~ Ricardo


libjava.log (9M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus

Ricardo Wurmus <[hidden email]> writes:

> Attached is “libjava.log” from the directory
> “build/arm-unknown-linux-gnueabihf/libjava/testsuite/”.

I’m sorry for mistakenly attaching the uncompressed log.  (The mailing
list certainly removes attachments as large as that one.)  Attached is
the gzipped log.

~~ Ricardo


libjava.log.gz (130K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
On 13/01/16 06:48, Ricardo Wurmus wrote:
> I’m sorry for mistakenly attaching the uncompressed log.  (The mailing
> list certainly removes attachments as large as that one.)  Attached is
> the gzipped log.

No problem, I got it.  Thanks.

Andrew.

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
In reply to this post by Ricardo Wurmus
On 13/01/16 06:38, Ricardo Wurmus wrote:

>
> Andrew Haley <[hidden email]> writes:
>
>> On 10/29/2015 12:32 PM, Ricardo Wurmus wrote:
>>> Andrew Haley <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus

Andrew Haley <[hidden email]> writes:

> On 13/01/16 06:38, Ricardo Wurmus wrote:
>>
>> Andrew Haley <[hidden email]> writes:
>>
>>> On 10/29/2015 12:32 PM, Ricardo Wurmus wrote:
>>>> Andrew Haley <[hidden email]> 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.

Hi again,

is there anything else I can provide to assist you in identifying the
problem with GCJ on ARM and MIPS?

~~ Ricardo

Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Andrew Haley
On 27/02/16 16:46, Ricardo Wurmus wrote:
> is there anything else I can provide to assist you in identifying
> the problem with GCJ on ARM and MIPS?

Please forgive me if this sounds harsh...

Hmm.  I can't fix it without access to hardware, and I'm very busy.  I
can't really prioritize this over everything else.  I'm afraid you're
going to have to fix it yourself or find someone who also needs GCJ to
work on MIPS.

Andrew.
Reply | Threaded
Open this post in threaded view
|

Re: GCJ 4.9.3 on mips64el-linux failing to build Ant.

Ricardo Wurmus

Andrew Haley <[hidden email]> writes:

> On 27/02/16 16:46, Ricardo Wurmus wrote:
>> is there anything else I can provide to assist you in identifying
>> the problem with GCJ on ARM and MIPS?
>
> Please forgive me if this sounds harsh...
>
> Hmm.  I can't fix it without access to hardware, and I'm very busy.  I
> can't really prioritize this over everything else.  I'm afraid you're
> going to have to fix it yourself or find someone who also needs GCJ to
> work on MIPS.

No problem at all.  Thanks for letting me know.

I don’t have MIPS hardware myself, but I could gain access to the build
machine on which the build fails and play around with it.  Do you have
any ideas on what *might* be wrong to help me getting started?

~~ Ricardo