Buildresult: gustavoars/arm64-allmodconfig/arm64-gcc12 built on Dec 1, 09:44
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Dec 1, 09:44
Duration:
0:17:59.938800
Builder:
alpine1
Revision:
init: Kconfig: Disable -Wstringop-overflow for GCC-11 (
617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2)
Target:
gustavoars/arm64-allmodconfig/arm64-gcc12
Branch:
gustavoars
Compiler:
arm64-gcc12
(aarch64-linux-gcc (GCC) 12.2.0 / GNU ld (GNU Binutils) 2.39)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
drivers/hwmon/pc87360.c:341:49: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] drivers/hwmon/pc87360.c:379:51: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:243: drivers/hwmon/pc87360.o] Error 1 make[4]: *** [scripts/Makefile.build:480: drivers/hwmon] Error 2 make[3]: *** [scripts/Makefile.build:480: drivers] Error 2 make[2]: *** [Makefile:1915: .] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2
Possible warnings (1)
arch/arm64/boot/dts/mediatek/mt8195.dtsi:464.4-27: Warning (interrupts_property): /soc/i2c@11d01000/pmic@34:#interrupt-cells: size is (8), expected multiple of 16
Full Log
# git rev-parse -q --verify 617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2^{commit} 617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2 already have revision, skipping fetch # git checkout -q -f -B kisskb 617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2 # git clean -qxdf # < git log -1 # commit 617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Thu Nov 30 14:29:34 2023 -0600 # # init: Kconfig: Disable -Wstringop-overflow for GCC-11 # # -Wstringop-overflow is buggy in GCC-11. Therefore, we should disable # this option specifically for that compiler version. To achieve this, # we introduce a new configuration option: GCC11_NO_STRINGOP_OVERFLOW. # # The compiler option related to string operation overflow is now managed # under configuration CC_STRINGOP_OVERFLOW. This option is enabled by # default for all other versions of GCC that support it. # # Link: https://lore.kernel.org/lkml/b3c99290-40bc-426f-b3d2-1aa903f95c4e@embeddedor.com/ # Link: https://lore.kernel.org/lkml/20231128091351.2bfb38dd@canb.auug.org.au/ # Reviewed-by: Kees Cook <keescook@chromium.org> # Link: https://lore.kernel.org/linux-hardening/ZWj1+jkweEDWbmAR@work/ # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 617ab3c357d2ebdfff0e1a090c46f2f3f29b45e2 # make -s -j 160 ARCH=arm64 O=/kisskb/build/gustavoars_allmodconfig_arm64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux- allmodconfig # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/gustavoars_allmodconfig_arm64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/gustavoars_allmodconfig_arm64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/gustavoars_allmodconfig_arm64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/arch/arm64/boot/dts/mediatek/mt8195.dtsi:464.4-27: Warning (interrupts_property): /soc/i2c@11d01000/pmic@34:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/drivers/hwmon/pc87360.c: In function 'pc87360_update_device': /kisskb/src/drivers/hwmon/pc87360.c:341:49: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 341 | data->in_max[i] = pc87360_read_value(data, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 342 | LD_IN, i, | ~~~~~~~~~ 343 | PC87365_REG_IN_MAX); | ~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hwmon/pc87360.c:209:12: note: at offset 255 into destination object 'in_max' of size 14 209 | u8 in_max[14]; /* Register value */ | ^~~~~~ /kisskb/src/drivers/hwmon/pc87360.c:379:51: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 379 | data->temp_max[i] = pc87360_read_value(data, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | LD_TEMP, i, | ~~~~~~~~~~~ 381 | PC87365_REG_TEMP_MAX); | ~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/hwmon/pc87360.c:219:12: note: at offset 255 into destination object 'temp_max' of size 3 219 | s8 temp_max[3]; /* Register value */ | ^~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/hwmon/pc87360.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/hwmon] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1915: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 160 ARCH=arm64 O=/kisskb/build/gustavoars_allmodconfig_arm64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/aarch64-linux/bin/aarch64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/gustavoars_allmodconfig_arm64-gcc12 # Build took: 0:17:59.938800
© Michael Ellerman 2006-2018.