[Buildroot] [PATCH v1 1/1] toolchain/toolchain-bare-metal-buildroot: add multilib option

Frager, Neal neal.frager at amd.com
Mon Sep 1 08:46:36 UTC 2025


[AMD Official Use Only - AMD Internal Distribution Only]

Hello everyone,

> Sometimes the default GCC and newlib libraries built for a given
> architecture tuple are not based on the desired ABI. Since ABI definitions are
> different between architectures, the simplest solution is to allow users to
> build bare-metal toolchains with --enable-multilib. This way, the libraries
> for every available ABI will be built and users will be able to select the
> desired library for their user applications.

> This patch adds the option BR2_TOOLCHAIN_BARE_METAL_BUILDROOT_MULTILIB to give
> users the choice to enable multilib, if desired.

> Please note that when using a string of architecture tuples, this option will
> apply to all architectures in the string, so it can significantly increase
> build time.

> Signed-off-by: Neal Frager <neal.frager at amd.com>
> ---
> package/binutils-bare-metal/binutils-bare-metal.mk |  8 +++++++-
> package/gcc-bare-metal/gcc-bare-metal.mk           |  8 +++++++-
> package/newlib-bare-metal/newlib-bare-metal.mk     |  8 +++++++-
> toolchain/toolchain-bare-metal-buildroot/Config.in | 14 ++++++++++++++
> 4 files changed, 35 insertions(+), 3 deletions(-)

As this patch has been sitting a while, I just wanted to send a friendly
reminder to see if there is any additional feedback.

Thanks for any reviews!

Best regards,
Neal Frager
AMD


More information about the buildroot mailing list