Ver código fonte

package/newlib-bare-metal: bump to newlib 4.5.0

This patch bumps newlib-bare-metal to version 4.5.0.20241231.

The 0001-libgloss-microblaze-fix-read-and-_write-declarati.patch is no longer
needed since it is now included with version 4.5.0.20241231.  For this reason,
the patch can be removed from buildroot.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Neal Frager 6 meses atrás
pai
commit
175bb0df12

+ 0 - 40
package/newlib-bare-metal/0001-libgloss-microblaze-fix-read-and-_write-declarati.patch

@@ -1,40 +0,0 @@
-From 1ebecb83607e9c0cc44ad1e518169ae03c0f2d26 Mon Sep 17 00:00:00 2001
-From: Neal Frager <neal.frager@amd.com>
-Date: Mon, 13 May 2024 07:22:47 +0100
-Subject: [PATCH] libgloss: microblaze: fix read and _write declarations
-
-This patch resolves the following build error which occurs with gcc 14.1.0:
-../../.././libgloss/microblaze/linux-outbyte.c: In function 'outbyte':
-../../.././libgloss/microblaze/linux-outbyte.c:3:9: error: implicit declaration of function '_write' [-Wimplicit-function-declaration]
-    3 |         _write(1, &c, 1);
-
-Signed-off-by: Neal Frager <neal.frager@amd.com>
-Upstream: https://patchwork.sourceware.org/project/newlib/patch/20240513062419.2042278-1-neal.frager@amd.com/
----
- libgloss/microblaze/linux-inbyte.c  | 2 ++
- libgloss/microblaze/linux-outbyte.c | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/libgloss/microblaze/linux-inbyte.c b/libgloss/microblaze/linux-inbyte.c
-index 58fdf1957..2f8d33871 100644
---- a/libgloss/microblaze/linux-inbyte.c
-+++ b/libgloss/microblaze/linux-inbyte.c
-@@ -1,3 +1,5 @@
-+extern int read (int, char *, int);
-+
- int inbyte(void)
- {
- 	char ch = 0;
-diff --git a/libgloss/microblaze/linux-outbyte.c b/libgloss/microblaze/linux-outbyte.c
-index 9d7bc4890..46de511f6 100644
---- a/libgloss/microblaze/linux-outbyte.c
-+++ b/libgloss/microblaze/linux-outbyte.c
-@@ -1,3 +1,5 @@
-+extern int _write (int, char *, int);
-+
- void outbyte (unsigned char c)
- {
- 	_write(1, &c, 1);
--- 
-2.25.1
-

+ 3 - 3
package/newlib-bare-metal/newlib-bare-metal.hash

@@ -1,8 +1,8 @@
 # Locally calculated
-sha256  0c166a39e1bf0951dfafcd68949fe0e4b6d3658081d6282f39aeefc6310f2f13  newlib-4.4.0.20231231.tar.gz
+sha256  33f12605e0054965996c25c1382b3e463b0af91799001f5bb8c0630f2ec8c852  newlib-4.5.0.20241231.tar.gz
 
 # Hashes for license files locally calculated
 sha256  231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c  COPYING
 sha256  a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861  COPYING.LIB
-sha256  f3b7f3e4426b1fa6f60198dae7adfedd94b77b28db2d108adc0253575011e0ff  COPYING.LIBGLOSS
-sha256  9a59b4ee3af067045fe0ea78786201c42d54756fe48cbccf44f3dfc398474717  COPYING.NEWLIB
+sha256  bdaffd5fff30cb5fc7a239a4fa0b95f703590f7b3813ca7f4e76ff46437aeb81  COPYING.LIBGLOSS
+sha256  fcfb5ec69b6ab52676dcc4dab7cf4338c8000ef97812dadd35b8592a640a8419  COPYING.NEWLIB

+ 1 - 1
package/newlib-bare-metal/newlib-bare-metal.mk

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NEWLIB_BARE_METAL_VERSION = 4.4.0.20231231
+NEWLIB_BARE_METAL_VERSION = 4.5.0.20241231
 NEWLIB_BARE_METAL_SITE = https://sourceware.org/ftp/newlib
 NEWLIB_BARE_METAL_SOURCE = newlib-$(NEWLIB_BARE_METAL_VERSION).tar.gz
 NEWLIB_BARE_METAL_DEPENDENCIES = host-gcc-bare-metal