On Mon, 13 Mar 2023 16:00:23 -0700, Nathan Chancellor wrote:
There are two related issues that appear in certain combinations with clang and GNU binutils.
The first occurs when a version of clang that supports zicsr or zifencei via '-march=' [1] (i.e, >= 17.x) is used in combination with a version of GNU binutils that do not recognize zicsr and zifencei in the '-march=' value (i.e., < 2.36):
[...]
Applied, thanks!
[1/1] riscv: Handle zicsr/zifencei issues between clang and binutils https://git.kernel.org/palmer/c/e89c2e815e76
Best regards,