Buildresult: gustavoars/s390-allmodconfig/s390x-gcc11 built on Sep 3 2022, 16:37
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 3 2022, 16:37
Duration:
0:26:56.632116
Builder:
ka2
Revision:
can: etas_es58x: Replace zero-length array with DECLARE_FLEX_ARRAY() helper (
65959816a781dc7a46cb7cfe1c96f321c8d382d4)
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:344:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:249: kernel/fork.o] Error 1 make[1]: *** [Makefile:1853: kernel] Error 2 make: *** [Makefile:222: __sub-make] Error 2
Possible warnings (1)
include/linux/fortify-string.h:344:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
Full Log
# git rev-parse -q --verify 65959816a781dc7a46cb7cfe1c96f321c8d382d4^{commit} 65959816a781dc7a46cb7cfe1c96f321c8d382d4 already have revision, skipping fetch # git checkout -q -f -B kisskb 65959816a781dc7a46cb7cfe1c96f321c8d382d4 # git clean -qxdf # < git log -1 # commit 65959816a781dc7a46cb7cfe1c96f321c8d382d4 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Mon Aug 29 16:50:59 2022 -0500 # # can: etas_es58x: 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 union es58x_urb_cmd with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for a flexible-array member in a union. # # 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> # Acked-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> # 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 65959816a781dc7a46cb7cfe1c96f321c8d382d4 # < make -s -j 48 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 # < make -s -j 48 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 48 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 48 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/spinlock.h:62, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/fork.c:16: In function 'fortify_memcpy_chk', inlined from 'copy_signal' at /kisskb/src/kernel/fork.c:1716:2: /kisskb/src/include/linux/fortify-string.h:344:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] 344 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:249: kernel/fork.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1853: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:222: __sub-make] Error 2 Command 'make -s -j 48 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:26:56.632116
© Michael Ellerman 2006-2018.