rcore-os/zCore

Did not find ELF magic number

goodforever opened this issue · 2 comments

on Mac OS run
cargo run --release -p zircon-loader prebuilt/zircon/x64

got error:

 Running `target/release/zircon-loader prebuilt/zircon/x64`

thread 'main' panicked at 'called Result::unwrap() on an Err value: "Did not find ELF magic number"', /Users/foo/rust/zCore/zircon-loader/src/lib.rs:58:19
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Did you miss the LFS setup?

git lfs install
git lfs pull

Thnaks !, I missed "git lfs pull" but after run , ( I don't run "make rootfs") then
cargo run --release -p zircon-loader prebuilt/zircon/x64

I failed

log
bootsvc: Loading boot arguments...
userboot: finished!
bootsvc: Creating svcfs service...
bootsvc: Loading kernel VMOs...
bootsvc: Creating loader service...
bootsvc: Launching next process...
bootsvc: bootsvc.next = bin/component_manager,fuchsia-boot:///#meta/root.cm,--config-file,/boot/config/component_manager,--use-builtin-process-launcher,--maintain-utc-clock
bootsvc: Launched bin/component_manager
[component_manager] INFO: Component manager is starting up...
[component_manager] INFO: Loaded runtime config from /boot/config/component_manager
fshost: watching for exit
Bus error: 10