RFR: 8298006: Build failure by maybe-uninitialized error on Linux s390x GCC8

Magnus Ihse Bursie ihse at openjdk.org
Mon Dec 5 13:28:12 UTC 2022


On Sat, 3 Dec 2022 08:11:25 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

>> Just because you get a compilation error does not mean the issue belongs with the build group. This is just about the source code in AWT, so the client-libs team will handle this review.
>> 
>> That being said, I did have a look at the code and I think they might be skeptical. There seems to be no inherent s390x change here, rather the compiler you are using seem to be a bit trigger-happy on this analysis. 
>> 
>> Also, both gcc 6 and 8 are incredibly old. Gcc 6 is from 2016, and gcc 8 is from  2018. I would recommend you get a newer gcc version instead, or possibly build with `--disable-warnings-as-errors`.
>
> Thanks @magicus .
> `--disable-warnings-as-errors` option worked fine as expected

@takiguc Are you happy with that solution, so you can close the issue and this PR?

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

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



More information about the client-libs-dev mailing list