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

Ricardo Wurmus <[email protected]> Thu, 29 Oct 2015 13:08:20 +0100
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Andrew Haley <[email protected]> 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