On Mon, Apr 30, 2018 at 08:01:35AM +0200, Dmitry Vyukov wrote: > Hi Ted, > > I don't know what's the problem with Go toolchain, maybe Ian's > hypothesis is true. But we use cross-compilation for arm64 and arm > from Debian Rodete distors and it's working. I cross-compiled executor > for arm with arm-linux-gnueabihf-gcc just few days ago. People also > recommend Linaro-provided toolchains for arm/arm64: > > https://www.linaro.org/downloads/ > https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/
At least historically, Debian's cross compilation environment is not complete. (e.g., if I'm compiling ima-evm-utils, and it depends on libssl-dev, do we have all of the headers for libssl-dev set up for cross compilation if they have any hardware dependencies; etc. etc.) Also Debian's cross compiler packages have release critical bugs since forever, so they aren't in Debian stable. And I want to use a Debian stable build environment so it's not constantly changing on me and causing other instabilities. So that's why I've been using a bare-metal machine or userspace qemu emulation --- it's less work than fighting with trying to make cross-compilation work (and it's not just for sykaller, but all of the various components which make up the {gce,kvm,android}-xfstests test appliance.) I'm sure if I had a vast amount of time, I could make it all work. Unfortunately, I don't.... Cheers, - Ted -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.