RFR: 8294314: Minimize disabled warnings in hotspot [v9]

Hao Sun haosun at openjdk.org
Wed Sep 28 07:50:34 UTC 2022


On Wed, 28 Sep 2022 07:38:56 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> make/hotspot/lib/CompileJvm.gmk line 160:
>> 
>>> 158:     DISABLED_WARNINGS_gcc_javaClasses.cpp := misleading-indentation, \
>>> 159:     DISABLED_WARNINGS_gcc_loopnode.cpp := sequence-point, \
>>> 160:     DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
>> 
>> Suggestion:
>> 
>>     DISABLED_WARNINGS_gcc_cgroupV1Subsystem_linux.cpp := address, \
>>     DISABLED_WARNINGS_gcc_cgroupV2Subsystem_linux.cpp := address, \
>>     DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
>> 
>> 
>> I got the following warning for `release` build with `gcc-12`. 
>> 
>> === Output from failing command(s) repeated here ===
>> * For target hotspot_variant-server_libjvm_objs_cgroupV1Subsystem_linux.o:
>
> I'm just curious: do you remember what you used to provoke this warning?

It's the `release` build with `gcc-12` version on Ubuntu 22.04.

See the configuration as below.

====================================================
A new configuration has been successfully created in

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

PR: https://git.openjdk.org/jdk/pull/10414


More information about the hotspot-dev mailing list