We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was able to run xv6-x86 on my m1 mac running ubuntu arm64. Perform the following steps:
sudo apt install gcc-i686-linux-gnu
make
make TOLLPREFIX=i686-linux-gnu-
make qemu-nox
make TOLLPREFIX=i686-linux-gnu- qemu-nox
Originally posted by @Mazz84002 in #76 (comment)
The text was updated successfully, but these errors were encountered:
I was able to run xv6-x86 on my m1 mac running ubuntu arm64. Perform the following steps: clone the xv6 from git Now you need to install a cross compiler: sudo apt install gcc-i686-linux-gnu Go to the directory and instead of make , type make TOLLPREFIX=i686-linux-gnu- Now, instead of make qemu-nox, type make TOLLPREFIX=i686-linux-gnu- qemu-nox Voilà!! Originally posted by @Mazz84002 in #76 (comment)
This solution leads to an error in the mpconfig file on my m1 mac: 14: mp.c:83:10: error: array subscript -48806446 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=] 83 | if(conf->version != 1 && conf->version != 4) | ~~~~^~~~~~~~~ mp.c:78:34: note: at offset -2147483648 into object ‘_119 = PHI <_86(14), _16(4), _63(6)>.physaddr’ of size [0, 2147483647] 78 | if((mp = mpsearch()) == 0 || mp->physaddr == 0) | ~~^~~~~~~~~~ mp.c:85:28: error: array subscript -48806446 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=] 85 | if(sum((uchar)conf, conf->length) != 0) . . . . . . "
Please provide a solution to this
Sorry, something went wrong.
it seems your physical memory run out
No branches or pull requests
sudo apt install gcc-i686-linux-gnu
make
, typemake TOLLPREFIX=i686-linux-gnu-
make qemu-nox
, typemake TOLLPREFIX=i686-linux-gnu- qemu-nox
Originally posted by @Mazz84002 in #76 (comment)
The text was updated successfully, but these errors were encountered: