Buildresult: gustavoars/x86_64-allmodconfig/x86_64-gcc11 built on Nov 22, 07:53
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Nov 22, 07:53
Duration:
0:13:56.483791
Builder:
alpine1
Revision:
Makefile: Enable -Wstringop-overflow globally (
1b56c90018f0e2bc76064ed6c90d146d5a7f998f)
Target:
gustavoars/x86_64-allmodconfig/x86_64-gcc11
Branch:
gustavoars
Compiler:
x86_64-gcc11
(x86_64-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
include/linux/fortify-string.h:402:19: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:243: drivers/acpi/acpica/nsnames.o] Error 1 make[5]: *** [scripts/Makefile.build:480: drivers/acpi/acpica] Error 2 make[4]: *** [scripts/Makefile.build:480: drivers/acpi] Error 2 mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: mm/mempolicy.o] Error 1 make[3]: *** [scripts/Makefile.build:480: mm] Error 2 lib/vsprintf.c:2894:33: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] lib/vsprintf.c:3392:33: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: lib/vsprintf.o] Error 1 make[3]: *** [scripts/Makefile.build:480: lib] Error 2 make[3]: *** [scripts/Makefile.build:480: drivers] Error 2 make[2]: *** [Makefile:1913: .] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 1b56c90018f0e2bc76064ed6c90d146d5a7f998f^{commit} 1b56c90018f0e2bc76064ed6c90d146d5a7f998f already have revision, skipping fetch # git checkout -q -f -B kisskb 1b56c90018f0e2bc76064ed6c90d146d5a7f998f # git clean -qxdf # < git log -1 # commit 1b56c90018f0e2bc76064ed6c90d146d5a7f998f # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Tue Oct 31 17:50:11 2023 -0600 # # Makefile: Enable -Wstringop-overflow globally # # It seems that we have finished addressing all the remaining # issues regarding -Wstringop-overflow. So, we are now in good # shape to enable this compiler option globally. # # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 1b56c90018f0e2bc76064ed6c90d146d5a7f998f # make -s -j 160 ARCH=x86 O=/kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.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 # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- In file included from /kisskb/src/include/linux/string.h:295, from /kisskb/src/include/acpi/platform/aclinux.h:52, from /kisskb/src/include/acpi/platform/acenv.h:160, from /kisskb/src/include/acpi/acpi.h:22, from /kisskb/src/drivers/acpi/acpica/nsnames.c:8: In function 'strlcat', inlined from 'strcat' at /kisskb/src/include/linux/fortify-string.h:428:6, inlined from 'acpi_ns_build_prefixed_pathname' at /kisskb/src/drivers/acpi/acpica/nsnames.c:378:4: /kisskb/src/include/linux/fortify-string.h:402:19: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 402 | p[actual] = '\0'; | ~~~~~~~~~~^~~~~~ In file included from /kisskb/src/include/acpi/platform/aclinux.h:58, from /kisskb/src/include/acpi/platform/acenv.h:160, from /kisskb/src/include/acpi/acpi.h:22, from /kisskb/src/drivers/acpi/acpica/nsnames.c:8: /kisskb/src/drivers/acpi/acpica/nsnames.c: In function 'acpi_ns_build_prefixed_pathname': /kisskb/src/include/linux/slab.h:604:16: note: at offset -2 into destination object of size [2, 9223372036854775807] allocated by '__kmalloc' 604 | return __kmalloc(size, flags); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/acpi/acpica/nsnames.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/acpi/acpica] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/acpi] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/mm/mempolicy.c: In function 'mpol_parse_str': /kisskb/src/mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 3007 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807] 2890 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 3007 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807] 2890 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:3007:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 3007 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2890:26: note: destination object 'str' of size [0, 9223372036854775807] 2890 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:243: mm/mempolicy.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: mm] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/lib/vsprintf.c: In function 'vsnprintf': /kisskb/src/lib/vsprintf.c:2894:33: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 2894 | end[-1] = '\0'; | ~~~~~~~~^~~~~~ /kisskb/src/lib/vsprintf.c:2749:21: note: at offset [-9223372036854775808, 9223372036854775806] into destination object 'buf' of size [0, 9223372036854775807] 2749 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) | ~~~~~~^~~ /kisskb/src/lib/vsprintf.c: In function 'bstr_printf': /kisskb/src/lib/vsprintf.c:3392:33: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 3392 | end[-1] = '\0'; | ~~~~~~~~^~~~~~ /kisskb/src/lib/vsprintf.c:3213:23: note: at offset [-9223372036854775808, 9223372036854775806] into destination object 'buf' of size [0, 9223372036854775807] 3213 | int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf) | ~~~~~~^~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:243: lib/vsprintf.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: lib] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:480: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1913: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 160 ARCH=x86 O=/kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/gustavoars_allmodconfig_x86_64-gcc11 # Build took: 0:13:56.483791
© Michael Ellerman 2006-2018.