JDK 9 fails to build on MIPS
James Cowgill
jcowgill at debian.org
Tue Dec 6 10:38:59 UTC 2016
Hi,
On 05/12/16 07:10, Ao Qi wrote:
> Hi James,
>
> I have the same questions with David. "I am surprised if this is the
> only thing that will prevent you from building on MIPS. And even if you
> do build okay I'm not sure what you can run - zero intepreter?" In
> addition, could I know your build environment and configure parameters?
> I want to do some test.
This was originally for Debian's copy of openjdk-9 with all its
patches. I've done a native compile from the main JDK repository and
after applying my patch and one extra patch from Debian[1], the JDK
builds and seems to work ok on mips (although obviously it's very slow).
I configured it with this:
CC=gcc-5 CXX=g++-5 bash ../configure --enable-debug --enable-headless-only --disable-warnings-as-errors --with-jvm-variants=zero
I expect headless to work as well - I just wanted to reduce the build
time a bit.
[1] https://sources.debian.net/src/openjdk-9/9%7Eb147-1/debian/patches/zero-architectures.diff/
> FYI I am working on OpenJDK 8 MIPS Port [1], and glad to hear that
> someone is also doing work related to MIPS:)
>
> [1] http://mail.openjdk.java.net/pipermail/porters-dev/2016-May/000544.html
A real MIPS hotspot port would be great for mips, although something
this big has to be in the main upstream repositories before Debian
could use it.
Thanks,
James
More information about the hotspot-dev
mailing list