Skip to content

Fix a number of toolchain dependency issues

Thomas Petazzoni via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7package/uclibc: introduce and use BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS and BR2_PACKAGE_UCLIBC_SUPPORTSpackage/uclibc/Config.in toolchain/toolchain-buildroot/Config.in+29 -70 replies
2/7package/glibc: introduce and use BR2_PACKAGE_GLIBC_ARCH_SUPPORTS and BR2_PACKAGE_GLIBC_SUPPORTSpackage/glibc/Config.in toolchain/toolchain-buildroot/Config.in+40 -180 replies
3/7package/musl: introduce and use BR2_PACKAGE_MUSL_ARCH_SUPPORTS and BR2_PACKAGE_MUSL_SUPPORTSpackage/musl/Config.in toolchain/toolchain-buildroot/Config.in+29 -90 replies
4/7Config.in: only allow BR2_STATIC_LIBS on supported libc/archConfig.in toolchain/toolchain-buildroot/Config.in+7 -00 replies
5/7arch/Config.in.powerpc: disable some variants on ppc64learch/Config.in.powerpc+10 -02 replies
6/7support/scripts/gen-bootlin-toolchains: properly take into account !BR2_STATIC_LIBS for glibc toolchainssupport/scripts/gen-bootlin-toolchains+4 -14 replies
7/7toolchain/toolchain-external/toolchain-external-bootlin: regenerate with correct !BR2_STATIC_LIBS handlingtoolchain/toolchain-external/toolchain-external-bootlin/Config.in.options+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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