Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package/ethtool/ethtool.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc
sha256 9477c365114d910120aaec5336a1d16196c833d8486f7c6da67bedef57880ade ethtool-6.15.tar.xz
sha256 1c2114ab6e0c0d2aa67d699960eb11df4f341e2403139cdf28ae9da858a6025f ethtool-6.19.tar.xz

# Locally calculated
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
Expand Down
2 changes: 1 addition & 1 deletion package/ethtool/ethtool.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

ETHTOOL_VERSION = 6.15
ETHTOOL_VERSION = 6.19
ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
ETHTOOL_LICENSE = GPL-2.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
From 9c9d3aef2f66625d9cb03ef4baee10ed6648e681 Mon Sep 17 00:00:00 2001
From: Frank Scheiner <frank.scheiner@web.de>
Date: Tue, 25 Nov 2025 16:58:23 -0700
Subject: [PATCH] [PATCH] libgomp: Fix GCC build after glibc@cd748a6

The toolchain autobuilds for ia64 failed ([1]) yesterday with:

```
libtool: compile: /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/gcc/xgcc-wrapper /usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/xgcc -B/usr/src/t2-src/src.gcc.ia64-toolchain.251121.040147.278918/gcc-16-20251116/objs/./gcc/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/bin/ -B/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/lib/ -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/include -isystem /usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux/TOOLCHAIN/cross/usr/ia64-t2-linux-gnu/sys-include --sysroot=/usr/src/t2-src/build/ia64-toolchain-24-svn-generic-ia64-itanium2-cross-linux -DHAVE_CONFIG_H -I. -I../../../libgomp -I../../../libgomp/config/linux/ia64 -I../../../libgomp/config/linux -I../../../libgomp/config/posix -I../../../libgomp -I../../../libgomp/../include -Wall -Werror -ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT oacc-cuda.lo -MD -MP -MF .deps/oacc-cuda.Tpo -c ../../../libgomp/oacc-cuda.c -o oacc-cuda.o >/dev/null 2>&1
../../../libgomp/affinity-fmt.c: In function 'gomp_display_affinity':
../../../libgomp/affinity-fmt.c:330:25: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
330 | char *q = strchr (p + 1, '}');
| ^~~~~~
```

[1]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19559235881

This is not ia64-specific but due to the changes in the recent glibc
commit "Implement C23 const-preserving standard library macros" (i.e.
[2]) now requiring "char *q" to be a pointer to a const char to compile
w/o error because of the return value of strchr() .

[2]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690

Also see the related discussion at [3] for details.

[3]: https://sourceware.org/pipermail/libc-alpha/2025-November/172809.html

The GCC build is fixed by the attached patch, see [4] for a successful
build with the then latest snapshots of binutils, glibc and GCC.

[4]: https://github.com/johnny-mnemonic/toolchain-autobuilds/actions/runs/19585045571

Idea from Tomas, attached patch from me.

Cheers,
Frank

0001-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch

From 80af9c233c694904174b54a59404d311378f41f8 Mon Sep 17 00:00:00 2001
From: Frank Scheiner <frank.scheiner@web.de>
Date: Sat, 22 Nov 2025 14:58:10 +0100
Subject: [PATCH] libgomp: Fix GCC build after glibc@cd748a6

char *q needs to be a pointer to a const char for the return value of
strchr() with glibc after "Implement C23 const-preserving standard library
macros".

[glibc@cd748a6]: https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690

libgomp/ChangeLog:
* affinity-fmt.c: Make char *q a pointer to a const char.

Upstream: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9c9d3aef2f66625d9cb03ef4baee10ed6648e681

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
libgomp/affinity-fmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgomp/affinity-fmt.c b/libgomp/affinity-fmt.c
index 1fae893cbaca..8d3df5f1cd55 100644
--- a/libgomp/affinity-fmt.c
+++ b/libgomp/affinity-fmt.c
@@ -327,7 +327,7 @@ gomp_display_affinity (char *buffer, size_t size,
}
if (c == '{')
{
- char *q = strchr (p + 1, '}');
+ const char *q = strchr (p + 1, '}');
if (q)
gomp_fatal ("unsupported long type name '%.*s' in affinity "
"format", (int) (q - (p + 1)), p + 1);
--
2.43.7

6 changes: 3 additions & 3 deletions package/glibc/glibc.hash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Locally calculated (fetched from git)
sha256 737e3b2bfee2e3e209e514133f4ff7d2bef0d0dc903fd46b4e2244f6c998f7b2 glibc-2.42-51-gcbf39c26b25801e9bc88499b4fd361ac172d4125-git4.tar.gz
sha256 5e21722755f466d15770574788394a4abb4fb1e02603a707beeb199706a26a46 glibc-2.43-10-gc3ceb93dc4f67253037644dc8f194831e27f3160-git4.tar.gz

# Hashes for license files
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
sha256 edaef632cbb643e4e7a221717a6c441a4c1a7c918e6e4d56debc3d8739b233f6 COPYINGv2
sha256 20e50fe7aae3e56378ebf0417d9de904f55a0e61e4df315333e632a4d3555d95 COPYING.LESSERv2
sha256 b22a69aa3f80a5201818c66cb0df0f25f9fa13cf5861b0093a058dbd12d50dce LICENSES
4 changes: 2 additions & 2 deletions package/glibc/glibc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
# Generate version string using:
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
# When updating the version, please also update localedef
GLIBC_VERSION = 2.42-51-gcbf39c26b25801e9bc88499b4fd361ac172d4125
GLIBC_VERSION = 2.43-10-gc3ceb93dc4f67253037644dc8f194831e27f3160
GLIBC_SITE = https://sourceware.org/git/glibc.git
GLIBC_SITE_METHOD = git

GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library)
GLIBC_LICENSE_FILES = COPYING COPYING.LIB LICENSES
GLIBC_LICENSE_FILES = COPYINGv2 COPYING.LESSERv2 LICENSES
GLIBC_CPE_ID_VENDOR = gnu

# Extract the base version (e.g. 2.38) from GLIBC_VERSION in order to
Expand Down
2 changes: 1 addition & 1 deletion package/hwdata/hwdata.hash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Locally calculated
sha256 77d0a69e5558d16d33bbb510a09093deaf11c882baf9ef6ec5f18a8ef96e2c13 hwdata-0.403.tar.gz
sha256 13605519e72e46aa13d5eede1901a07a6c83cd25ef866a86e7458047b5c81ce5 hwdata-0.405.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE
2 changes: 1 addition & 1 deletion package/hwdata/hwdata.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

HWDATA_VERSION = 0.403
HWDATA_VERSION = 0.405
HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION))
HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0
HWDATA_LICENSE_FILES = COPYING LICENSE
Expand Down
3 changes: 2 additions & 1 deletion package/jasper/jasper.hash
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# From https://github.com/jasper-software/jasper/releases/tag/version-4.2.9
sha256 f71cf643937a5fcaedcfeb30a22ba406912948ad4413148214df280afc425454 jasper-4.2.9.tar.gz
# Locally calculated
sha256 98058a94fbff57ec6e31dcaec37290589de0ba6f47c966f92654681a56c71fae jasper-4.2.8.tar.gz
sha256 4ad1bb42aff888c4403d792e6e2c5f1716d6c279fea70b296333c9d577d30b81 LICENSE.txt
8 changes: 7 additions & 1 deletion package/jasper/jasper.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

JASPER_VERSION = 4.2.8
JASPER_VERSION = 4.2.9
JASPER_SITE = https://github.com/jasper-software/jasper/releases/download/version-$(JASPER_VERSION)
JASPER_INSTALL_STAGING = YES
JASPER_LICENSE = JasPer-2.0
Expand Down Expand Up @@ -32,6 +32,12 @@ ifeq ($(BR2_STATIC_LIBS),y)
JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
endif

ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
JASPER_CONF_OPTS += -DJAS_ENABLE_MULTITHREADING_SUPPORT=ON
else
JASPER_CONF_OPTS += -DJAS_ENABLE_MULTITHREADING_SUPPORT=OFF
endif

ifeq ($(BR2_PACKAGE_JPEG),y)
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
JASPER_DEPENDENCIES += jpeg
Expand Down
2 changes: 1 addition & 1 deletion package/libuv/libuv.hash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Locally calculated
sha256 2ceca1a7577633cf92794db5bf5512370f6cd45a5746d6e14f8c20aeab0a547b libuv-v1.51.0-dist.tar.gz
sha256 c5f14915e2fa7b83b6111c3bc477920559499e10d95f852707420c8725b82d6a libuv-v1.52.1-dist.tar.gz
sha256 16de0c32b265cb7d46a6d3bd614f259dd4d693a5e26b3407b04aae8d73041f0c LICENSE
sha256 262c44bd2cdba037e6d2a82fba15f5800d292bc993a6f5d6b6ea487744d02836 LICENSE-extra
2 changes: 1 addition & 1 deletion package/libuv/libuv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# When bumping libuv, check if a new version of uvw is available
# and bump it too.
LIBUV_VERSION = 1.51.0
LIBUV_VERSION = 1.52.1
LIBUV_SOURCE = libuv-v$(LIBUV_VERSION)-dist.tar.gz
LIBUV_SITE = https://dist.libuv.org/dist/v$(LIBUV_VERSION)
LIBUV_DEPENDENCIES = host-pkgconf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[yann.morin.1998@free.fr: rebase for 2.39]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
[Bernd: rebase for 2.43]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Rules | 14 ++++++++++----
locale/Makefile | 3 ---
2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/Rules b/Rules
index 44c041c491..156c82619b 100644
index b07400a979..4ce2180b49 100644
--- a/Rules
+++ b/Rules
@@ -239,10 +239,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
@@ -247,10 +247,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
$(binaries-all-notests))

ifneq "$(strip $(binaries-shared-notests))" ""
Expand All @@ -42,7 +44,7 @@ index 44c041c491..156c82619b 100644

