Qemu-ARM用户仿真。使用Go时出错 [英] Qemu-ARM user emulation. Error when using Go

查看:158
本文介绍了Qemu-ARM用户仿真。使用Go时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想定制我为ARM设备(Odroid C1 +)创建的图像。特别是我想签出一些git仓库并安装它们的依赖关系。



但是,当安装go库时,会发生以下错误: https://github.com/golang/go/issues/13024



是否有解决方法?或者你知道另一个用户模拟器(或类似的)来做到这一点?

解决方案

解决方法是使用完整的系统仿真QEMU--只需找到一个在qemu-system-arm中启动的ARM内核,而不是从主机上将文件系统从基准文件系统中进行chroot,就可以在QEMU中执行。

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?

解决方案

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.

这篇关于Qemu-ARM用户仿真。使用Go时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