[PATCH] linux-sparc build fixes

Erik Helin erik.helin at oracle.com
Mon Jun 19 12:48:39 UTC 2017



On 06/19/2017 09:06 AM, John Paul Adrian Glaubitz wrote:
> On Mon, Jun 19, 2017 at 08:59:38AM +0200, Erik Helin wrote:
>>> I'm asking because running the testsuite on Linux sparc64 will only be
>>> possible with all four patches applied as they are build fixes. Running
>>> the testsuite on Linux x86_64 will be possible, of course.
>>
>> Ok, this is the part I don't really understand yet. Why run with Zero on
>> Linux/sparc64? Shouldn't it be possible to run HotSpot "natively" (with
>> the template interpreter, C1, C2) on Linux/sparc64?
>
> The first three patches are needed to get native Hotspot to build on
> Linux sparc. Without the patches, the builds bails out with compiler
> errors.
>
> 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.

> 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?

Thanks,
Erik

> Adrian
>



More information about the build-dev mailing list