Fail to cross compiling jdk12 for mips64el-linux-gnu target

Ao Qi aoqi at loongson.cn
Fri Jan 25 14:57:48 UTC 2019


Hi,

On Fri, Jan 25, 2019 at 10:31 PM John Paul Adrian Glaubitz
<glaubitz at physik.fu-berlin.de> wrote:
>
> Hi!
>
> On 1/24/19 3:28 AM, Leslie Zhai wrote:
> > Please give me some advice about how to fix the root cause, thanks a lot!
>
> Just as a heads-up: In Debian we have two patches required for OpenJDK on the mips
> targets:
>
> > https://git.launchpad.net/~openjdk/ubuntu/+source/openjdk/+git/openjdk/tree/debian/patches/hotspot-mips-align.diff
> > https://git.launchpad.net/~openjdk/ubuntu/+source/openjdk/+git/openjdk/tree/debian/patches/mips-sigset.diff
>
> I think the stuff with sigset was being worked on upstream at some point, but it
> wasn't finished if I remember correctly.
>

Yes, I wish to solve this problem, I tried, and it was basically the
way Debian and AIX used [1]. But David Holmes wishes a POSIX version,
that patch failed to be pushed. I think I will go on to work on it,
however I do not have Solaris and macOS for test, I am working on
preparing these OSs.

What is https://git.launchpad.net/~openjdk/ubuntu/+source/openjdk/+git/openjdk/tree/debian/patches/hotspot-mips-align.diff
for? We build mips zero without this patch.

Cheers,
Ao Qi

[1] https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2018-December/031839.html

> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list