ARM 版 Windows 10 や Ubuntu を Apple Silicon な Mac で動かす簡単な方法です。
メモ: 2021年2月8日現時点での方法で、今後まだ改善されていくと思います。
- Xcode を App Store で、あるいは Command Line Tools を Apple Silicon な Mac にインストール
| 3242 +++ exited with 0 +++ | |
| 3241 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3242, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- | |
| 3241 +++ exited with 0 +++ | |
| 3240 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3241, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- | |
| 3244 +++ exited with 0 +++ | |
| 3243 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3244, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- | |
| 3243 +++ exited with 0 +++ | |
| 3240 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3243, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- | |
| 3246 +++ exited with 0 +++ | |
| 3245 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3246, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- |
| execve("/home/tylerf/fuchsia/.jiri_root/bin/ffx", ["ffx", "doctor", "--restart-daemon"], 0x7ffed3ee4480 /* 40 vars */) = 0 | |
| brk(NULL) = 0x55b8c081b000 | |
| arch_prctl(0x3001 /* ARCH_??? */, 0x7ffd465ee320) = -1 EINVAL (Invalid argument) | |
| access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=146867, ...}, AT_EMPTY_PATH) = 0 | |
| mmap(NULL, 146867, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f12b8253000 | |
| close(3) = 0 | |
| openat(AT_FDCWD, "/usr/lib/libreadline.so.8", O_RDONLY|O_CLOEXEC) = 3 | |
| read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 p\1\0\0\0\0\0"..., 832) = 832 |
| strace ffx doctor --restart-daemon ─╯ | |
| execve("/home/tylerf/fuchsia/.jiri_root/bin/ffx", ["ffx", "doctor", "--restart-daemon"], 0x7fff31aecd10 /* 40 vars */) = 0 | |
| brk(NULL) = 0x55964626b000 | |
| arch_prctl(0x3001 /* ARCH_??? */, 0x7fff23992450) = -1 EINVAL (Invalid argument) | |
| access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=146867, ...}, AT_EMPTY_PATH) = 0 | |
| mmap(NULL, 146867, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffa1e968000 | |
| close(3) = 0 | |
| openat(AT_FDCWD, "/usr/lib/libreadline.so.8", O_RDONLY|O_CLOEXEC) = 3 |