# git rev-parse -q --verify 610347effc2ecb5ededf5037e82240b151f883ab^{commit} 610347effc2ecb5ededf5037e82240b151f883ab already have revision, skipping fetch # git checkout -q -f -B kisskb 610347effc2ecb5ededf5037e82240b151f883ab # git clean -qxdf # < git log -1 # commit 610347effc2ecb5ededf5037e82240b151f883ab # Merge: 0f0d819aef6f a5e0ace04fbf # Author: Linus Torvalds # Date: Mon Jan 22 09:47:24 2024 -0800 # # Merge tag 'Wstringop-overflow-for-6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux # # Pull stringop-overflow warning update from Gustavo A. R. Silva: # "Enable -Wstringop-overflow globally. # # I waited for the release of -rc1 to run a final build-test on top of # it before sending this pull request. Fortunatelly, after building 358 # kernels overnight (basically all supported archs with a wide variety # of configs), no more warnings have surfaced! :) # # Thus, we are in a good position to enable this compiler option for all # versions of GCC that support it, with the exception of GCC-11, which # appears to have some issues with this option [1]" # # Link: https://lore.kernel.org/lkml/b3c99290-40bc-426f-b3d2-1aa903f95c4e@embeddedor.com/ [1] # # * tag 'Wstringop-overflow-for-6.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux: # init: Kconfig: Disable -Wstringop-overflow for GCC-11 # Makefile: Enable -Wstringop-overflow globally # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 610347effc2ecb5ededf5037e82240b151f883ab # make -s -j 40 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.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 40 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 40 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 40 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- :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[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[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[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 40 ARCH=sparc O=/kisskb/build/linus_allmodconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc12 # Build took: 0:07:37.905774