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/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247210 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=3D0 ttl=3D64 time=3Dinf ms 64 bytes from 192.168.60.1: icmp_seq=3D1 ttl=3D64 time=3Dinf ms 64 bytes from 192.168.60.1: icmp_seq=3D2 ttl=3D64 time=3Dinf 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 t= he canonical hello.c fails with: ld: error: a.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimpleme= nted linker relaxation; recompile with -mno-relax cc: error: linker command failed with exit code 1 (use -v to see invocation) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247210-227>