Buildresult: gustavoars/s390-allmodconfig/s390x-gcc11 built on Jan 6 2023, 11:32
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jan 6 2023, 11:32
Duration:
0:12:32.645559
Builder:
alpine2
Revision:
mm/memremap: Replace zero-length array with DECLARE_FLEX_ARRAY() helper (
06919d226d01132c03d851966d4df3870fa1b55a)
Target:
gustavoars/s390-allmodconfig/s390x-gcc11
Branch:
gustavoars
Compiler:
s390x-gcc11
(s390-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
include/linux/fortify-string.h:57:33: error: '__builtin_memcpy' offset [0, 127] is out of the bounds [0, 0] [-Werror=array-bounds] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:252: arch/s390/kernel/setup.o] Error 1 make[3]: *** [scripts/Makefile.build:504: arch/s390/kernel] Error 2 make[2]: *** [scripts/Makefile.build:504: arch/s390] Error 2 make[1]: *** [Makefile:2008: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 06919d226d01132c03d851966d4df3870fa1b55a^{commit} 06919d226d01132c03d851966d4df3870fa1b55a already have revision, skipping fetch # git checkout -q -f -B kisskb 06919d226d01132c03d851966d4df3870fa1b55a # git clean -qxdf # < git log -1 # commit 06919d226d01132c03d851966d4df3870fa1b55a # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Sat Sep 3 00:17:18 2022 +0100 # # mm/memremap: Replace zero-length array with DECLARE_FLEX_ARRAY() helper # # Zero-length arrays are deprecated and we are moving towards adopting # C99 flexible-array members, instead. So, replace zero-length array # declaration in struct dev_pagemap with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for a flexible-array member in a union. # # Also, this addresses multiple warnings reported when building # with Clang-15 and -Wzero-length-array. # # Link: https://github.com/KSPP/linux/issues/193 # Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html # Reviewed-by: Kees Cook <keescook@chromium.org> # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 06919d226d01132c03d851966d4df3870fa1b55a # < make -s -j 160 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 160 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/s390/kernel/setup.c:21: /kisskb/src/arch/s390/kernel/setup.c: In function 'setup_lowcore_dat_on': /kisskb/src/include/linux/fortify-string.h:57:33: error: '__builtin_memcpy' offset [0, 127] is out of the bounds [0, 0] [-Werror=array-bounds] 57 | #define __underlying_memcpy __builtin_memcpy | ^ /kisskb/src/include/linux/fortify-string.h:578:9: note: in expansion of macro '__underlying_memcpy' 578 | __underlying_##op(p, q, __fortify_size); \ | ^~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:623:26: note: in expansion of macro '__fortify_memcpy_chk' 623 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/s390/kernel/setup.c:526:9: note: in expansion of macro 'memcpy' 526 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: arch/s390/kernel/setup.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:504: arch/s390/kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:504: arch/s390] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2008: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 160 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 # Build took: 0:12:32.645559
© Michael Ellerman 2006-2018.