Buildresult: kbuild/x86_64-allmodconfig/x86_64-gcc8 built on Oct 15 2022, 21:47
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 15 2022, 21:47
Duration:
0:16:59.004265
Builder:
ka4
Revision:
kbuild: add -fno-discard-value-names to cmd_cc_ll_c (
c67a85bee78db74c6889a5ca645c3763ad23d863)
Target:
kbuild/x86_64-allmodconfig/x86_64-gcc8
Branch:
kbuild
Compiler:
x86_64-gcc8
(x86_64-linux-gcc (GCC) 8.5.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:55: 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:1989: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify c67a85bee78db74c6889a5ca645c3763ad23d863^{commit} c67a85bee78db74c6889a5ca645c3763ad23d863 already have revision, skipping fetch # git checkout -q -f -B kisskb c67a85bee78db74c6889a5ca645c3763ad23d863 # git clean -qxdf # < git log -1 # commit c67a85bee78db74c6889a5ca645c3763ad23d863 # Author: Nick Desaulniers <ndesaulniers@google.com> # Date: Fri Oct 14 09:53:02 2022 -0700 # # kbuild: add -fno-discard-value-names to cmd_cc_ll_c # # When debugging LLVM IR, it can be handy for clang to not discard value # names used for local variables and parameters. Compare the generated IR. # # -fdiscard-value-names: # define i32 @core_sys_select(i32 %0, ptr %1, ptr %2, ptr %3, ptr %4) { # %6 = alloca i64 # %7 = alloca %struct.poll_wqueues # %8 = alloca [64 x i32] # # -fno-discard-value-names: # define i32 @core_sys_select(i32 %n, ptr %inp, ptr %outp, ptr %exp, # ptr %end_time) { # %expire.i = alloca i64 # %table.i = alloca %struct.poll_wqueues # %stack_fds = alloca [64 x i32] # # The rule for generating human readable LLVM IR (.ll) is only useful as a # debugging feature: # # $ make LLVM=1 fs/select.ll # # As Fangrui notes: # A LLVM_ENABLE_ASSERTIONS=off build of Clang defaults to # -fdiscard-value-names. # # A LLVM_ENABLE_ASSERTIONS=on build of Clang defaults to # -fno-discard-value-names. # # Explicitly enable -fno-discard-value-names so that the IR always contains # value names regardless of whether assertions were enabled or not. # Assertions generally are not enabled in releases of clang packaged by # distributions. # # Link: https://github.com/ClangBuiltLinux/linux/issues/1467 # Reviewed-by: Nathan Chancellor <nathan@kernel.org> # Reviewed-by: Fangrui Song <maskray@google.com> # Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 c67a85bee78db74c6889a5ca645c3763ad23d863 # < make -s -j 120 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.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 120 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 120 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.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:55: error: array subscript [0, 0] is outside array bounds of 'struct dc_writeback_info[1]' [-Werror=array-bounds] stream->writeback_info[j] = stream->writeback_info[i]; ~~~~~~~~~~~~~~~~~~~~~~^~~ 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[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:1989: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 120 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc8 # Build took: 0:16:59.004265
© Michael Ellerman 2006-2018.