All of lore.kernel.org
 help / color / mirror / Atom feed
* Error: unrecognized opcode on riscv64
@ 2022-07-20 14:58 Alex
  0 siblings, 0 replies; only message in thread
From: Alex @ 2022-07-20 14:58 UTC (permalink / raw)
  To: u-boot

Attempting to compile the latest master code for qemu (virt) and the unmatched shows the following error:

  arch/riscv/cpu/cpu.c: Assembler messages:
  arch/riscv/cpu/cpu.c:96: Error: unrecognized opcode `csrs sstatus,a5'
  arch/riscv/cpu/cpu.c:97: Error: unrecognized opcode `csrw 0x003,0'


Any ideas on what's going on?

Toolchain:

  riscv64-linux-gnu-gcc   -  gcc version 12.1.0 (GCC) 
  riscv64-linux-gnu-as     -  GNU assembler (GNU Binutils) 2.36.1

Compiling on ArchLinux


 -- Alex

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-20 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 14:58 Error: unrecognized opcode on riscv64 Alex

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.