[PATCH]: linux-sparc build fixes

David Holmes david.holmes at oracle.com
Mon May 29 08:52:14 UTC 2017


On 29/05/2017 6:13 PM, John Paul Adrian Glaubitz wrote:
> On Mon, May 29, 2017 at 12:17:13PM +1000, David Holmes wrote:
>> Hi Adrian,
> 
> Hi!
> 
>> cc'ing hotspot-dev and bcc'ing build-dev as these are not issues with the
>> build files, but hotspot sources.
> 
> Thanks.
> 
>> First, than you for taking the time and effort to contribute to OpenJDK.
>> However ...
> 
> You're welcome.
> 
>> The status of linux-sparc as a port in OpenJDK 9 (or 8u) is unclear. As you
>> have found those bits have bit-rotted as it is not a supported Oracle JDK
>> platform, and no-one else seems to have cared until now. Your patches may be
>> acceptable, but we have no way to validate them.
> 
> That's surprising because depending on where your office is, it may
> just be a matter of walking down an aisle and knocking on a colleague's
> door to get access to the necessary test setup given the fact that
> Oracle is officially shipping and supporting Linux for SPARC [1,2].

That doesn't necessarily translate into the OpenJDK or Oracle JDK 
supporting the Linux-sparc platform. It was previously supported in JFK 
7 and early 8 IIRC but is no longer provided in 8u and is not a platform 
supported in 9.

>> And the very next push may break things again. Or indeed once the
>> hotspot issues are resolved you may find issues on the JDK library
>> side.
> 
> Well, I'm not so sure. openjdk-9 did build in the past (b88), so I
> don't think the code is completely bit-rotten [3].

Sure it built in the past but b88 was some time ago and as I said once 
you get past the hotspot build problem you may find other problems.

>> The process to get them into JDK 9 now is somewhat more difficult
>> given where we are in the JDK 9 release.
> 
> Even for minimal build fixes like these?

Yes. The bar is high for any changes at the moment:

http://openjdk.java.net/projects/jdk9/rdp-2

>> But without a commitment from some part of the community to maintain
>> this port it may be better as something that is maintained
>> downstream.
> 
> I actually expect the Linux SPARC port to be picked up by Oracle
> themselves in the near future. I can't really imagine that Oracle
> would not be willing to support on of their one major software
> products on one of their major platforms.

I really couldn't say.

Cheers,
David

> Thanks,
> Adrian
> 
>> [1] http://www.oracle.com/technetwork/server-storage/linux/downloads/oracle-linux-sparc-3665558.html
>> [2] https://oss.oracle.com/projects/linux-sparc/
>> [3] https://buildd.debian.org/status/fetch.php?pkg=openjdk-9&arch=sparc64&ver=9%7Eb88-1&stamp=1448869573&raw=0
> 


More information about the hotspot-dev mailing list