[build2] build2 not Compiling on Raspberry Pi ARMv7 Architecture

Boris Kolpackov boris at codesynthesis.com
Mon Jan 25 14:28:00 UTC 2021


Markus Pawellek via users <users at build2.org> writes:

> It took me some time to get the hardware,
> but I was able to successfully build the build2 toolchain out of the box
> on an ARM-based 64-bit (AARCH64) machine with Armbian installed.

Great, thanks for the information.


> Even after doing the given adjustments,
> I was not able to compile for ARMv7 with Raspbian on the Raspberry Pi.
> Given GCC version 8.3.0, I have got a lot of warnings concerning
> initialization and iterators due to some changes since GCC 7.1.
> After 11 min, the compilation aborted due to a linker error when
> linking 'b-boot' in the directory 'build2'. The error message
> basically boils down to undefined references to '__atomic_store_8'
> and '__atomic_load_8', as can be seen in the following.

Ok, I don't think it makes much sense for us to try and work around
this. But if anyone really needs 32-bit ARM support they are welcome
to look into it.



More information about the users mailing list