Qemu-ARM用户仿真。在使用Go时出现错误。

huangapple go评论78阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2017年6月20日 00:51:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/44635983.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定