Building the CI20 is problematic.
The device/OS appears unstable.
It will freeze up. It seems to do okay with earlier GCC versions, but now I’m up to 4.7.4 it’s dying during the build. I’m running “nice make -j 1” and I’ve added 1 GB of swap (1 GB of RAM), and the Pi 2 and PINE64 both make 4.7.4 fine with 1 GB of RAM and no swap.
I can reboot the device and restart the make – but because it freezes up, the file which was being written at the time of the freeze comes to exist but is truncated – which breaks the build when (typically object) file is used.
So I’m trying this now, but taking care to try to find out which file was broken by the freeze.