Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48.
@ 2024-05-02  4:55 Dmitry Chestnykh
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain Dmitry Chestnykh
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Chestnykh @ 2024-05-02  4:55 UTC (permalink / raw)
  To: buildroot; +Cc: Dmitry Chestnykh

- In 1.0.48 release uClibc-ng has provided the fix
for SPARC related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
- The hash for COPYING.LIB was changed because '^L' (0x0C) characters
were removed from COPYING.LIB in uClibc-ng repo.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
---
v1 -> v2:
- Describe the change of COPYING.LIB hash.
---
 package/uclibc/uclibc.hash | 6 +++---
 package/uclibc/uclibc.mk   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index a10ceab54c..7097bbf99a 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -1,4 +1,4 @@
-# From https://downloads.uclibc-ng.org/releases/1.0.47/uClibc-ng-1.0.47.tar.xz.sha256
-sha256  29a4d684a06da344ee3ee09acc2ca7649d592ae3ff848f698145c46def05efcb  uClibc-ng-1.0.47.tar.xz
+# From https://downloads.uclibc-ng.org/releases/1.0.47/uClibc-ng-1.0.48.tar.xz.sha256
+sha256  3bf5fc6cc5cbc454b6c478424755c6f71e7c15578a2c966f02606aa5c5596e21  uClibc-ng-1.0.48.tar.xz
 # Locally calculated
-sha256  6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3  COPYING.LIB
+sha256  ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5  COPYING.LIB
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index a7b18133ff..9593e18d45 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UCLIBC_VERSION = 1.0.47
+UCLIBC_VERSION = 1.0.48
 UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
 UCLIBC_LICENSE = LGPL-2.1+
-- 
2.44.0

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

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

* [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain.
  2024-05-02  4:55 [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Dmitry Chestnykh
@ 2024-05-02  4:55 ` Dmitry Chestnykh
  2024-05-06 20:39   ` Thomas Petazzoni via buildroot
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
  2024-05-06 20:39 ` [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Thomas Petazzoni via buildroot
  2 siblings, 1 reply; 6+ messages in thread
From: Dmitry Chestnykh @ 2024-05-02  4:55 UTC (permalink / raw)
  To: buildroot; +Cc: Dmitry Chestnykh

With this patch series we allow it again because SPARC
was fixed in uClibc-ng so SPARC systems works fine now.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
---
v1 -> v2:
- Split the patch into two parts:
this part allows building buildroot toolchain
for SPARC.
---
 arch/Config.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/Config.in b/arch/Config.in
index 9912f9fce6..e7349e83ae 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -216,11 +216,6 @@ config BR2_sh
 config BR2_sparc
 	bool "SPARC"
 	select BR2_USE_MMU
-	# uClibc-ng broken on sparc due to recent gcc changes
-	# that need to be reverted since gcc 8.4, 9.3 and 10.1.
-	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
-	# gcc <= 10.x has been removed from Buildroot.
-	select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
 	help
 	  SPARC (from Scalable Processor Architecture) is a RISC
 	  instruction set architecture (ISA) developed by Sun
-- 
2.44.0

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

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

* [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce.
  2024-05-02  4:55 [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Dmitry Chestnykh
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain Dmitry Chestnykh
@ 2024-05-02  4:55 ` Dmitry Chestnykh
  2024-05-06 20:40   ` Thomas Petazzoni via buildroot
  2024-05-06 20:39 ` [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Thomas Petazzoni via buildroot
  2 siblings, 1 reply; 6+ messages in thread
From: Dmitry Chestnykh @ 2024-05-02  4:55 UTC (permalink / raw)
  To: buildroot; +Cc: Dmitry Chestnykh

With uClibc-ng-1.0.48 we can restore this config
because uClibc-ng was provided the fix for SPARC.

Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
---
v1 -> v2:
- Split the patch into two parts:
This part re-introduces defconfig.
- Removal of GCC patch was rejected because
gcc-8.4 is only used for PowerPC.
---
 configs/qemu_sparc_ss10_defconfig | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 configs/qemu_sparc_ss10_defconfig

diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig
new file mode 100644
index 0000000000..a8e3df9180
--- /dev/null
+++ b/configs/qemu_sparc_ss10_defconfig
@@ -0,0 +1,28 @@
+# Architecture
+BR2_sparc=y
+BR2_sparc_v8=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Image
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
+
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_AS_KERNEL=y
+
+# Linux kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.6"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc-ss10/linux.config"
+
+# host-qemu for gitlab testing
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
-- 
2.44.0

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

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

* Re: [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48.
  2024-05-02  4:55 [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Dmitry Chestnykh
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain Dmitry Chestnykh
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
@ 2024-05-06 20:39 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-06 20:39 UTC (permalink / raw)
  To: Dmitry Chestnykh; +Cc: buildroot

On Thu,  2 May 2024 07:55:16 +0300
Dmitry Chestnykh <dm.chestnykh@gmail.com> wrote:

> - In 1.0.48 release uClibc-ng has provided the fix
> for SPARC related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
> - The hash for COPYING.LIB was changed because '^L' (0x0C) characters
> were removed from COPYING.LIB in uClibc-ng repo.
> 
> Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
> ---
> v1 -> v2:
> - Describe the change of COPYING.LIB hash.
> ---
>  package/uclibc/uclibc.hash | 6 +++---
>  package/uclibc/uclibc.mk   | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied to master, with minor commit log fixups. Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain.
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain Dmitry Chestnykh
@ 2024-05-06 20:39   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-06 20:39 UTC (permalink / raw)
  To: Dmitry Chestnykh; +Cc: buildroot

On Thu,  2 May 2024 07:55:17 +0300
Dmitry Chestnykh <dm.chestnykh@gmail.com> wrote:

> With this patch series we allow it again because SPARC
> was fixed in uClibc-ng so SPARC systems works fine now.
> 
> Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
> ---
> v1 -> v2:
> - Split the patch into two parts:
> this part allows building buildroot toolchain
> for SPARC.
> ---
>  arch/Config.in | 5 -----
>  1 file changed, 5 deletions(-)

Applied to master, with minor commit title/log fixups, thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce.
  2024-05-02  4:55 ` [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
@ 2024-05-06 20:40   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-06 20:40 UTC (permalink / raw)
  To: Dmitry Chestnykh; +Cc: buildroot

Hello,

On Thu,  2 May 2024 07:55:18 +0300
Dmitry Chestnykh <dm.chestnykh@gmail.com> wrote:

> With uClibc-ng-1.0.48 we can restore this config
> because uClibc-ng was provided the fix for SPARC.
> 
> Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>

Could you confirm that the instructions in
board/qemu/sparc-ss10/readme.txt are still valid?

Also, could you in this same commit add yourself in the DEVELOPERS file
for this defconfig and the board/qemu/sparc-ss10/ ?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-05-06 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02  4:55 [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Dmitry Chestnykh
2024-05-02  4:55 ` [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain Dmitry Chestnykh
2024-05-06 20:39   ` Thomas Petazzoni via buildroot
2024-05-02  4:55 ` [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce Dmitry Chestnykh
2024-05-06 20:40   ` Thomas Petazzoni via buildroot
2024-05-06 20:39 ` [Buildroot] [PATCH v2 1/3] package/uclibc: Bump to 1.0.48 Thomas Petazzoni via buildroot

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