package/{glibc, localedef}: bump version to 2.43
v2 cover package/{glibc, localedef}: bump version to 2.43
Hi,
this series bumps glibc to 2.43:
https://sourceware.org/glibc/wiki/Release/2.43
This series was tested with an allyesconfig on BR2_x86_64 with gcc 13/14/15 and includes fixes only for build errors introduced by the glibc bump.
To test add one patch from patchworks:
https://patchwork.ozlabs.org/project/buildroot/patch/20260203224414.192218-2-petr.vorel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org/
package/ltp-testsuite: bump version to 20260130
Regards, Bernd
v2: rebased for master branch after -next commit
Bernd Kuhls (14):
package/socat: bump version to 1.8.1.1
package/lxc: bump version to 6.0.6
package/foot: bump version to 1.26.0
package/libkrb5: fix build with glibc 2.43 package/wlroots: fix build with glibc 2.43 package/ntp: fix build with glibc 2.43
package/waffle: fix build with glibc 2.43 package/links: Fix build with glibc 2.43 package/ltp-testsuite: fix build with glibc 2.43 package/libvips: fix build with glibc 2.43 package/freeswitch: disable mod_enum to fix build with glibc 2.43
DEVELOPERS: remove Bernd Kuhls from libldns package/gcc/15.2.0: fix build with glibc 2.43 package/{glibc, localedef}: bump version to 2.43
DEVELOPERS | 1 - package/foot/foot.hash | 2 +- package/foot/foot.mk | 2 +- package/freeswitch/freeswitch.mk | 5 - ...mp-Fix-GCC-build-after-glibc-cd748a6.patch | 77 +++++++ package/glibc/glibc.hash | 6 +- package/glibc/glibc.mk | 4 +- .../0001-Fix-strchr-conformance-to-C23.patch | 189 ++++++++++++++++++ ...IPS_FREEF-for-expression-like-macros.patch | 33 +++ package/links/0001-glibc-2.43.patch | 27 +++ ...y-on-GCC-to-4.8-and-binutils-to-2.24.patch | 4 +- ...3_SOURCE-undefined-to-build-localede.patch | 37 ---- package/localedef/localedef.mk | 2 +- ...fine-_GNU_SOURCE-and-include-fcntl.h.patch | 84 ++++++++ package/lxc/lxc.hash | 3 +- package/lxc/lxc.mk | 2 +- package/ntp/0007-memchr.patch | 42 ++++ package/socat/0001-no-documentation.patch | 4 +- package/socat/socat.hash | 6 +- package/socat/socat.mk | 2 +- .../0001-c11-threads-fix-build-on-c23.patch | 57 ++++++ package/wlroots/0002-xcursor.patch | 33 +++ 22 files changed, 563 insertions(+), 59 deletions(-) create mode 100644 package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch create mode 100644 package/libkrb5/0001-Fix-strchr-conformance-to-C23.patch create mode 100644 package/libvips/0001-memory-fix-VIPS_FREEF-for-expression-like-macros.patch create mode 100644 package/links/0001-glibc-2.43.patch delete mode 100644 package/localedef/0003-HACK-keep-_ISOC23_SOURCE-undefined-to-build-localede.patch create mode 100644 package/ltp-testsuite/0001-openat2-define-_GNU_SOURCE-and-include-fcntl.h.patch create mode 100644 package/ntp/0007-memchr.patch create mode 100644 package/waffle/0001-c11-threads-fix-build-on-c23.patch create mode 100644 package/wlroots/0002-xcursor.patch
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/14 package/socat: bump version to 1.8.1.1
http://www.dest-unreach.org/socat/
2026-02-12: Socat version 1.8.1.1 has been released.
It fixes compilation with glibc 2.43, xio-netlink.c for Musl, and a few minor bugs, see file CHANGES
2025-12-08: Socat version 1.8.1.0 has been released. It fixes a couple
of minor issues and provides new address types TEXT and STALL and a few new address options.
Rebased patch 0001 due to upstream commit
https://repo.or.cz/socat.git/commitdiff/2cc1f11d02928e7eca9560506dfc6e97a0ac92e3
Updated hash of README, used as license file, due to version bumps:
https://repo.or.cz/socat.git/history/HEAD:/README
--- package/socat/0001-no-documentation.patch | 4 +++- package/socat/socat.hash | 6 +++--- package/socat/socat.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-)
package/socat/0001-no-documentation.patch +3 -1
@@ -12,6 +12,8 @@ Upstream: N/A Signed-off-by: Thomas Petazzoni <[email protected]> [baruch: update for 1.8.0.0 and 1.8.0.3; git patch format] Signed-off-by: Baruch Siach <[email protected]> +[Bernd: rebase on 1.8.1.1] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
@@ -22,7 +24,7 @@ index c01b1a4a2306..fd89acb06f3c 100644 +++ b/Makefile.in @@ -82,7 +82,7 @@ SHFILES = socat-chain.sh socat-mux.sh socat-broker.sh \ TESTFILES = test.sh socks4echo.sh proxyecho.sh readline-test.sh \ - proxy.sh socks4a-echo.sh socks5server-echo.sh + proxy.sh socks4a-echo.sh socks5server-echo.sh socks5server-auth.sh -all: progs doc +all: progs
package/socat/socat.hash +3 -3
@@ -1,8 +1,8 @@ # From http://www.dest-unreach.org/socat/download.md5sum -md5 8ef0bc4f602636797917f8574c3b249e socat-1.8.0.3.tar.bz2 +md5 5456f0f0c5d4505b68edcb10e23ef128 socat-1.8.1.1.tar.bz2 # From http://www.dest-unreach.org/socat/download.sha256sum -sha256 01eb017361d95bb3a6941e840b59e4463a3fabf92df4154ed02b16a2ed6a0095 socat-1.8.0.3.tar.bz2 +sha256 5ebc636b7f427053f98806696521653a614c7e06464910353cbf54e2327adc1b socat-1.8.1.1.tar.bz2 # Locally calculated -sha256 f51653b61cf2516c39e8f2edefc11604d0f9d14f0c6ae988bef228a1f0283ad2 README +sha256 86e46422f9381b386bd2eb6606f9d6c3ff479f905660d0f318c571292ab304b8 README sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSL
package/socat/socat.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -SOCAT_VERSION = 1.8.0.3 +SOCAT_VERSION = 1.8.1.1 SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2 SOCAT_SITE = http://www.dest-unreach.org/socat/download SOCAT_LICENSE = GPL-2.0 with OpenSSL exception
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 01/14] package/socat: bump version to 1.8.1.1
Hi Bernd,
Quoted 12 lines · Bernd Kuhls
http://www.dest-unreach.org/socat/
2026-02-12: Socat version 1.8.1.1 has been released.
It fixes compilation with glibc 2.43,xio-netlink.cfor Musl, and a
few
minor bugs, see file CHANGES2025-12-08: Socat version 1.8.1.0 has been released. It fixes a couple
of minor issues and provides new address types TEXT and STALL and a
few
new address options.
Quoted 8 lines
Rebased patch 0001 due to upstream commit
https://repo.or.cz/socat.git/commitdiff/2cc1f11d02928e7eca9560506dfc6e97a0ac92e3Updated hash of README, used as license file, due to version bumps:
https://repo.or.cz/socat.git/history/HEAD:/READMESigned-off-by Bernd Kuhls <[email protected]>Reviewed-by Baruch Siach <[email protected]>
I applied patches 1 to 12 of this series to master. The actual glibc bump might need a small rework (see my separate answer).
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH v2 01/14] package/socat: bump version to 1.8.1.1
In reply to Bernd KuhlsIn reply of:
Quoted 10 lines
http://www.dest-unreach.org/socat/
2026-02-12: Socat version 1.8.1.1 has been released.
It fixes compilation with glibc 2.43,xio-netlink.cfor Musl, and a few minor bugs, see file CHANGES2025-12-08: Socat version 1.8.1.0 has been released. It fixes a couple
of minor issues and provides new address types TEXT and STALL and a few new address options.
Quoted 8 lines
Rebased patch 0001 due to upstream commit
https://repo.or.cz/socat.git/commitdiff/2cc1f11d02928e7eca9560506dfc6e97a0ac92e3Updated hash of README, used as license file, due to version bumps:
https://repo.or.cz/socat.git/history/HEAD:/READMESigned-off-by Bernd Kuhls <[email protected]>Reviewed-by Baruch Siach <[email protected]>
Applied to 2025.02.x. Thanks
Quoted 64 lines
--- package/socat/0001-no-documentation.patch | 4 +++- package/socat/socat.hash | 6 +++--- package/socat/socat.mk | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-)package/socat/0001-no-documentation.patch +3
-1@@ -12,6 +12,8 @@ Upstream: N/A Signed-off-by: Thomas Petazzoni <[email protected]> [baruch: update for 1.8.0.0 and 1.8.0.3; git patch format] Signed-off-by: Baruch Siach <[email protected]> +[Bernd: rebase on 1.8.1.1] +Signed-off-by: Bernd Kuhls <[email protected]> --- Makefile.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)@@ -22,7 +24,7 @@ index c01b1a4a2306..fd89acb06f3c 100644 +++ b/Makefile.in @@ -82,7 +82,7 @@ SHFILES = socat-chain.sh socat-mux.sh socat-broker.sh \ TESTFILES = test.sh socks4echo.sh proxyecho.sh readline-test.sh \ - proxy.sh socks4a-echo.sh socks5server-echo.sh + proxy.sh socks4a-echo.sh socks5server-echo.sh socks5server-auth.sh -all: progs doc +all: progspackage/socat/socat.hash +3
-3@@ -1,8 +1,8 @@ # From http://www.dest-unreach.org/socat/download.md5sum -md5 8ef0bc4f602636797917f8574c3b249e socat-1.8.0.3.tar.bz2 +md5 5456f0f0c5d4505b68edcb10e23ef128 socat-1.8.1.1.tar.bz2 # From http://www.dest-unreach.org/socat/download.sha256sum -sha256 01eb017361d95bb3a6941e840b59e4463a3fabf92df4154ed02b16a2ed6a0095 socat-1.8.0.3.tar.bz2 +sha256 5ebc636b7f427053f98806696521653a614c7e06464910353cbf54e2327adc1b socat-1.8.1.1.tar.bz2 # Locally calculated -sha256 f51653b61cf2516c39e8f2edefc11604d0f9d14f0c6ae988bef228a1f0283ad2 README +sha256 86e46422f9381b386bd2eb6606f9d6c3ff479f905660d0f318c571292ab304b8 README sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSLpackage/socat/socat.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -SOCAT_VERSION = 1.8.0.3 +SOCAT_VERSION = 1.8.1.1 SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2 SOCAT_SITE = http://www.dest-unreach.org/socat/download SOCAT_LICENSE = GPL-2.0 with OpenSSL exceptionSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/14 package/lxc: bump version to 6.0.6
In reply to Bernd Kuhlshttps://discuss.linuxcontainers.org/t/lxc-6-0-6-lts-has-been-released/26294
Added sha256 hash tarball provided by upstream.
--- package/lxc/lxc.hash | 3 ++- package/lxc/lxc.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
package/lxc/lxc.hash +2 -1
@@ -1,4 +1,5 @@ +# From https://github.com/lxc/lxc/releases/tag/v6.0.6 +sha256 b0ba4537258d2b848fd07dedb1044dab132de3fb3f1976d240da40a7dee1b8cf lxc-6.0.6.tar.gz # Locally calculated -sha256 2e540c60b9dd49e7ee1a4efa5e9c743b05df911b81b375ed5043d9dd7ee0b48a lxc-6.0.5.tar.gz sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1
package/lxc/lxc.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LXC_VERSION = 6.0.5 +LXC_VERSION = 6.0.6 LXC_SITE = https://linuxcontainers.org/downloads/lxc LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+ LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 3/14 package/foot: bump version to 1.26.0
In reply to Bernd Kuhlshttps://codeberg.org/dnkl/foot/src/tag/1.26.0/CHANGELOG.md
--- package/foot/foot.hash | 2 +- package/foot/foot.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/foot/foot.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 6fb18d482e2ac6a1d8ec293bbdd144e4f7f3bbd0302e9a8b60141cdb02b1aa6f foot-1.24.0-git4.tar.gz +sha256 043fc0d4ad609c1585837e0341dc2127f4077000589dea6a32aa8ab069946862 foot-1.26.0-git4.tar.gz sha256 d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a LICENSE
package/foot/foot.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -FOOT_VERSION = 1.24.0 +FOOT_VERSION = 1.26.0 FOOT_SITE = https://codeberg.org/dnkl/foot.git FOOT_SITE_METHOD = git FOOT_LICENSE = MIT
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 4/14 package/libkrb5: fix build with glibc 2.43
In reply to Bernd Kuhls--- .../0001-Fix-strchr-conformance-to-C23.patch | 189 ++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 package/libkrb5/0001-Fix-strchr-conformance-to-C23.patch
package/libkrb5/0001-Fix-strchr-conformance-to-C23.patch new file +189 -0
@@ -0,0 +1,189 @@ +From ad4dcf1856dadc4b352b5c8ff08e51c7290fb41f Mon Sep 17 00:00:00 2001 +From: Alexander Bokovoy <[email protected]> +Date: Wed, 10 Dec 2025 10:42:02 +0200 +Subject: [PATCH] Fix strchr() conformance to C23 + +C23 7.28.5.1 specifies search functions such as strchr() as generic, +returning const char * if the first argument is of type const char *. +Fix uses of strchr() to conform to this change. + +[[email protected]: altered changes to avoid casts; fixed an +additional case] +[[email protected]: condensed some declarations; rewrote commit message] + +ticket: 9191 (new) + +Upstream: https://github.com/krb5/krb5/commit/ad4dcf1856dadc4b352b5c8ff08e51c7290fb41f + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + src/lib/krb5/ccache/ccbase.c | 4 ++-- + src/lib/krb5/os/expand_path.c | 3 ++- + src/lib/krb5/os/locate_kdc.c | 15 +++++++-------- + src/plugins/preauth/pkinit/pkinit_crypto.h | 2 +- + .../preauth/pkinit/pkinit_crypto_openssl.c | 6 +++--- + src/plugins/preauth/pkinit/pkinit_identity.c | 2 +- + src/plugins/preauth/pkinit/pkinit_matching.c | 2 +- + src/tests/responder.c | 3 +-- + 8 files changed, 18 insertions(+), 19 deletions(-) + +diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c +index 696b681812d..30a0a410c50 100644 +--- a/src/lib/krb5/ccache/ccbase.c ++++ b/src/lib/krb5/ccache/ccbase.c +@@ -201,8 +201,8 @@ krb5_cc_register(krb5_context context, const krb5_cc_ops *ops, + krb5_error_code KRB5_CALLCONV + krb5_cc_resolve (krb5_context context, const char *name, krb5_ccache *cache) + { +- char *pfx, *cp; +- const char *resid; ++ char *pfx; ++ const char *cp, *resid; + unsigned int pfxlen; + krb5_error_code err; + const krb5_cc_ops *ops; +diff --git a/src/lib/krb5/os/expand_path.c b/src/lib/krb5/os/expand_path.c +index 5cbccf08c8b..6569b8820bd 100644 +--- a/src/lib/krb5/os/expand_path.c ++++ b/src/lib/krb5/os/expand_path.c +@@ -454,7 +454,8 @@ k5_expand_path_tokens_extra(krb5_context context, const char *path_in, + { + krb5_error_code ret; + struct k5buf buf; +- char *tok_begin, *tok_end, *tok_val, **extra_tokens = NULL, *path; ++ const char *tok_begin, *tok_end; ++ char *tok_val, **extra_tokens = NULL, *path; + const char *path_left; + size_t nargs = 0, i; + va_list ap; +diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c +index c186bce51c5..0cceff80006 100644 +--- a/src/lib/krb5/os/locate_kdc.c ++++ b/src/lib/krb5/os/locate_kdc.c +@@ -214,8 +214,8 @@ add_host_to_list(struct serverlist *list, const char *hostname, int port, + } + + static void +-parse_uri_if_https(const char *host_or_uri, k5_transport *transport, +- const char **host, const char **uri_path) ++parse_uri_if_https(char *host_or_uri, k5_transport *transport, ++ char **host, const char **uri_path) + { + char *cp; + +@@ -257,8 +257,7 @@ locate_srv_conf_1(krb5_context context, const krb5_data *realm, + k5_transport transport, int udpport) + { + const char *realm_srv_names[4]; +- char **hostlist = NULL, *realmstr = NULL, *host = NULL; +- const char *hostspec; ++ char **hostlist = NULL, *realmstr = NULL, *host = NULL, *hostspec; + krb5_error_code code; + size_t i; + int default_port; +@@ -587,8 +586,8 @@ prof_locate_server(krb5_context context, const krb5_data *realm, + * Return a NULL *host_out if there are any problems parsing the URI. + */ + static void +-parse_uri_fields(const char *uri, k5_transport *transport_out, +- const char **host_out, int *primary_out) ++parse_uri_fields(char *uri, k5_transport *transport_out, ++ char **host_out, int *primary_out) + + { + k5_transport transport; +@@ -656,8 +655,8 @@ locate_uri(krb5_context context, const krb5_data *realm, + krb5_error_code ret; + k5_transport transport, host_trans; + struct srv_dns_entry *answers, *entry; +- char *host, *sitename; +- const char *host_field, *path; ++ char *host, *sitename, *host_field; ++ const char *path; + int port, def_port, primary; + + ret = get_sitename(context, realm, &sitename); +diff --git a/src/plugins/preauth/pkinit/pkinit_crypto.h b/src/plugins/preauth/pkinit/pkinit_crypto.h +index 57bb3cb840b..be2d02c227a 100644 +--- a/src/plugins/preauth/pkinit/pkinit_crypto.h ++++ b/src/plugins/preauth/pkinit/pkinit_crypto.h +@@ -440,7 +440,7 @@ krb5_error_code crypto_load_cas_and_crls + defines the storage type (file, directory, etc) */ + int catype, /* IN + defines the ca type (anchor, intermediate, crls) */ +- char *id); /* IN ++ const char *id); /* IN + defines the location (filename, directory name, etc) */ + + /* +diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c +index bd25bae4789..d1fe18e5abf 100644 +--- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c ++++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c +@@ -4999,7 +4999,7 @@ load_cas_and_crls(krb5_context context, + pkinit_req_crypto_context req_cryptoctx, + pkinit_identity_crypto_context id_cryptoctx, + int catype, +- char *filename) ++ const char *filename) + { + STACK_OF(X509_INFO) *sk = NULL; + STACK_OF(X509) *ca_certs = NULL; +@@ -5157,7 +5157,7 @@ load_cas_and_crls_dir(krb5_context context, + pkinit_req_crypto_context req_cryptoctx, + pkinit_identity_crypto_context id_cryptoctx, + int catype, +- char *dirname) ++ const char *dirname) + { + krb5_error_code retval = EINVAL; + char **fnames = NULL, *filename; +@@ -5201,7 +5201,7 @@ crypto_load_cas_and_crls(krb5_context context, + pkinit_identity_crypto_context id_cryptoctx, + int idtype, + int catype, +- char *id) ++ const char *id) + { + switch (idtype) { + case IDTYPE_FILE: +diff --git a/src/plugins/preauth/pkinit/pkinit_identity.c b/src/plugins/preauth/pkinit/pkinit_identity.c +index 0dcfcfc46a6..ad65f237b07 100644 +--- a/src/plugins/preauth/pkinit/pkinit_identity.c ++++ b/src/plugins/preauth/pkinit/pkinit_identity.c +@@ -473,7 +473,7 @@ process_option_ca_crl(krb5_context context, + const char *value, + int catype) + { +- char *residual; ++ const char *residual; + unsigned int typelen; + int idtype; + +diff --git a/src/plugins/preauth/pkinit/pkinit_matching.c b/src/plugins/preauth/pkinit/pkinit_matching.c +index 0ea072c8876..b3c8df1610f 100644 +--- a/src/plugins/preauth/pkinit/pkinit_matching.c ++++ b/src/plugins/preauth/pkinit/pkinit_matching.c +@@ -262,7 +262,7 @@ parse_rule_component(krb5_context context, + char err_buf[128]; + int ret; + struct keyword_desc *kw, *nextkw; +- char *nk; ++ const char *nk; + int found_next_kw = 0; + char *value = NULL; + size_t len; +diff --git a/src/tests/responder.c b/src/tests/responder.c +index 82f870ea5d4..4221a20283d 100644 +--- a/src/tests/responder.c ++++ b/src/tests/responder.c +@@ -282,8 +282,7 @@ responder(krb5_context ctx, void *rawdata, krb5_responder_context rctx) + /* Provide a particular response for an OTP challenge. */ + if (data->otp_answer != NULL) { + if (krb5_responder_otp_get_challenge(ctx, rctx, &ochl) == 0) { +- key = strchr(data->otp_answer, '='); +- if (key != NULL) { ++ if (strchr(data->otp_answer, '=') != NULL) { + /* Make a copy of the answer that we can chop up. */ + key = strdup(data->otp_answer); + if (key == NULL)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 5/14 package/wlroots: fix build with glibc 2.43
In reply to Bernd Kuhls--- package/wlroots/0002-xcursor.patch | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/wlroots/0002-xcursor.patch
package/wlroots/0002-xcursor.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 47486545b196987f6f07fffe2929bba8f515b8e9 Mon Sep 17 00:00:00 2001 +From: Dale Turner <[email protected]> +Date: Wed, 3 Dec 2025 20:02:29 -0400 +Subject: [PATCH] =?UTF-8?q?Add=20"const"=20to=20eliminate=20"error:=20init?= + =?UTF-8?q?ialization=20discards=20=E2=80=98const=E2=80=99=20qualifier=20f?= + =?UTF-8?q?rom=20pointer=20target=20type"?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/47486545b196987f6f07fffe2929bba8f515b8e9 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + xcursor/xcursor.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xcursor/xcursor.c b/xcursor/xcursor.c +index b5edb9de8..6627fb6cd 100644 +--- a/xcursor/xcursor.c ++++ b/xcursor/xcursor.c +@@ -602,7 +602,7 @@ xcursor_build_fullname(const char *dir, const char *subdir, const char *file) + static const char * + xcursor_next_path(const char *path) + { +- char *colon = strchr(path, ':'); ++ const char *colon = strchr(path, ':'); + + if (!colon) + return NULL; +-- +GitLab +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 6/14 package/ntp: fix build with glibc 2.43
In reply to Bernd Kuhlssntp/crypto.c includes sntp/config.h, then sntp/crypto.h which includes ntp_stdlib.h which in turn includes l_stdlib.h that contains
#ifndef HAVE_MEMCHR extern void *memchr(const void *s, int c, size_t n); #endif
and breaks the build with glibc 2.43.
sntp/config.h does not contain any information about memchr() while the top-level config.h does but this top-level config.h is not included because sntp/Makefile lacks -I$(top_builddir) so sntp/config.h gets included which does not define HAVE_MEMCHR although glibc does provide memchr() but sntp/configure lacks a check for memchr().
This was not a problem with previous glibc versions but due to recent C23 changes in glibc the ntp build is now broken.
To fix the problem we add a configure check for memchr() to sntp/configure so HAVE_MEMCHR gets defined in sntp/config.h.
--- package/ntp/0007-memchr.patch | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/ntp/0007-memchr.patch
package/ntp/0007-memchr.patch new file +42 -0
@@ -0,0 +1,42 @@ +Fix build with glibc 2.43 + +sntp/crypto.c includes sntp/config.h, then sntp/crypto.h which includes +ntp_stdlib.h which in turn includes l_stdlib.h that contains + + #ifndef HAVE_MEMCHR + extern void *memchr(const void *s, int c, size_t n); + #endif + +and breaks the build with glibc 2.43: + +./../include/l_stdlib.h:225:14: error: expected identifier or '(' before '_Generic' + 225 | extern void *memchr(const void *s, int c, size_t n); + +sntp/config.h does not contain any information about memchr() while the +top-level config.h does but this top-level config.h is not included +because sntp/Makefile lacks -I$(top_builddir) so sntp/config.h gets +included which does not define HAVE_MEMCHR although glibc does provide +memchr() but sntp/configure lacks a check for memchr(). + +This was not a problem with previous glibc versions but due to recent +C23 changes in glibc the ntp build is now broken. + +To fix the problem we add a configure check for memchr() to +sntp/configure so HAVE_MEMCHR gets defined in sntp/config.h. + +Upstream: https://bugs.ntp.org/show_bug.cgi?id=4015 + +Signed-off-by: Bernd Kuhls <[email protected]> + +diff -uNr ntp-4.2.8p18/sntp/m4/ntp_libntp.m4 ntp-4.2.8p18/sntp/m4/ntp_libntp.m4 +--- ntp-4.2.8p18/sntp/m4/ntp_libntp.m4 2024-05-07 13:21:13.000000000 +0200 ++++ ntp-4.2.8p18/sntp/m4/ntp_libntp.m4 2026-02-19 21:50:37.291724180 +0100 +@@ -77,7 +77,7 @@ + ;; + esac + +-AC_CHECK_FUNCS([getclock stime timegm strlcpy strlcat]) ++AC_CHECK_FUNCS([getclock memchr stime timegm strlcpy strlcat]) + + # Bug 2713 + LDADD_LIBUTIL=
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 7/14 package/waffle: fix build with glibc 2.43
In reply to Bernd Kuhls--- .../0001-c11-threads-fix-build-on-c23.patch | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 package/waffle/0001-c11-threads-fix-build-on-c23.patch
package/waffle/0001-c11-threads-fix-build-on-c23.patch new file +57 -0
@@ -0,0 +1,57 @@ +From 6b3c46483844faba4dfe7dd90dc2b0cd06e67158 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 10 Nov 2025 19:20:22 -0800 +Subject: [PATCH] c11/threads: fix build on c23 + +C23/glibc is now including once_init in stdlib.h + +https://patchwork.sourceware.org/project/glibc/patch/[email protected]/#213088 + +Conditionally check if glibc already provided c23 definition via stdlib.h + +Signed-off-by: Khem Raj <[email protected]> + +Upstream: https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/158 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + third_party/threads/threads.h | 3 ++- + third_party/threads/threads_posix.c | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/third_party/threads/threads.h b/third_party/threads/threads.h +index b4db50c..cdc7bea 100644 +--- a/third_party/threads/threads.h ++++ b/third_party/threads/threads.h +@@ -102,8 +102,9 @@ typedef pthread_cond_t cnd_t; + typedef pthread_t thrd_t; + typedef pthread_key_t tss_t; + typedef pthread_mutex_t mtx_t; ++#ifndef __once_flag_defined + typedef pthread_once_t once_flag; +- ++#endif + #else + #error Not supported on this platform. + #endif +diff --git a/third_party/threads/threads_posix.c b/third_party/threads/threads_posix.c +index bc50825..d93013b 100644 +--- a/third_party/threads/threads_posix.c ++++ b/third_party/threads/threads_posix.c +@@ -75,11 +75,12 @@ static void *impl_thrd_routine(void *p) + + /*--------------- 7.25.2 Initialization functions ---------------*/ + // 7.25.2.1 ++#ifndef __once_flag_defined + void call_once(once_flag *flag, void (*func)(void)) + { + pthread_once(flag, func); + } +- ++#endif + + /*------------- 7.25.3 Condition variable functions -------------*/ + // 7.25.3.1 +-- +GitLab +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 8/14 package/links: Fix build with glibc 2.43
In reply to Bernd Kuhls--- package/links/0001-glibc-2.43.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/links/0001-glibc-2.43.patch
package/links/0001-glibc-2.43.patch new file +27 -0
@@ -0,0 +1,27 @@ +Fix build with glibc 2.43 + +https://bugs.gentoo.org/969617 +https://gitlab.exherbo.org/exherbo/arbor/-/raw/45d1f0e764ad1fcb8d776534d0925fe074d04d61/packages/net-www/links/files/links-2.30-glibc-2.43.patch + +Source: https://www.linuxfromscratch.org/blfs/view/svn/basicnet/links.html +Reason: Fix build with glibc 2.43 + +Downloaded from +https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/links/files/links-2.30-glibc-2.43-const.patch?id=ad9dd078c5473b947f237136746cd1c3933ae494 + +Upstream: Sent via email to project maintainers + +Signed-off-by: Bernd Kuhls <[email protected]> + +--- a/ftp.c ++++ b/ftp.c +@@ -768,7 +768,7 @@ + } while (0) + A(ftp_head); + ud = stracpy(get_url_data(c->url)); +- if (strchr(cast_const_char ud, POST_CHAR)) *strchr(cast_const_char ud, POST_CHAR) = 0; ++ if (strchr(cast_char ud, POST_CHAR)) *strchr(cast_char ud, POST_CHAR) = 0; + s0 = init_str(); + s0l = 0; + add_conv_str(&s0, &s0l, ud, (int)strlen(cast_const_char ud), -1); +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 9/14 package/ltp-testsuite: fix build with glibc 2.43
In reply to Bernd Kuhls--- ...fine-_GNU_SOURCE-and-include-fcntl.h.patch | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 package/ltp-testsuite/0001-openat2-define-_GNU_SOURCE-and-include-fcntl.h.patch
package/ltp-testsuite/0001-openat2-define-_GNU_SOURCE-and-include-fcntl.h.patch new file +84 -0
@@ -0,0 +1,84 @@ +From 767b3e519e85095dfee3a47d15a373a403fe3dab Mon Sep 17 00:00:00 2001 +From: Li Wang <[email protected]> +Date: Tue, 3 Feb 2026 10:43:19 +0800 +Subject: [PATCH] openat2: define _GNU_SOURCE and include <fcntl.h> +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +On Fedora Rawhide (glibc 2.43+), libc exposes openat2() and struct open_how, +so our configure script defines HAVE_OPENAT2 and the fallback definition in +lapi/openat2.h gets skipped. But openat20*.c never included <fcntl.h> (and +lacked _GNU_SOURCE), so the libc-provided prototype and struct stayed hidden, +so compilation failed: + + # uname -r + 6.18.0-65.fc44.x86_64 + + # rpm -qf /usr/include/fcntl.h + glibc-devel-2.43-1.fc44.x86_64 + + # nm -D /usr/lib64/libc.so.6 | grep -w openat2 + 00000000000eb890 W openat2@@GLIBC_2.43 + + # make -C testcase/kernel/syscalls/openat2 + openat201.c:27:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct open_how’ + 27 | {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)}, + +Define _GNU_SOURCE and include <fcntl.h> in openat2 tests to make the +prototype available and fix the build. + +Signed-off-by: Li Wang <[email protected]> +Reviewed-by: Petr Vorel <[email protected]> + +Upstream: https://github.com/linux-test-project/ltp/commit/767b3e519e85095dfee3a47d15a373a403fe3dab + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + testcases/kernel/syscalls/openat2/openat201.c | 3 +++ + testcases/kernel/syscalls/openat2/openat202.c | 3 +++ + testcases/kernel/syscalls/openat2/openat203.c | 3 +++ + 3 files changed, 9 insertions(+) + +diff --git a/testcases/kernel/syscalls/openat2/openat201.c b/testcases/kernel/syscalls/openat2/openat201.c +index ecd63b150e4..40ac2f6d9ad 100644 +--- a/testcases/kernel/syscalls/openat2/openat201.c ++++ b/testcases/kernel/syscalls/openat2/openat201.c +@@ -4,6 +4,9 @@ + * + * Basic openat2() test. + */ ++#define _GNU_SOURCE ++#include <fcntl.h> ++ + #include "tst_test.h" + #include "lapi/openat2.h" + +diff --git a/testcases/kernel/syscalls/openat2/openat202.c b/testcases/kernel/syscalls/openat2/openat202.c +index 6d1b5a67c7d..329c6a4a5cb 100644 +--- a/testcases/kernel/syscalls/openat2/openat202.c ++++ b/testcases/kernel/syscalls/openat2/openat202.c +@@ -4,6 +4,9 @@ + * + * openat2() tests with various resolve flags. + */ ++#define _GNU_SOURCE ++#include <fcntl.h> ++ + #include "tst_test.h" + #include "lapi/openat2.h" + +diff --git a/testcases/kernel/syscalls/openat2/openat203.c b/testcases/kernel/syscalls/openat2/openat203.c +index 6ac49ef4c9e..cd0c00d7523 100644 +--- a/testcases/kernel/syscalls/openat2/openat203.c ++++ b/testcases/kernel/syscalls/openat2/openat203.c +@@ -4,6 +4,9 @@ + * + * Basic openat2() test to check various failures. + */ ++#define _GNU_SOURCE ++#include <fcntl.h> ++ + #include "tst_test.h" + #include "lapi/openat2.h" +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 10/14 package/libvips: fix build with glibc 2.43
In reply to Bernd Kuhls--- ...IPS_FREEF-for-expression-like-macros.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/libvips/0001-memory-fix-VIPS_FREEF-for-expression-like-macros.patch
package/libvips/0001-memory-fix-VIPS_FREEF-for-expression-like-macros.patch new file +33 -0
@@ -0,0 +1,33 @@ +From abb4dfad9e446e77396de9e93003af5be7aa18da Mon Sep 17 00:00:00 2001 +From: Kleis Auke Wolthuizen <[email protected]> +Date: Sun, 18 Jan 2026 12:15:33 +0100 +Subject: [PATCH] memory: fix `VIPS_FREEF` for expression-like macros (#4836) + +Ensure the macro works correctly when F expands to an expression, +such as `g_free()` using `free_sized()` (as available in the +upcoming glibc 2.43). + +Resolves: #4835. + +Upstream: https://github.com/libvips/libvips/commit/abb4dfad9e446e77396de9e93003af5be7aa18da + +[Bernd: dropped ChangeLog from patch] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + ChangeLog | 1 + + libvips/include/vips/memory.h | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/libvips/include/vips/memory.h b/libvips/include/vips/memory.h +index 93e669340b..7073d1ea6a 100644 +--- a/libvips/include/vips/memory.h ++++ b/libvips/include/vips/memory.h +@@ -41,7 +41,7 @@ extern "C" { + G_STMT_START \ + { \ + if (S) { \ +- (void) F((S)); \ ++ (void) (F((S))); \ + (S) = 0; \ + } \ + } \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 11/14 package/freeswitch: disable mod_enum to fix build with glibc 2.43
In reply to Bernd KuhlsBuild is broken with glibc 2.43:
mod_enum.c: In function 'add_result':
mod_enum.c:246:23: error: passing argument 1 of '__assert_single_arg'
makes integer from pointer without a cast [-Wint-conversion]
246 | switch_assert(new_result);
| ^~~~~~~~~~
| |
| enum_record_t * {aka struct enum_record *}Since both services (e164.org, freenum.org) used in the default configutation of mod_enum
https://github.com/signalwire/freeswitch/blob/master/src/mod/applications/mod_enum/conf/autoload_configs/enum.conf.xml
seem to be dead for years now:
https://community.asterisk.org/t/asterisk-network-interconnect/88659
we do not care to try to fix the build error.
Instead the optional support for mod_enum is removed from the package.
--- package/freeswitch/freeswitch.mk | 5 ----- 1 file changed, 5 deletions(-)
package/freeswitch/freeswitch.mk +0 -5
@@ -207,11 +207,6 @@ FREESWITCH_DEPENDENCIES += libks FREESWITCH_ENABLED_MODULES += endpoints/mod_verto endif -ifeq ($(BR2_PACKAGE_LIBLDNS),y) -FREESWITCH_DEPENDENCIES += libldns -FREESWITCH_ENABLED_MODULES += applications/mod_enum -endif - ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y) FREESWITCH_DEPENDENCIES += libmemcached FREESWITCH_ENABLED_MODULES += applications/mod_memcache
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 12/14 DEVELOPERS: remove Bernd Kuhls from libldns
In reply to Bernd Kuhls--- DEVELOPERS | 1 - 1 file changed, 1 deletion(-)
DEVELOPERS +0 -1
@@ -430,7 +430,6 @@ F: package/libhdhomerun/ F: package/libheif/ F: package/libid3tag/ F: package/libilbc/ -F: package/libldns/ F: package/libmicrohttpd/ F: package/libminiupnpc/ F: package/libmspack/
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedRe: [Buildroot] [PATCH v2 12/14] DEVELOPERS: remove Bernd Kuhls from libldns
In reply of:
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2025.11.x & 2026.02.x. Thanks
Quoted 23 lines
--- DEVELOPERS | 1 - 1 file changed, 1 deletion(-)DEVELOPERS +0
-1@@ -430,7 +430,6 @@ F: package/libhdhomerun/ F: package/libheif/ F: package/libid3tag/ F: package/libilbc/ -F: package/libldns/ F: package/libmicrohttpd/ F: package/libminiupnpc/ F: package/libmspack/Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 13/14 package/gcc/15.2.0: fix build with glibc 2.43
In reply to Bernd Kuhls--- ...mp-Fix-GCC-build-after-glibc-cd748a6.patch | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch
package/gcc/15.2.0/0004-libgomp-Fix-GCC-build-after-glibc-cd748a6.patch new file +9 -0
@@ -0,0 +1,77 @@ +From 9c9d3aef2f66625d9cb03ef4baee10ed6648e681 Mon Sep 17 00:00:00 2001 +From: Frank Scheiner <[email protected]> +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 <[email protected]>
+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 <[email protected]>
+--- + 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
+
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 14/14 package/{glibc, localedef}: bump version to 2.43
In reply to Bernd Kuhlshttps://sourceware.org/glibc/wiki/Release/2.43
Updated license files and hashes due to upstream commit:
https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe
Rebased package/localedef/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch
Removed patch 0003 to fix build on hosts with glibc < 2.43.
--- package/glibc/glibc.hash | 6 +-- package/glibc/glibc.mk | 4 +- ...y-on-GCC-to-4.8-and-binutils-to-2.24.patch | 4 +- ...3_SOURCE-undefined-to-build-localede.patch | 37 ------------------- package/localedef/localedef.mk | 2 +- 5 files changed, 9 insertions(+), 44 deletions(-) delete mode 100644 package/localedef/0003-HACK-keep-_ISOC23_SOURCE-undefined-to-build-localede.patch
package/glibc/glibc.hash +3 -3
@@ -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
package/glibc/glibc.mk +2 -2
@@ -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
package/localedef/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +3 -1
@@ -30,6 +30,8 @@ Signed-off-by: Yann E. MORIN <[email protected]> Signed-off-by: Romain Naour <[email protected]> [[email protected]: rebase for 2.39] Signed-off-by: Yann E. MORIN <[email protected]> +[Bernd: rebase on 2.43] +Signed-off-by: Bernd Kuhls <[email protected]> --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
@@ -51,7 +53,7 @@ index 180e49d95b..fdb19d1d27 100755 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
package/localedef/0003-HACK-keep-_ISOC23_SOURCE-undefined-to-build-localede.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From c01b78e37885c7c4a191f752dc346c848d73b731 Mon Sep 17 00:00:00 2001 -From: Romain Naour <[email protected]> -Date: Sat, 9 Sep 2023 23:58:50 +0200 -Subject: [PATCH] HACK: keep _ISOC23_SOURCE undefined to build localedef - with old glibc - -Fixes: -host-localedef-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/build/locale/ld-ctype.o: in function `ctype_read': -ld-ctype.c:(.text+0x6cef): undefined reference to `__isoc23_strtoul' - -Upstream: Not applicable - -Signed-off-by: Romain Naour <[email protected]> -[Thomas: adapted to glibc 2.40, which required the logic to be changed -to _ISOC23_SOURCE] -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - include/features.h | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/include/features.h b/include/features.h -index 8515b06b36..9abd65af93 100644 ---- a/include/features.h -+++ b/include/features.h -@@ -217,9 +217,7 @@ - # undef _ISOC11_SOURCE - # define _ISOC11_SOURCE 1 - # undef _ISOC23_SOURCE --# define _ISOC23_SOURCE 1 - # undef _ISOC2Y_SOURCE --# define _ISOC2Y_SOURCE 1 - # undef _POSIX_SOURCE - # define _POSIX_SOURCE 1 - # undef _POSIX_C_SOURCE --- -2.50.1 -
package/localedef/localedef.mk +1 -1
@@ -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
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Bernd,
Thanks for the patch. While this new glibc 2.43 generally works fine (I tested many configs), I've found an issue. See below.
Quoted 8 lines · Bernd Kuhls
https://sourceware.org/glibc/wiki/Release/2.43
Updated license files and hashes due to upstream commit:
https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfeRebased
package/localedef/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patchRemoved patch 0003 to fix build on hosts with glibc < 2.43.
Removing this patch is reintroducing the issue described in it. There is still configurations in which host-localedef is failing to build. For example, in the Buildroot Debian reference image. You can reproduce the issue with:
utils/docker-run make host-localedef
Note that, for example, host-localedef is building correctly on my Fedora 43 host (gcc 15, glibc 2.42).
I quickly tried to put the patch back, but it does not solve the issue.
Could you have a look, please?
Quoted 1 line
Signed-off-by Bernd Kuhls <[email protected]>
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot