Hi Greg,
Regression found on stable-rc 5.4 queue riscv tinyconfig build failed.
Not sure which patch is causing build failures. We will bisect and get back to you.
make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/current LLVM_IAS=1 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- HOSTCC=clang CC=clang
In file included from /builds/linux/kernel/dma/mapping.c:8: In file included from /builds/linux/include/linux/memblock.h:13: In file included from /builds/linux/include/linux/mm.h:10: In file included from /builds/linux/include/linux/gfp.h:6: In file included from /builds/linux/include/linux/mmzone.h:8: In file included from /builds/linux/include/linux/spinlock.h:51: In file included from /builds/linux/include/linux/preempt.h:78: In file included from ./arch/riscv/include/generated/asm/preempt.h:1: In file included from /builds/linux/include/asm-generic/preempt.h:5: In file included from /builds/linux/include/linux/thread_info.h:22: /builds/linux/arch/riscv/include/asm/current.h:30:9: warning: variable 'tp' is uninitialized when used here [-Wuninitialized] return tp; ^~ /builds/linux/arch/riscv/include/asm/current.h:29:33: note: initialize the variable 'tp' to silence this warning register struct task_struct *tp __asm__("tp"); ^ = NULL clang: warning: argument unused during compilation: '-no-pie' [-Wunused-command-line-argument] In file included from /builds/linux/arch/riscv/kernel/cpu.c:7: In file included from /builds/linux/include/linux/seq_file.h:8: In file included from /builds/linux/include/linux/mutex.h:14: /builds/linux/arch/riscv/include/asm/current.h:30:9: warning: variable 'tp' is uninitialized when used here [-Wuninitialized] return tp; ^~ /builds/linux/arch/riscv/include/asm/current.h:29:33: note: initialize the variable 'tp' to silence this warning register struct task_struct *tp __asm__("tp"); ^ = NULL 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. <instantiation>:1:1: error: unrecognized instruction mnemonic LOCAL _restore_kernel_tpsp ^ /builds/linux/arch/riscv/kernel/entry.S:163:2: note: while in macro instantiation SAVE_ALL ^ <instantiation>:2:2: error: unrecognized instruction mnemonic LOCAL _save_context ^
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
-- Linaro LKFT https://lkft.linaro.org