[PATCH] linux-sparc build fixes

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Jun 22 10:27:03 UTC 2017


On Mon, Jun 19, 2017 at 02:48:39PM +0200, Erik Helin wrote:
> >So, should I just run the testsuite with all three patches applied?
> 
> Yes, please run the testsuite with the three patches applied. This should
> work (famous last words ;)) for the "native" Linux/sparc64 version of
> hotspot (if not, I would to curious to learn why). To test
> Linux/sparc64+zero you obviously need the fourth patch applied as well.

Ok, I will give it a try. I will do a hotspot-native build first, run
the testsuite and post the results. Let's tackle zero later. I've got
anoter bunch of zero-related fixes that we're carrying in the Debian
package and that should be upstreamed to be available for other
downstreams as well.

> >The fourth patch just fixes Zero on Linux sparc. If I understand
> >correctly, Debian's openjdk packages always build the Zero VM even on
> >targets with a native Hotspot. And without the last patch, the Zero
> >build fails on Linux sparc.
> 
> Ah, now I think I get it :) This is for the openjdk-9-jre-zero package,
> right? Does the openjdk-9-jre package provide the "native" (using template
> interpreter, C1, C2) version of hotspot if possible?

>From the description of the -zero package you mentioned:

> The package provides an alternative runtime using the Zero VM and
> the Shark Just In Time Compiler (JIT). Built on architectures in
> addition to the Hotspot VM as a debugging aid for those architectures
> which don't have a Hotspot VM.

> The VM is started with the option `-zero'. See the README.Debian for
> details.

For the -jre-headless package, we have:

> Minimal Java runtime - needed for executing non GUI Java programs,
> using Hotspot JIT.

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 hotspot-dev mailing list