[PATCH v1 2/8] arm: Fix "file truncated" linker errors from empty built-in.a in SPL/TPL/VPL builds
Sune Brian
briansune at gmail.com
Wed Dec 3 07:54:09 CET 2025
Yuslaimi, Alif Zakuan <alif.zakuan.yuslaimi at altera.com> 於 2025年12月3日週三 下午2:46寫道:
>
> Hi,
>
> On 2/12/2025 4:59 pm, Sune Brian wrote:
> > [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
> >
> > Ilias Apalodimas <ilias.apalodimas at linaro.org> 於 2025年12月2日週二 下午4:53寫道:
> >>
> >> [...]
> >>
> >>>>
> >>>> Ok, let me go through my irc logs in case I find it.
> >>>> Reading the email thread we should compile with anything > 8.1 right?
> >>>>
> >>>> Cheers
> >>>> /Ilias
> >>>>>
> >>>>> --
> >>>>> Tom
> >>>
> >>> Hi llias and Tom,
> >>>
> >>> I have a question might be wrong or not even exist.
> >>> Tom mentioned GCC 8.1 kbuild but u-boot is considered as
> >>> kernel build or it does not always be that case?
> >>
> >> We use the same Kbuild system as the kernel. I updated that a few
> >> months ago since we where stuck on a really old version.
> >>
> >>>
> >>> At least so fat there are nothing can build properly below 10.0.1
> >>> Using ARM official cross compile binaries.
> >>
> >> I think I tested with gcc11, but I I don't remember testing with 8.x.
> >> I probably missed something on the backporting. I'll try having a look
> >>
> >> Cheers
> >> /Ilias
> >>>
> >>> Thanks,
> >>> Brian
> >
> > Thank you IIias I don't really know all the u-boot things.
> > I had provided the first draft for fixing GCC check.
> > https://patchwork.ozlabs.org/project/uboot/patch/20251202041029.186-1-briansune@gmail.com/
> > Now it is on 10.0.1 if 8.1 is the case will update after your confirmation.
> >
> > Thanks,
> > Brian
>
> I am able to build CycloneV with the later GCC 10.3 version on my side
> without this patch included in the patch series.
>
> Thank you all for your valuable inputs.
>
> Alif
Hi Alif
It is possible to align both sides with ARM official binary release?
The ARM have compressed cross-compiled binary.
10.0.1 should be the minimum it can runs.
[1] https://developer.arm.com/downloads/-/gnu-a
Thanks,
Brian
More information about the U-Boot
mailing list