Fix a number of toolchain dependency issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/7] Fix a number of toolchain dependency issues
Hello,
The starting point for this series is the investigation of several build failures affecting the master branch.
Most of those failures are due to the fact that we can currently create configurations for which no C library is available. This happens on architectures where glibc is the only supported C library, but BR2_STATIC_LIBS is enabled.
This is taken care of by the first four patches, which are basically split from a single patch posted by James Hilliard.
Then, another problem is that a recent commit allowed glibc only for powerpc8 on the ppc64le architecture, leaving a number of other PowerPC variants selectable with ppc64le, but for which no C library was available.
Finally, the toolchain-external-booltin package had a similar problem to the glibc/BR2_STATIC_LIBS issue: the package would be visible even if BR2_STATIC_LIBS=y and the selected CPU architecture is only supported by glibc.
Thomas
James Hilliard (4):
package/uclibc: introduce and use BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS and
BR2_PACKAGE_UCLIBC_SUPPORTS
package/glibc: introduce and use BR2_PACKAGE_GLIBC_ARCH_SUPPORTS and
BR2_PACKAGE_GLIBC_SUPPORTS
package/musl: introduce and use BR2_PACKAGE_MUSL_ARCH_SUPPORTS and
BR2_PACKAGE_MUSL_SUPPORTS
Config.in: only allow BR2_STATIC_LIBS on supported libc/arch
Thomas Petazzoni (3):
arch/Config.in.powerpc: disable some variants on ppc64le support/scripts/gen-bootlin-toolchains: properly take into account
!BR2_STATIC_LIBS for glibc toolchains
toolchain/toolchain-external/toolchain-external-bootlin: regenerate
with correct !BR2_STATIC_LIBS handling
Config.in | 2 + arch/Config.in.powerpc | 10 +++++ package/glibc/Config.in | 38 ++++++++++++++++ package/musl/Config.in | 28 ++++++++++++ package/uclibc/Config.in | 28 ++++++++++++ support/scripts/gen-bootlin-toolchains | 5 ++- toolchain/toolchain-buildroot/Config.in | 43 ++++--------------- .../Config.in.options | 10 ++--- 8 files changed, 124 insertions(+), 40 deletions(-)
Signature · 6 lines
2.35.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot