Subject: bug#78251: arm-trusted-firmware for pine64 FTBFS

From: Vagrant Cascadian <[email-masked]>
Date: Mon, 05 May 2025 10:01:47 -0700

On 2025-05-05, Vagrant Cascadian wrote:
> On 2025-05-05, Efraim Flashner wrote:
>> I was trying to deploy a new generation on my pine64 and the
>> arm-trusted-firmware failed to build.  I tried changing the make-flags
>> on arm-trusted-firmware to set CFLAGS=-Os but the overflow was still 216
>> bytes.  Changing it to -O2 made it 4312 bytes.  Adding DEBUG=0 didn't
>> make a difference either.
...
>> ld: address 0x500d8 of /tmp/guix-build-arm-trusted-firmware-sun50i-a64-2.12.1.drv-0/source/build/sun50i_a64/debug/bl31/bl31.elf section `.data' is not within region `RAM'
>> ld: BL31 image has exceeded its limit.
>> ld: region `RAM' overflowed by 216 bytes
>> collect2: error: ld returned 1 exit status
>> make: *** [Makefile:1557: /tmp/guix-build-arm-trusted-firmware-sun50i-a64-2.12.1.drv-0/source/build/sun50i_a64/debug/bl31/bl31.elf] Error 1
...
> There is also a 2.12.2 version available now; might be worth updating
> just to see if it fixes it...

Tested 2.12.2, same problem, but at least all the other targets still
build successfully... :/

live well,
  vagrant