Buildresult: linus/sparc-allmodconfig/sparc64-gcc11 built on Feb 2, 12:38
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Feb 2, 12:38
Duration:
0:12:05.852160
Builder:
alpine1
Revision:
Kconfig: Disable -Wstringop-overflow for GCC globally (
021533194476035883300d60fbb3136426ac8ea5)
Target:
linus/sparc-allmodconfig/sparc64-gcc11
Branch:
linus
Compiler:
sparc64-gcc11
(sparc64-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
arch/sparc/lib/cmpdi2.c:6:11: error: no previous prototype for '__cmpdi2' [-Werror=missing-prototypes] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: arch/sparc/lib/cmpdi2.o] Error 1 make[3]: *** [scripts/Makefile.build:481: arch/sparc/lib] Error 2 kernel/dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes] kernel/dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes] cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: kernel/dma.o] Error 1 make[3]: *** [scripts/Makefile.build:481: kernel] Error 2 drivers/mtd/maps/sun_uflash.c:50:5: error: no previous prototype for 'uflash_devinit' [-Werror=missing-prototypes] cc1: all warnings being treated as errors make[6]: *** [scripts/Makefile.build:243: drivers/mtd/maps/sun_uflash.o] Error 1 make[5]: *** [scripts/Makefile.build:481: drivers/mtd/maps] Error 2 make[4]: *** [scripts/Makefile.build:481: drivers/mtd] Error 2 make[3]: *** [scripts/Makefile.build:481: drivers] Error 2 make[2]: *** [Makefile:1921: .] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2
Possible warnings (1)
<stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp]
Full Log
# git rev-parse -q --verify 021533194476035883300d60fbb3136426ac8ea5^{commit} 021533194476035883300d60fbb3136426ac8ea5 already have revision, skipping fetch # git checkout -q -f -B kisskb 021533194476035883300d60fbb3136426ac8ea5 # git clean -qxdf # < git log -1 # commit 021533194476035883300d60fbb3136426ac8ea5 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Thu Feb 1 14:57:17 2024 -0800 # # Kconfig: Disable -Wstringop-overflow for GCC globally # # It turns out it was never just gcc-11 that was broken. Apparently it # just happens to work on x86-64 with other gcc versions. # # On arm64, I see warnings with gcc version 13.2.1, and the kernel test # robot reports the same problem on s390 with gcc 13.2.0. # # Admittedly it seems to be just the new Xe drm driver, but this is # keeping me from doing my normal arm64 build testing. So it gets # reverted until somebody figures out what causes the problem (and why it # doesn't show on x86-64, which is what makes me suspect it was never just # about gcc-11, and more about just random happenstance). # # This also changes the Kconfig naming a bit - just make the "disable this # for GCC" conditional be one simple Kconfig entry, and we can put the gcc # version dependencies in that entry once we figure out what the correct # rules are. # # The version dependency _may_ still end up being "gcc version larger than # 11" if the issue is purely in the Xe driver, but even if that ends up # the case, let's make that all part of the "GCC_NO_STRINGOP_OVERFLOW" # logic. # # For now, we just disable it for all gcc versions while the exact cause # is unknown. # # Link: https://lore.kernel.org/all/202401161031.hjGJHMiJ-lkp@intel.com/T/ # Cc: Gustavo A. R. Silva <gustavoars@kernel.org> # Cc: Kees Cook <keescook@chromium.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 021533194476035883300d60fbb3136426ac8ea5 # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_64BIT=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- <stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sparc/lib/cmpdi2.c:6:11: error: no previous prototype for '__cmpdi2' [-Werror=missing-prototypes] 6 | word_type __cmpdi2(long long a, long long b) | ^~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:243: arch/sparc/lib/cmpdi2.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: arch/sparc/lib] Error 2 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes] 70 | int request_dma(unsigned int dmanr, const char * device_id) | ^~~~~~~~~~~ /kisskb/src/kernel/dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes] 88 | void free_dma(unsigned int dmanr) | ^~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:243: kernel/dma.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: kernel] Error 2 /kisskb/src/drivers/mtd/maps/sun_uflash.c:50:5: error: no previous prototype for 'uflash_devinit' [-Werror=missing-prototypes] 50 | int uflash_devinit(struct platform_device *op, struct device_node *dp) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/mtd/maps/sun_uflash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/mtd/maps] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:481: drivers/mtd] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:481: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1921: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc11 # Build took: 0:12:05.852160
© Michael Ellerman 2006-2018.