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

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


Hi John,

On Fri, Jan 25, 2019 at 11:10 PM Ao Qi <aoqi at loongson.cn> wrote:
>
> On Fri, Jan 25, 2019 at 10:51 PM John Paul Adrian Glaubitz
> <glaubitz at physik.fu-berlin.de> wrote:
> >
> > On 1/25/19 3:44 PM, Ao Qi wrote:> FYI, if one wants to debug this issue, below is some sctripts I used
> > > to cross compile a mips zero jdk, which can trigger the bug.
> >
> > Native builds on Debian unstable on mips* work?
> >
>

Correction. We use Debian stable and testing to do night build (only
mips64el). We did not use Debian unstable, Is the difference big?

> Worked. We nightly native (using Loongson CPUs) build zero mips of
> jdk8-12 and jdk. But zero mips is not stable as boot jdk, some random
> crash occurs. I am not sure it is an issue of zero mips or an issue of
> MIPS for example maybe some memory consistency issue.
>
>
> > > do one patch [1] then make images
> >
> > What about the alignment patch? Is that still required?
> >
>
> We do not use this patch.
>
> > > https://git.launchpad.net/~openjdk/ubuntu/+source/openjdk/+git/openjdk/tree/debian/patches/hotspot-mips-align.diff
> >
> > 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