I am trying to boot xv6 with qemu but whenever I run make qemu
, I am getting the following error
usertests.c: In function ‘sbrktest’:
usertests.c:1461:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
1461 | *lastaddr = 99;
| ~~~~~~~~~~^~~~
cc1: all warnings being treated as errors
make: *** [<builtin>: usertests.o] Error 1
Running make qemu-nox
resulted in same error.I am using Kubuntu 21.10
operating system.here is a way around but I am looking for a solution if anyone finds out.