Skip to contentSkip to conversation

package/uclibc: Bump to 1.0.48.

PATCH Applied Dmitry Chestnykh 2 participants 6 messages May 2, 2024 – May 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 package/uclibc: Bump to 1.0.48.

- 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.

---
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(-)
package/uclibc/uclibc.hash +3 -3
index a10ceab54c..7097bbf99a 100644
@@ -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
package/uclibc/uclibc.mk +1 -1
index a7b18133ff..9593e18d45 100644
@@ -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+
Signature · 6 lines
2.44.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/3 arch/Config.in: Allow building buildroot toolchain.

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

---
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(-)
arch/Config.in +0 -5
index 9912f9fce6..e7349e83ae 100644
@@ -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
Signature · 6 lines
2.44.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v2 2/3] arch/Config.in: Allow building buildroot toolchain.

Quoted 4 lines · On Thu, 2 May 2024 07:55:17 +0300 Dmitry Chestnykh <[email protected]>…

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

Quoted 8 lines

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

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH v2 3/3 configs/qemu_sparc_ss10_defconfig: Re-introduce.

In reply to Dmitry Chestnykh

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

---
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
configs/qemu_sparc_ss10_defconfig new file +28 -0
new file mode 100644
index 0000000000..a8e3df9180
@@ -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
Signature · 6 lines
2.44.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH v2 3/3] configs/qemu_sparc_ss10_defconfig: Re-introduce.

Hello,

Quoted 4 lines · On Thu, 2 May 2024 07:55:18 +0300 Dmitry Chestnykh <[email protected]>…

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

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

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to Dmitry Chestnykh
Quoted 5 lines · On Thu, 2 May 2024 07:55:16 +0300 Dmitry Chestnykh <[email protected]>…

- 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.

Quoted 8 lines

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

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot