Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22133

Can not run/build XV6 in Ubuntu

$
0
0

I'm building the XV6 system according to the instructions on the MIT 6.828 course page, but I'm stuck in the build process. After showing this in Terminal

balloc: first 772 blocks have been allocated balloc: write bitmapblock at sector 45 qemu-system-riscv64 -machine virt -bios none-kernel kernel/kernel -m 128M -smp 3 -nographic -global virtio-mmio.force-legacy=false -drivefile=fs.img,if=none,format=raw,id=x0 -devicevirtio-blk-device,drive=x0,bus=virtio-mmio-bus.0

The build process just got stuck like forever.Does anyone know how to fix it? Thx a lot.

My Ubuntu version:

Linux version 6.8.0-45-generic (buildd@lcy02-amd64-075)(x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld(GNU Binutils for Ubuntu) 2.38) #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMICWed Sep 11 15:25:05 UTC 2

My qemu version:

QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.22)

My RISC-V version of GCC:

riscv64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

riscv64-unknown-elf-gcc () 10.2.0


Viewing all articles
Browse latest Browse all 22133

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>