Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add armhf/aarch64 gitian builds #8188

Merged
merged 2 commits into from Jun 13, 2016
Merged

Add armhf/aarch64 gitian builds #8188

merged 2 commits into from Jun 13, 2016

Commits on Jun 10, 2016

  1. Copy the full SHA
    980e7eb View commit details
    Browse the repository at this point in the history
  2. 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.
    theuni committed Jun 10, 2016
    Copy the full SHA
    9d25362 View commit details
    Browse the repository at this point in the history