# git rev-parse -q --verify 1870cdc0e8dee32e3c221704a2977898ba4c10e8^{commit} 1870cdc0e8dee32e3c221704a2977898ba4c10e8 already have revision, skipping fetch # git checkout -q -f -B kisskb 1870cdc0e8dee32e3c221704a2977898ba4c10e8 # git clean -qxdf # < git log -1 # commit 1870cdc0e8dee32e3c221704a2977898ba4c10e8 # Author: Stephen Rothwell # Date: Fri Mar 1 16:54:10 2024 +1100 # # Add linux-next specific files for 20240301 # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 1870cdc0e8dee32e3c221704a2977898ba4c10e8 # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-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=sh O=/kisskb/build/linux-next_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 160 ARCH=sh O=/kisskb/build/linux-next_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/init.c:99:29: error: no previous prototype for 'l2_cache_init' [-Werror=missing-prototypes] 99 | void __attribute__ ((weak)) l2_cache_init(void) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sh/kernel/cpu/init.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/math-emu/math.c:492:5: error: no previous prototype for 'do_fpu_inst' [-Werror=missing-prototypes] 492 | int do_fpu_inst(unsigned short inst, struct pt_regs *regs) | ^~~~~~~~~~~ /kisskb/src/arch/sh/mm/cache-sh2.c:85:13: error: no previous prototype for 'sh2_cache_init' [-Werror=missing-prototypes] 85 | void __init sh2_cache_init(void) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sh/mm/cache-sh2.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sh/mm/nommu.c:76:13: error: no previous prototype for 'kmap_coherent_init' [-Werror=missing-prototypes] 76 | void __init kmap_coherent_init(void) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:80:7: error: no previous prototype for 'kmap_coherent' [-Werror=missing-prototypes] 80 | void *kmap_coherent(struct page *page, unsigned long addr) | ^~~~~~~~~~~~~ /kisskb/src/arch/sh/mm/nommu.c:86:6: error: no previous prototype for 'kunmap_coherent' [-Werror=missing-prototypes] 86 | void kunmap_coherent(void *kvaddr) | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sh/mm/nommu.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sh/mm] Error 2 make[4]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sh/kernel/cpu] Error 2 make[5]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sh/math-emu/math.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sh/math-emu] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sh/kernel] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sh] Error 2 make[3]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1099: Error: missing operand {standard input}:1099: Error: missing operand {standard input}:1099: Error: invalid operands for opcode {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/net/pcs/pcs-xpcs.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:609: Error: unknown pseudo-op: `.cfi_def_cfa_off' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive {standard input}:548: Error: pcrel too far {standard input}:550: Error: pcrel too far {standard input}:557: Error: pcrel too far {standard input}:559: Error: pcrel too far {standard input}:566: Error: pcrel too far {standard input}:568: Error: pcrel too far {standard input}:575: Error: pcrel too far {standard input}:577: Error: pcrel too far {standard input}:584: Error: pcrel too far {standard input}:586: Error: pcrel too far {standard input}:593: Error: pcrel too far {standard input}:595: Error: pcrel too far sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/hwmon/pmbus/mp2975.o] Error 4 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/hwmon/pmbus] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/hwmon] Error 2 In file included from ./arch/sh/include/generated/asm/div64.h:1, from /kisskb/src/include/linux/math.h:6, from /kisskb/src/include/linux/kernel.h:27, from /kisskb/src/include/linux/cpumask.h:11, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rbtree.h:24, from /kisskb/src/drivers/mtd/ubi/ubi.h:14, from /kisskb/src/drivers/mtd/ubi/nvmem.c:7: /kisskb/src/drivers/mtd/ubi/nvmem.c: In function 'ubi_nvmem_reg_read': /kisskb/src/include/asm-generic/div64.h:222:35: error: comparison of distinct pointer types lacks a cast [-Werror] 222 | (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \ | ^~ /kisskb/src/drivers/mtd/ubi/nvmem.c:34:16: note: in expansion of macro 'do_div' 34 | offs = do_div(lnum, unv->usable_leb_size); | ^~~~~~ In file included from /kisskb/src/include/linux/build_bug.h:5, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/drivers/mtd/ubi/ubi.h:13: /kisskb/src/include/asm-generic/div64.h:234:32: error: right shift count >= width of type [-Werror=shift-count-overflow] 234 | } else if (likely(((n) >> 32) == 0)) { \ | ^~ /kisskb/src/include/linux/compiler.h:76:45: note: in definition of macro 'likely' 76 | # define likely(x) __builtin_expect(!!(x), 1) | ^ /kisskb/src/drivers/mtd/ubi/nvmem.c:34:16: note: in expansion of macro 'do_div' 34 | offs = do_div(lnum, unv->usable_leb_size); | ^~~~~~ /kisskb/src/include/asm-generic/div64.h:238:36: error: passing argument 1 of '__div64_32' from incompatible pointer type [-Werror=incompatible-pointer-types] 238 | __rem = __div64_32(&(n), __base); \ | ^~~~ | | | int * /kisskb/src/drivers/mtd/ubi/nvmem.c:34:16: note: in expansion of macro 'do_div' 34 | offs = do_div(lnum, unv->usable_leb_size); | ^~~~~~ /kisskb/src/include/asm-generic/div64.h:213:38: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'int *' 213 | extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor); | ~~~~~~~~~~^~~~~~~~ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/mtd/ubi/nvmem.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/mtd/ubi] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/mtd] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1919: .] 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=sh O=/kisskb/build/linux-next_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linux-next_allmodconfig_sh4-gcc13 # Build took: 0:09:19.072467