Buildresult: kbuild/x86_64-allmodconfig/x86_64-gcc11 built on Oct 13 2022, 14:19
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 13 2022, 14:19
Duration:
0:25:52.556452
Builder:
ka7
Revision:
kbuild: move -Wundef from KBUILD_CFLAGS to KBUILD_CPPFLAGS (
0a7606a9832ab375a38425a659bda13712ca89ae)
Target:
kbuild/x86_64-allmodconfig/x86_64-gcc11
Branch:
kbuild
Compiler:
x86_64-gcc11
(x86_64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:83: error: array subscript [0, 0] is outside array bounds of 'struct dc_writeback_info[1]' [-Werror=array-bounds] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o] Error 1 make[5]: *** [scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** [scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [Makefile:1990: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 0a7606a9832ab375a38425a659bda13712ca89ae^{commit} 0a7606a9832ab375a38425a659bda13712ca89ae already have revision, skipping fetch # git checkout -q -f -B kisskb 0a7606a9832ab375a38425a659bda13712ca89ae # git clean -qxdf # < git log -1 # commit 0a7606a9832ab375a38425a659bda13712ca89ae # Author: Masahiro Yamada <masahiroy@kernel.org> # Date: Thu Oct 13 03:01:18 2022 +0900 # # kbuild: move -Wundef from KBUILD_CFLAGS to KBUILD_CPPFLAGS # # The use of an undefined macro in an #if directive is warned, but only # in *.c files. No warning from other files such as *.S, *.lds.S. # # Since -Wundef is a preprocessor-related warning, it should be added to # KBUILD_CPPFLAGS instead of KBUILD_CFLAGS. # # Fix some uncovered issues. # # [1] Add -D__LINUX_ARM_ARCH__=* to KBUILD_CPPFLAGS # # In file included from arch/arm/kernel/vmlinux.lds.S:13: # ./arch/arm/include/asm/cache.h:23:31: warning: "__LINUX_ARM_ARCH__" is not defined, evaluates to 0 [-Wundef] # 23 | #if defined(CONFIG_AEABI) && (__LINUX_ARM_ARCH__ >= 5) # | ^~~~~~~~~~~~~~~~~~ # # [2] Add missing #include <asm/pgtable.h> # # In file included from arch/arm/mm/cache-v7.S:17: # arch/arm/mm/proc-macros.S:109:5: warning: "L_PTE_SHARED" is not defined, evaluates to 0 [-Wundef] # 109 | #if L_PTE_SHARED != PTE_EXT_SHARED # | ^~~~~~~~~~~~ # arch/arm/mm/proc-macros.S:109:21: warning: "PTE_EXT_SHARED" is not defined, evaluates to 0 [-Wundef] # 109 | #if L_PTE_SHARED != PTE_EXT_SHARED # | ^~~~~~~~~~~~~~ # arch/arm/mm/proc-macros.S:113:10: warning: "L_PTE_XN" is not defined, evaluates to 0 [-Wundef] # 113 | (L_PTE_XN+L_PTE_USER+L_PTE_RDONLY+L_PTE_DIRTY+L_PTE_YOUNG+\ # | ^~~~~~~~ # arch/arm/mm/proc-macros.S:113:19: warning: "L_PTE_USER" is not defined, evaluates to 0 [-Wundef] # 113 | (L_PTE_XN+L_PTE_USER+L_PTE_RDONLY+L_PTE_DIRTY+L_PTE_YOUNG+\ # | ^~~~~~~~~~ # arch/arm/mm/proc-macros.S:113:30: warning: "L_PTE_RDONLY" is not defined, evaluates to 0 [-Wundef] # 113 | (L_PTE_XN+L_PTE_USER+L_PTE_RDONLY+L_PTE_DIRTY+L_PTE_YOUNG+\ # | ^~~~~~~~~~~~ # arch/arm/mm/proc-macros.S:113:43: warning: "L_PTE_DIRTY" is not defined, evaluates to 0 [-Wundef] # 113 | (L_PTE_XN+L_PTE_USER+L_PTE_RDONLY+L_PTE_DIRTY+L_PTE_YOUNG+\ # | ^~~~~~~~~~~ # arch/arm/mm/proc-macros.S:113:55: warning: "L_PTE_YOUNG" is not defined, evaluates to 0 [-Wundef] # 113 | (L_PTE_XN+L_PTE_USER+L_PTE_RDONLY+L_PTE_DIRTY+L_PTE_YOUNG+\ # | ^~~~~~~~~~~ # arch/arm/mm/proc-macros.S:114:10: warning: "L_PTE_PRESENT" is not defined, evaluates to 0 [-Wundef] # 114 | L_PTE_PRESENT) > L_PTE_SHARED # | ^~~~~~~~~~~~~ # arch/arm/mm/proc-macros.S:114:27: warning: "L_PTE_SHARED" is not defined, evaluates to 0 [-Wundef] # 114 | L_PTE_PRESENT) > L_PTE_SHARED # | ^~~~~~~~~~~~ # # [3] #if -> #ifdef # # arch/riscv/kernel/head.S:329:5: warning: "CONFIG_RISCV_BOOT_SPINWAIT" is not defined, evaluates to 0 [-Wundef] # 329 | #if CONFIG_RISCV_BOOT_SPINWAIT # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ # # [4] #elif -> #elif defined() # # arch/s390/boot/decompressor.c:28:7: warning: "CONFIG_KERNEL_ZSTD" is not defined, evaluates to 0 [-Wundef] # 28 | #elif CONFIG_KERNEL_ZSTD # | ^~~~~~~~~~~~~~~~~~ # # [5] Exclude arm64 for now # # In file included from arch/arm64/kernel/vmlinux.lds.S:65: # arch/arm64/include/asm/kernel-pgtable.h:135:41: warning: "PMD_SHIFT" is not defined, evaluates to 0 [-Wundef] # 135 | #define ARM64_MEMSTART_SHIFT PMD_SHIFT # | ^~~~~~~~~ # In file included from arch/arm64/include/asm/asm-uaccess.h:8, # from arch/arm64/kernel/entry.S:29: # arch/arm64/include/asm/kernel-pgtable.h:135:41: warning: "PMD_SHIFT" is not defined, evaluates to 0 [-Wundef] # 135 | #define ARM64_MEMSTART_SHIFT PMD_SHIFT # | ^~~~~~~~~ # # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 0a7606a9832ab375a38425a659bda13712ca89ae # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function 'dc_stream_remove_writeback': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:83: error: array subscript [0, 0] is outside array bounds of 'struct dc_writeback_info[1]' [-Werror=array-bounds] 527 | stream->writeback_info[j] = stream->writeback_info[i]; | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:1269, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:29, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/basics/dc_common.h:29, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:27: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dc_stream.h:241:34: note: while referencing 'writeback_info' 241 | struct dc_writeback_info writeback_info[MAX_DWB_PIPES]; | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1990: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 # Build took: 0:25:52.556452
© Michael Ellerman 2006-2018.