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