Subject: Re: Current status of OpenJDK-9 on sparc64

On Wed, Jun 07, 2017 at 11:26:58AM +0200, John Paul Adrian Glaubitz wrote:
> If anyone has any idea, please let me know. I have already asked on
> the hotspot-dev mailing list at Oracle, but for some reasons which are
> beyond human reasoning, Oracle does not support OpenJDK on their own
> hardware, so any support requests remain unanswered or get dismissed.

Ok, so actually some answered now and pointed me into the right
direction ;-).

Looking more closely at the build log, the failure actually occurs in
the zero build, e.g. the non-JIT JVM code. For zero, the
SPARC-specific implementation of memset_with_concurrent_readers()
is not to be used but just normal memset().

So, the #ifdef guard in the memset_with_concurrent_readers.hpp header
needs to be extended to "#if defined(SPARC) && !defined(ZERO)". In
the openjdk-8 package there was actually a patch to just do that,
called zero-sparc.diff. But it's currently disabled for the openjdk-9
package, probably because it needs to be updated.

Attaching the old patch.


.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

Attachment: zero-sparc.diff
Description: Text Data


Programming list archiving by: Enterprise Git Hosting