[Bug 247210] Risc-V in QEMU: missing interrupts and cc(1) failure
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jun 12 15:35:21 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247210
Bug ID: 247210
Summary: Risc-V in QEMU: missing interrupts and cc(1) failure
Product: Base System
Version: CURRENT
Hardware: riscv
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: phk at FreeBSD.org
I tried following the wiki to setup a Risc-V system using -CURRENT under
Qemu-devel.
As far as things goes it does boot, and big hat tip for that.
Two issues however:
Two phenomena points to some timer interrupts not happening.
1) Ping(1) reports "inf ms":
root at qemu:/tmp # ping 192.168.60.1
PING 192.168.60.1 (192.168.60.1): 56 data bytes
64 bytes from 192.168.60.1: icmp_seq=0 ttl=64 time=inf ms
64 bytes from 192.168.60.1: icmp_seq=1 ttl=64 time=inf ms
64 bytes from 192.168.60.1: icmp_seq=2 ttl=64 time=inf ms
2) Things run faster i CTRL-T is repeatedly pressed in the console.
I think this may also be why any attempt to ssh into the instance times out.
The other problem is that the installed compiler does not work, compiling the
canonical hello.c fails with:
ld: error: a.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
cc: error: linker command failed with exit code 1 (use -v to see
invocation)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list