Hi TIm,
We’ve been building packages for Raspbian; specifically varous Python
wheels. The approach has been to use x86 based cloud vms with Resin.io’s docker stuff
‘resinio-xbuild&QEMU’ (
http://bit.ly/2Ark1KI). This spins up a docker container within
the vm that can run some commands in a qemu cpu emulator and others in the native cpu
architecture of the host. However, given Raspian’s history, the images are all for 32bit
ARM (v7).
Rather that dig out the magic for aarch64, I thought I’d ask whether the fedora build
process uses this or another approach for building the binaries, to see if there are any
other ideas that are worth checking.
Fedora uses native compilation for all architectures and actually has
a policy to do so, the cross toolchain is only really supported for
thinks like the kernel/U-Boot and other such "not userspace" style
binaries. I'm sure there are tools that would allow that style of
build but the only one I know of that has this sort of thing is OBS
(Open Build Service) from the SUSE guys, I'm not sure whether that
extends to containers or is only rpms.
Peter