Build reference: v5.4.42-105-g3cb7994 gcc version: riscv64-linux-gcc (GCC) 9.3.0
Building riscv:defconfig ... failed -------------- Error log: arch/riscv/lib/tishift.S: Assembler messages: arch/riscv/lib/tishift.S:9: Error: unrecognized opcode `sym_func_start(__lshrti3)' arch/riscv/lib/tishift.S:29: Error: unrecognized opcode `sym_func_end(__lshrti3)' arch/riscv/lib/tishift.S:32: Error: unrecognized opcode `sym_func_start(__ashrti3)' arch/riscv/lib/tishift.S:52: Error: unrecognized opcode `sym_func_end(__ashrti3)' arch/riscv/lib/tishift.S:55: Error: unrecognized opcode `sym_func_start(__ashlti3)' arch/riscv/lib/tishift.S:75: Error: unrecognized opcode `sym_func_end(__ashlti3)' make[2]: *** [arch/riscv/lib/tishift.o] Error 1 make[1]: *** [arch/riscv/lib] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [sub-make] Error 2 --------------
Looks like 28ac255f31d7 ("riscv: Less inefficient gcc tishift helpers (and export their symbols)") may be missing some context commit.
Guenter
On Mon, May 25, 2020 at 08:29:26PM -0700, Guenter Roeck wrote:
Build reference: v5.4.42-105-g3cb7994 gcc version: riscv64-linux-gcc (GCC) 9.3.0
Building riscv:defconfig ... failed
Error log: arch/riscv/lib/tishift.S: Assembler messages: arch/riscv/lib/tishift.S:9: Error: unrecognized opcode `sym_func_start(__lshrti3)' arch/riscv/lib/tishift.S:29: Error: unrecognized opcode `sym_func_end(__lshrti3)' arch/riscv/lib/tishift.S:32: Error: unrecognized opcode `sym_func_start(__ashrti3)' arch/riscv/lib/tishift.S:52: Error: unrecognized opcode `sym_func_end(__ashrti3)' arch/riscv/lib/tishift.S:55: Error: unrecognized opcode `sym_func_start(__ashlti3)' arch/riscv/lib/tishift.S:75: Error: unrecognized opcode `sym_func_end(__ashlti3)' make[2]: *** [arch/riscv/lib/tishift.o] Error 1 make[1]: *** [arch/riscv/lib] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [sub-make] Error 2
Looks like 28ac255f31d7 ("riscv: Less inefficient gcc tishift helpers (and export their symbols)") may be missing some context commit.
Ok, will go drop this patch as it was only the kbuild systems that seemed to want to have it added.
thanks,
greg k-h
linux-stable-mirror@lists.linaro.org