Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/gcc: Disable uclibc for powerpc64 and powerpc64le
@ 2022-05-05 10:09 Joel Stanley
  2022-05-05 19:45 ` Arnout Vandecappelle
  2022-05-05 19:55 ` Yann E. MORIN
  0 siblings, 2 replies; 4+ messages in thread
From: Joel Stanley @ 2022-05-05 10:09 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Giulio Benetti, Thomas Petazzoni

uClibc-ng does not (and has never) supported the 64 bit powerpc
architecture.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
I'm a bit confused as to why uclibc was ever an option. Perhaps I missed
something! I did a search of the mailing list archive and the best I
found was this post from Thomas:

 https://lore.kernel.org/buildroot/20160817193721.0cc1466d@free-electrons.com/

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 package/gcc/Config.in.host | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index a1fe192d3a24..3364860ec7a4 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -31,6 +31,8 @@ config BR2_GCC_VERSION_9_X
 	# upstream gcc. C-SKY gcc upstream support not tested
 	# with upstream binutils and glibc.
 	depends on !BR2_csky
+	# 64 bit powerpc is not supported by uclibc
+	depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_powerpc64 || BR2_powerpc64le))
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_9
 
 config BR2_GCC_VERSION_10_X
@@ -43,6 +45,8 @@ config BR2_GCC_VERSION_10_X
 	# upstream gcc. C-SKY gcc upstream support not tested
 	# with upstream binutils and glibc.
 	depends on !BR2_csky
+	# 64 bit powerpc is not supported by uclibc
+	depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_powerpc64 || BR2_powerpc64le))
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_10
 
 config BR2_GCC_VERSION_11_X
@@ -54,6 +58,8 @@ config BR2_GCC_VERSION_11_X
 	# that need to be reverted since gcc 8.4, 9.3 and 10.1.
 	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
 	depends on !BR2_sparc
+	# 64 bit powerpc is not supported by uclibc
+	depends on !(BR2_TOOLCHAIN_USES_UCLIBC && (BR2_powerpc64 || BR2_powerpc64le))
 	select BR2_TOOLCHAIN_GCC_AT_LEAST_11
 
 endchoice
-- 
2.35.1

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

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

end of thread, other threads:[~2022-05-09  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-05 10:09 [Buildroot] [PATCH] package/gcc: Disable uclibc for powerpc64 and powerpc64le Joel Stanley
2022-05-05 19:45 ` Arnout Vandecappelle
2022-05-05 19:55 ` Yann E. MORIN
2022-05-09  7:59   ` Joel Stanley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox