On 11/27/25 3:12 AM, Yuslaimi, Alif Zakuan wrote:
Hello everyone,
I already have the referenced commit in my test branch, and I can
confirm that the same compilation error still appears on CycloneV when
certain directories produce no SPL objects.
The existing fix ensures that built-in.o is always present, but it does
not prevent ar from generating empty built-in.a archives, which older
ARM 32-bit linkers (such as CycloneV toolchains) reject as “file
truncated”.
Which toolchain is this ?
This patch complements the earlier fix by ensuring that each SPL
directory contributes at least one real object, so the resulting built-
in.a archives are non-empty and accepted by all toolchains. It does not
change runtime behavior—only ensures the archives remain valid.
Thanks,
Alif
--
Best regards,
Marek Vasut