RFR: 8273606: Zero: SPARC64 build fails with si_band type mismatch
John Paul Adrian Glaubitz
glaubitz at openjdk.java.net
Fri Sep 10 19:39:47 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
> Apparently, it was never fixed in glibc for sparc64? We can still make a defensive cast to `long`.
Can you file a bug report to the glibc bug tracker?
> I looked at how Debian folks avoid this problem, and I think there is Debian patch that just disables `-Werror` wholesale. Right, @glaubitz? :)
Yes, that's correct. See: https://salsa.debian.org/openjdk-team/openjdk/-/blob/openjdk-16/debian/patches/hotspot-disable-werror.diff
-------------
PR: https://git.openjdk.java.net/jdk/pull/5470
More information about the hotspot-runtime-dev
mailing list