GCC compiling on ARM host #17150

issue hebasto opened this issue on October 15, 2019
  1. hebasto commented at 4:49 PM on October 15, 2019: member

    ARM is one of the supported platforms for compiling and running Bitcoin Core.

    Unfortunately, some ARM-related caveats are not documented:

    • there is a bug in GCC 5 and 6

    • the mentioned bug is fixed in GCC 7, but the compiler emits tons of diagnostic notes on ARM host; passing -Wno-psabi option to the compiler could suppress these notes

  2. fanquake added the label Build system on Oct 15, 2019
  3. MarcoFalke commented at 5:40 PM on October 15, 2019: member

    How are we affected by the compiler bug? If affected, I hope we have a unit or configure test that fails when compiled with a buggy compiler?

    Jup, the warnings can be ignored: https://github.com/bitcoin/bitcoin/blob/137b7a2af1aa3e19e543af68345c6e10dd27a6dc/ci/test/00_setup_env_arm.sh#L18

  4. hebasto closed this on Oct 15, 2019

  5. laanwj commented at 1:46 PM on October 16, 2019: member

    FWIW I've been using bitcoin core on ARM (both 32 and 64) for years and never had any issues due to that GCC bug. This is a very general C++ bug and I don't think it's our responsibility to document it.

    Also: the gitian-built executables are built with gcc 8, so it's fixed there.

  6. DrahtBot locked this on Dec 16, 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-24 21:14 UTC

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