gitian: Add suport for deterministic armhf builds #7659

pull btcdrak wants to merge 3 commits into bitcoin:master from btcdrak:arm changing 4 files +138 −4
  1. btcdrak commented at 10:30 AM on March 9, 2016: contributor

    No description provided.

  2. Add suport for deterministic armhf builds
    Many people use development boards (Raspberry Pi 2, Banana Pi,
    Odroid boards, etc) to run full nodes in CLI mode.
    
    The only option they had until now is to compile their own from source.
    Even though many tutorials are available, it is still not trivial for
    non tech-savvy users.
    
    Providing an officially built armhf binary would provide non tech-savvy
    users an easy ramp-on to Bitcoin Classic.
    
    *** GUI has been disabled for this build — according to Qt docs it
    needs to be compiled on with device-specific headers. Most armhf users
    use it in CLI mode only anyway.
    
    Tested binaries on Raspberry Pi2, Odroid C1 and Odroid XU4.
    291aec6922
  3. in doc/release-process.md:None in 4530e698f9 outdated
      90 | @@ -91,8 +91,9 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
      91 |  
      92 |  	./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
      93 |  	./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
      94 | -    mv build/out/bitcoin-*.tar.gz build/out/src/bitcoin-*.tar.gz ../
    


    MarcoFalke commented at 10:39 AM on March 9, 2016:

    Did you try this? I don't think this will work. (c.f. #7465)

  4. in contrib/gitian-descriptors/gitian-linux-armhf.yml:None in 4530e698f9 outdated
       0 | @@ -0,0 +1,124 @@
       1 | +---
       2 | +name: "bitcoin-linux-armhf-0.13"
       3 | +enable_cache: true
       4 | +suites:
       5 | +- "trusty"
       6 | +architectures:
       7 | +- "amd64"
       8 | +packages:
    



    btcdrak commented at 10:50 AM on March 9, 2016:

    It build just fine without it, but I'll add it for consistency.

    b4747e18f8fdadddbe8f3337e7f1f3eebd471a4851ea50c3d7d889d38f960298  bitcoin-0.12.99-armhf-cli.tar.gz
    ca5591a49e27ce1c5af4fb2cc4801392df2d39b79b5da96c4f393b56a8321f9d  src/bitcoin-0.12.99.tar.gz
    48371b783f4347d7d16e138e61b292c678c77aa2e881d2dce060365efb5a70cd  bitcoin-linux-armhf-0.13-res.yml
    

    MarcoFalke commented at 10:52 AM on March 9, 2016:

    If it is not needed, but needed in #7658, it should be removed for consistency?


    btcdrak commented at 10:54 AM on March 9, 2016:

    Maybe, but not as part of this PR.

  5. MarcoFalke commented at 10:41 AM on March 9, 2016: member

    Concept ACK 4530e69

  6. btcdrak force-pushed on Mar 9, 2016
  7. btcdrak force-pushed on Mar 9, 2016
  8. Gitian: fix check-symbols for armhf builds
    amrhf builds leak Boost symbols, so @laanwj’s linker script hack was
    added back to armhf builds.
    
    Also added ld-linux-armhf.so.3 to the list of allowed libraries in
    symbol-check.py.
    6bf62f696e
  9. Fix documentation
    build/out/ is wiped each time
    afe6146396
  10. btcdrak force-pushed on Mar 9, 2016
  11. MarcoFalke commented at 10:55 AM on March 9, 2016: member

    utACK afe6146

  12. luke-jr commented at 3:30 PM on March 9, 2016: member

    Shouldn't this just be thrown into the linux descriptor?

  13. jonasschnelli commented at 3:59 PM on March 9, 2016: contributor

    I think @luke-jr point make sense (if its technically possible), because it will still be a "armhf" linux build I guess? But no strong opinion.

  14. jonasschnelli added the label Build system on Mar 9, 2016
  15. theuni commented at 7:10 PM on March 9, 2016: member

    Agreed with @luke-jr. That descriptor was created to work with multiple archs. Either use a single descriptor for all, or break them all out.

  16. theuni commented at 7:16 PM on March 9, 2016: member

    Also, there should be no need for that linker script. Boost shouldn't be able to leak symbols because we use -Wl,--exclude-libs,ALL. Details on leaked symbols would be useful.

  17. btcdrak commented at 8:12 PM on March 9, 2016: contributor

    @theuni I agree, this should be rolled into -linux.yml

  18. btcdrak closed this on Mar 9, 2016

  19. btcdrak deleted the branch on Dec 3, 2016
  20. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me