ifneq "$(strip $(binaries-shared-tests))" ""
diff --git a/locale/Makefile b/locale/Makefile
index 9d9c1a7691..4d26032c15 100644
index fc38c02114..c00bc085b4 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -76,7 +76,6 @@ aux = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[yann.morin.1998@free.fr: rebase for 2.39]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
[Bernd: rebase for 2.43]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 180e49d95b..fdb19d1d27 100755
index 0cd2269859..1c7e42ec10 100755
--- a/configure
+++ b/configure
@@ -5352,7 +5352,7 @@ printf %s "checking version of $LD... " >&6; }
@@ -5350,7 +5350,7 @@ printf %s "checking version of $LD... " >&6; }
ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
Expand All @@ -47,11 +49,11 @@ index 180e49d95b..fdb19d1d27 100755
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;

@@ -5801,7 +5801,7 @@ int
@@ -5799,7 +5799,7 @@ int
main (void)
{

-#if !defined __GNUC__ || __GNUC__ < 12 || (__GNUC__ == 12 && __GNUC_MINOR__ < 1)
-#if (!defined __GNUC__ || __GNUC__ < 12 || (__GNUC__ == 12 && __GNUC_MINOR__ < 1)) && (!defined __clang__ || __clang_major__ < 18)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8)
#error insufficient compiler
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: adapted to glibc 2.40, which required the logic to be changed
to _ISOC23_SOURCE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Bernd: rebase for 2.43]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
include/features.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/features.h b/include/features.h
index 8515b06b36..9abd65af93 100644
index c080ad4260..230fd2539a 100644
--- a/include/features.h
+++ b/include/features.h
@@ -217,9 +217,7 @@
@@ -223,9 +223,7 @@
# undef _ISOC11_SOURCE
# define _ISOC11_SOURCE 1
# undef _ISOC23_SOURCE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
From 34e68bbb6631320bf2b64a00467fb5e59065bd43 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Fri, 6 Mar 2026 20:59:28 +0100
Subject: [PATCH] HACK: use TIME_[MONOTONIC|ACTIVE|THREAD_ACTIVE] without
_ISOC23_SOURCE to build localedef with glibc < 2.40
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The Buildroot host-localdef package is built when
BR2_GENERATE_LOCALE has a value defined.

localdef is a tool from the glibc package, and is normally
meant to be built with the glibc version it is included in.

When Buildroot builds host-localedef, it will use the host glibc.
When the host glibc version is < 2.40, the compilation fails with
error:

../include/time.h:545:11: error: ‘TIME_MONOTONIC’ undeclared
(first use in this function); did you mean ‘CLOCK_MONOTONIC’?
../include/time.h:546:11: error: ‘TIME_ACTIVE’ undeclared
(first use in this function); did you mean ‘TIMER_ABSTIME’?
../include/time.h:547:11: error: ‘TIME_THREAD_ACTIVE’ undeclared
(first use in this function)

This error happen for example in the Buildroot Docker image
(which is a Debian 12, glibc 2.36).

This is because glibc < 2.40 does not define _ISOC23_SOURCE, which
was added in upstream commit [1], and the previous Buildroot localedef
package patch which also removes the _ISOC23_SOURCE definition.

This patch workaround the situation by removing the condition around
the missing definitions.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=42cc619dfbc44e263239c2de870bae11ad65810a

Upstream: Not applicable
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: add extra info in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
time/time.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/time/time.h b/time/time.h
index ae7beccb72..0a2e8e741f 100644
--- a/time/time.h
+++ b/time/time.h
@@ -67,8 +67,6 @@ typedef __pid_t pid_t;
#ifdef __USE_ISOC11
/* Time base values for timespec_get. */
# define TIME_UTC 1
-#endif
-#if __GLIBC_USE (ISOC23)
# define TIME_MONOTONIC 2
# define TIME_ACTIVE 3
# define TIME_THREAD_ACTIVE 4
--
2.53.0

2 changes: 1 addition & 1 deletion package/localedef/localedef.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Use the same VERSION and SITE as target glibc
# As in glibc.mk, generate version string using:
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
LOCALEDEF_VERSION = 2.42-51-gcbf39c26b25801e9bc88499b4fd361ac172d4125
LOCALEDEF_VERSION = 2.43-10-gc3ceb93dc4f67253037644dc8f194831e27f3160
LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION)$(BR_FMT_VERSION_git).tar.gz
LOCALEDEF_SITE = https://sourceware.org/git/glibc.git
LOCALEDEF_SITE_METHOD = git
Expand Down
2 changes: 1 addition & 1 deletion package/sqlite/sqlite.hash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Locally computed
sha256 fbd89f866b1403bb66a143065440089dd76100f2238314d92274a082d4f2b7bb sqlite-autoconf-3510200.tar.gz
sha256 f6b50b0c103392af32a8be15b2b9d25959de9a00a70c3979128aafeaa5338b3f sqlite-autoconf-3520000.tar.gz
sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms
4 changes: 2 additions & 2 deletions package/sqlite/sqlite.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
################################################################################

SQLITE_VERSION = 3.51.2
SQLITE_TAR_VERSION = 3510200
SQLITE_VERSION = 3.52.0
SQLITE_TAR_VERSION = 3520000
SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz
SQLITE_SITE = https://www.sqlite.org/2026
SQLITE_LICENSE = blessing
Expand Down