=== chihchun_afk is now known as chihchun | ||
=== shuduo_ is now known as shuduo | ||
shuduo | any good way to build a piece of C code to snap for ARM platform? I tried to use snapcraft example downloader-with-wiki-parts but found just add architectures section does not make compiling with arm gcc automatically. even i modify gcc with arm-linux-gnueabihf-gcc but the dependencies still be compiled for amd64. I thought make plugin can do some magic for different architectures. now my question is what | 10:31 |
---|---|---|
shuduo | easy way I can build a C-based snap for armhf is? | 10:31 |
ogra_ | you casn either do it on real hardware or in a qemu-user-static chroot built by qemu-debootstrap | 10:32 |
ogra_ | snapcraft doesnt support cross building yet | 10:32 |
shuduo | ogra_: hmm, seems it's only way i can take now. thanks. | 10:35 |
asac | ogra_: do you know where the config hook for ubuntu-core stuff like network interfaces is? | 11:11 |
ogra_ | asac, you mean in the snappy code ? no idea, i just know how to use it | 11:40 |
ogra_ | http://paste.ubuntu.com/14258119/ is a script i use for setting up my hosts ... | 11:42 |
asac | ogra_: nevermind. found it in snappy code | 12:25 |
shuduo | ogra_: i managed to get an armhf wily chroot via qemu-debootstrap but apt-get install golang-go always failed. did you try arm chroot before? | 15:24 |
ogra_ | shuduo, go has issues with the qemu chroot (broken syscalls in qemu iirc) ... you said C code above ... | 15:25 |
ogra_ | (i wouldnt have suggested it for a go project) | 15:26 |
shuduo | ogra_: yes, but i tried to compile C example and it also failed. and err msg show something go stack. i wonder snapcraft should not be related to golang. | 15:32 |
ogra_ | hm. then you are likely doomed to do a native build for now | 15:32 |
shuduo | then i tried to install golang-go package but it even can't be installed | 15:33 |
shuduo | ogra_: i submit it as a bug https://bugs.launchpad.net/snapcraft/+bug/1529904 | 16:50 |
ubottu | Launchpad bug 1529904 in Snapcraft "downloader-with-wiki-parts build fails in armhf chroot" [Undecided,New] | 16:50 |
=== shuduo is now known as shuduo_afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!