英文:
Qemu-ARM user emulation. Error when using Go
问题
我想为一个ARM设备(Odroid C1+)定制一个我创建的图像。特别是我想检出一些git仓库并安装它们的依赖项。
但是在安装go库时,出现了这个错误:https://github.com/golang/go/issues/13024
有没有解决方法?或者你知道另一个用户模拟器(或类似工具)可以做到这一点吗?
英文:
I want to customize an image I created for an ARM device (Odroid C1+). Especially I want to checkout some git repositories and install their dependencies.
But when installing go libraries, this bug is happening: https://github.com/golang/go/issues/13024
Is there a workaround? Or do you know another user emulator (or similar) to do this?
答案1
得分: 2
一个解决方法是在QEMU中使用完全系统仿真-只需找到一个在qemu-system-arm中启动的ARM内核,而不是从主机中的chroot进入文件系统,而是从QEMU内部进行。
英文:
A workaround would be to use full system emulation in QEMU - just find an ARM kernel that boots in qemu-system-arm and instead of chrooting into the file system from the host, do it from within QEMU.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论