Buildresult: gustavoars/s390-allmodconfig/s390x-gcc11 built on Jan 7 2023, 00:54
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jan 7 2023, 00:54
Duration:
0:11:14.144364
Builder:
alpine1
Revision:
bcache: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper (
b942a520d9e43bc31f0808d2f2267a1ddba75518)
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 b942a520d9e43bc31f0808d2f2267a1ddba75518^{commit} b942a520d9e43bc31f0808d2f2267a1ddba75518 already have revision, skipping fetch # git checkout -q -f -B kisskb b942a520d9e43bc31f0808d2f2267a1ddba75518 # git clean -qxdf # < git log -1 # commit b942a520d9e43bc31f0808d2f2267a1ddba75518 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Mon Sep 26 16:43:15 2022 -0500 # # bcache: Replace zero-length arrays 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 arrays # declarations in anonymous union with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for flexible-array members in unions. # # Link: https://github.com/KSPP/linux/issues/193 # Link: https://github.com/KSPP/linux/issues/213 # 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 b942a520d9e43bc31f0808d2f2267a1ddba75518 # < 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:11:14.144364
© Michael Ellerman 2006-2018.