[Buildroot] [PATCH] package/arm-gnu-a-toolchain: bump to version 10.3-2021.07
Arnout Vandecappelle
arnout at mind.be
Thu Sep 23 21:20:40 UTC 2021
On 23/09/2021 21:55, Thomas Petazzoni wrote:
> Hello Arnout,
>
> On Mon, 20 Sep 2021 20:52:29 +0200
> Arnout Vandecappelle <arnout at mind.be> wrote:
>
[snip]
>> If that package (which I guess will eventually be upstreamed) links with
>> anything that is part of the toolchain, that's still fine as long as there's no
>> other package (i.e. ATF) links with it (and expects a different target
>> architecture).
>
> As you can see from above, it won't link with any other thing: it's
> bare-metal code for a Cortex-M4 micro-controller.
Well, bare-metal code often links with a libc that is included in the
toolchain (newlib or apparently c-nano in this case), and usually with libgcc as
well (for memcpy and friends).
Regards,
Arnout
>> However, if the intention is to use the toolchain for a Cortex-M and you need
>> any of its libraries, it's probably a lot cleaner to simply have a separate
>> arm-gnu-a-toolchain and arm-gnu-rm-toolchain. It's definitely a bit weird to
>> have a package "arm-gnu-a-toolchain" that actually uses the -rm one...
>
> Yes, I agree that we should probably add a arm-gnu-rm-toolchain package
> side-by-side with the arm-gnu-a-toolchain. Köry: something for you to
> look at, perhaps? :-)
>
> Best regards,
>
> Thomas Petazzoni
>
More information about the buildroot
mailing list