diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-06-10 02:56:42 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-06-10 05:34:50 -0400 |
commit | 9d253620874087d96d64d0c4c771a582d9774657 (patch) | |
tree | f65d793b4fc39cd0e7a2ac6bbf237f208bd83668 /depends/packages.md | |
parent | 980e7eb98c81af5acc843cdd697ad277489252ad (diff) |
build: add armhf/aarch64 gitian builds
- create a script to handle split debug. This will also eventually need to check
targets, and use dsymutil for osx.
- update config.guess/config.sub for bdb for aarch64.
- temporarily disable symbol checks for arm/aarch64
- quit renaming to linux32/linux64 and use the host directly
This also adds a hack to work around an Ubuntu bug in the gcc-multilib package:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults-armhf-cross/+bug/1347820
The problem is that gcc-multilib conflicts with the aarch toolchain.
gcc-multilib installs a symlink that points
/usr/include/asm -> /usr/include/x86_64-linux-gnu/asm.
Without this link, gcc -m32 can't find asm/errno.h (and others), since
/usr/include/x86_64-linux-gnu isn't in its default include path. But
/usr/include/i386-linux-gnu is (though it doesn't exist on disk).
So work around the problem by linking
/usr/include/i386-linux-gnu/asm -> /usr/include/x86_64-linux-gnu/asm.
The symlink fix is actually quite reasonable, but echoing the password into
sudo is nasty, and should probably be addressed in gitian itself. It makes more
sense to enable passwordless sudo for the build user by default.
Diffstat (limited to 'depends/packages.md')
0 files changed, 0 insertions, 0 deletions