Date: Fri, 12 Jun 2020 15:35:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247210] Risc-V in QEMU: missing interrupts and cc(1) failure Message-ID: <bug-247210-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: phk@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@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247210-227>
