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

duke duke at openjdk.org
Wed Feb 1 17:20:04 UTC 2023


On Fri, 2 Dec 2022 08:41:18 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> I changed GCC toolchain from GCC6 to GCC8 on SLES12SP5 Linux s390x.
> I could see following errors:
> 
> src/java.desktop/share/native/libawt/awt/medialib/awt_ImagingLib.c: In function 'allocateRasterArray':
> src/java.desktop/share/native/libawt/awt/medialib/awt_ImagingLib.c:2944:73: error: 'roff[3]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>                              (((*inP&rasterP->sppsm.maskArray[c]) >> roff[c])
>                                                                      ~~~~^~~
> 
> 
> 
> src/java.desktop/share/native/libawt/awt/medialib/awt_ImagingLib.c:3129:73: error: 'roff[3]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>                              (((*inP&rasterP->sppsm.maskArray[c]) >> roff[c])
>                                                                      ~~~~^~~
> 
> 
> According to error messages,
> roff and loff may not be initialized.

This pull request has been closed without being integrated.

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

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



More information about the client-libs-dev mailing list