Buildresult: gustavoars/m68k-allmodconfig/m68k-gcc11 built on Nov 21 2023, 18:21
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Nov 21 2023, 18:21
Duration:
0:07:42.609748
Builder:
alpine3
Revision:
Makefile: Enable -Wstringop-overflow globally (
167820dd258df90362619c429e9962e8844fc344)
Target:
gustavoars/m68k-allmodconfig/m68k-gcc11
Branch:
gustavoars
Compiler:
m68k-gcc11
(m68k-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
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[2]: *** [Makefile:1913: .] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2
Possible warnings (2)
warning: The last gc run reported the following. Please correct the root cause warning: There are too many unreachable loose objects; run 'git prune' to remove them.
Full Log
# git rev-parse -q --verify 167820dd258df90362619c429e9962e8844fc344^{commit} # git fetch -q -n -f https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/kspp warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 167820dd258df90362619c429e9962e8844fc344^{commit} 167820dd258df90362619c429e9962e8844fc344 # git checkout -q -f -B kisskb 167820dd258df90362619c429e9962e8844fc344 # git clean -qxdf # < git log -1 # commit 167820dd258df90362619c429e9962e8844fc344 # 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/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 167820dd258df90362619c429e9962e8844fc344 # make -s -j 160 ARCH=m68k O=/kisskb/build/gustavoars_allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-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 160 ARCH=m68k O=/kisskb/build/gustavoars_allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 160 ARCH=m68k O=/kisskb/build/gustavoars_allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 160 ARCH=m68k O=/kisskb/build/gustavoars_allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- /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 [-2147483649, 2147483646] into destination object 'buf' of size [0, 2147483647] 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 [-2147483649, 2147483646] into destination object 'buf' of size [0, 2147483647] 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]: *** Waiting for unfinished jobs.... 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=m68k O=/kisskb/build/gustavoars_allmodconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/gustavoars_allmodconfig_m68k-gcc11 # Build took: 0:07:42.609748
© Michael Ellerman 2006-2018.