RFR: 8273606: Zero: SPARC64 build fails with si_band type mismatch

Thomas Stuefe stuefe at openjdk.java.net
Mon Sep 13 07:54:51 UTC 2021


On Fri, 10 Sep 2021 16:25:34 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This is actually caught by `-Werror=format` that is enabled by default.
> 
> 
> $  sh ./configure --with-debug-level=slowdebug --with-boot-jdk=/home/shade/Install/jdk16-16.0.2-ea/ --openjdk-target=sparc64-linux-gnu --with-sysroot=/chroots/sparc64/ --with-jvm-variants=zero
> $ make images

Patch itself seems fine and trivial.

Lest someone removes the cast, maybe add a comment that this is for the sake of glibc problems on sparc? Leave it up to you.

-------------

Marked as reviewed by stuefe (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5470


More information about the hotspot-runtime-dev mailing list