assembler_x86.cpp:11128:38: error: 'this' pointer is null

Aleksey Shipilev shade at redhat.com
Tue Jun 21 13:12:50 UTC 2022


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".

-- 
Thanks,
-Aleksey




More information about the build-dev mailing list