It' works! thanks guy :)
It doesn't work when I change rust-install
to rust-freestanding-install
in mk/prefix.mk:23
,
#cp -r "$(PREFIX)/rust-install/lib/rustlib/$(HOST_TARGET)/lib/" "$@.partial/lib/rustlib/$(HOST_TARGET)/"
cp -r "$(PREFIX)/rust-freestanding-install/lib/rustlib/$(HOST_TARGET)/lib/" "$@.partial/lib/rustlib/$(HOST_TARGET)/"
It returns
pthreads-emb/semaphore.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/semaphore.h
make: *** [prefix/x86_64-unknown-redox/relibc-freestanding-install] Error 2
any ideas? It's Beyond my ability,:)
issue 1307 [macOS Catalina 10.15.5] build of llvm-project fails
It seems it is the same question
When I type make all , complied err , output
rtial/x86_64-unknown-redox/include/implement.h
pthreads-emb/pte_generic_osal.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/pte_generic_osal.h
pthreads-emb/pte_osal.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/pte_osal.h
pthreads-emb/pte_types.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/pte_types.h
pthreads-emb/pthread.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/pthread.h
pthreads-emb/sched.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/sched.h
pthreads-emb/semaphore.h -> /Volumes/Chair/redox/prefix/x86_64-unknown-redox/relibc-freestanding-install.partial/x86_64-unknown-redox/include/semaphore.h
make: *** [prefix/x86_64-unknown-redox/relibc-freestanding-install] Error 2
uname -a
:
Darwin
rustc -V
:
rustc 1.47.0-nightly (6c8927b0c 2020-07-26)
git rev-parse HEAD
:
c29329310cb5bae27ae2954c1be0bf5e2cffce0c
When I boot the img with command qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 1 -m 1024 -s -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -device nec-usb-xhci,id=xhci -drive file=redox_0.6.0_harddrive.bin,format=raw
It's fail with error message
Required CPU features are not present
and halt out there.
uname -a
:
Darwinrustc -V
:
rustc 1.47.0-nightly (6c8927b0c 2020-07-26)git rev-parse HEAD
:
none, I use the redox_0.6.0_harddrive.bin.gzand halt
Required CPU features are not present
and halt out there.
I have not idea about log when the qemu halt
Related to:
Blocked by:
Replace me
I use a old OS CentOS 7 , run bootstrap.sh print the following under
Fatal error: \Unsupported platform, please open an issue
So I'm here :)