On 6/21/22 14:12, Aleksey Shipilev wrote:
On 6/21/22 11:07, Andrew Haley wrote:
On 6/20/22 09:55, Aleksey Shipilev wrote:
Yes, please. I think I am seeing this now in mainline JDK with GCC 11:
* For target hotspot_variant-server_libjvm_objs_sharedRuntime_x86_32.o:
/home/buildbot/worker/build-jdkX-debian12/build/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp:
In
static member function 'static OopMap*
RegisterSaver::save_live_registers(MacroAssembler*, int,
int*, bool, bool)':
/home/buildbot/worker/build-jdkX-debian12/build/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp:260:48:
error: 'this' pointer is null [-Werror=nonnull]
Please test with that warning diabled, and let me know how you get on.
linux-x86-server-release builds fine with "./configure
--with-extra-cflags=-Wno-nonnull".
https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/9261__;!!ACWV5N9M2RV99hQ!J3uY1fTn8pUuCuvYdSbpPraeumNlt4QSm-DGEHmReLxb7SyILvoXm-KGq53sckDMtdtXceCfn2gPgGtzMKcCVZ4XTcvG$ and https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/9276__;!!ACWV5N9M2RV99hQ!J3uY1fTn8pUuCuvYdSbpPraeumNlt4QSm-DGEHmReLxb7SyILvoXm-KGq53sckDMtdtXceCfn2gPgGtzMKcCVb4r24B2$
should be enough.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd.
<https://urldefense.com/v3/__https://www.redhat.com__;!!ACWV5N9M2RV99hQ!J3uY1fTn8pUuCuvYdSbpPraeumNlt4QSm-DGEHmReLxb7SyILvoXm-KGq53sckDMtdtXceCfn2gPgGtzMKcCVQFwtACE$
>
https://urldefense.com/v3/__https://keybase.io/andrewhaley__;!!ACWV5N9M2RV99hQ!J3uY1fTn8pUuCuvYdSbpPraeumNlt4QSm-DGEHmReLxb7SyILvoXm-KGq53sckDMtdtXceCfn2gPgGtzMKcCVZlhOfYc$
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671