All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/7] Fix a number of toolchain dependency issues
@ 2022-06-05 19:42 Thomas Petazzoni via buildroot
  2022-06-05 19:42 ` [Buildroot] [PATCH 1/7] package/uclibc: introduce and use BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS and BR2_PACKAGE_UCLIBC_SUPPORTS Thomas Petazzoni via buildroot
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-06-05 19:42 UTC (permalink / raw)
  To: Buildroot List, Arnout Vandecappelle (Essensium/Mind),
	James Hilliard, Yann E. MORIN
  Cc: Thomas Petazzoni

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(-)

-- 
2.35.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-06-07  2:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-05 19:42 [Buildroot] [PATCH 0/7] Fix a number of toolchain dependency issues Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 1/7] package/uclibc: introduce and use BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS and BR2_PACKAGE_UCLIBC_SUPPORTS Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 2/7] package/glibc: introduce and use BR2_PACKAGE_GLIBC_ARCH_SUPPORTS and BR2_PACKAGE_GLIBC_SUPPORTS Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 3/7] package/musl: introduce and use BR2_PACKAGE_MUSL_ARCH_SUPPORTS and BR2_PACKAGE_MUSL_SUPPORTS Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 4/7] Config.in: only allow BR2_STATIC_LIBS on supported libc/arch Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 5/7] arch/Config.in.powerpc: disable some variants on ppc64le Thomas Petazzoni via buildroot
2022-06-06  9:45   ` Romain Naour
2022-06-07  2:41     ` Joel Stanley
2022-06-05 19:42 ` [Buildroot] [PATCH 6/7] support/scripts/gen-bootlin-toolchains: properly take into account !BR2_STATIC_LIBS for glibc toolchains Thomas Petazzoni via buildroot
2022-06-05 20:24   ` Yann E. MORIN
2022-06-05 20:28     ` Yann E. MORIN
2022-06-05 21:57       ` Thomas Petazzoni via buildroot
2022-06-05 21:56     ` Thomas Petazzoni via buildroot
2022-06-05 19:42 ` [Buildroot] [PATCH 7/7] toolchain/toolchain-external/toolchain-external-bootlin: regenerate with correct !BR2_STATIC_LIBS handling Thomas Petazzoni via buildroot
2022-06-06 10:24 ` [Buildroot] [PATCH 0/7] Fix a number of toolchain dependency issues Yann E. MORIN
2022-06-06 13:17 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.