binutils: Upgrade to 2.45 release
PATCH 1/1 binutils: Upgrade to 2.45 release
Added support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures. Support for various new RISC-V extensions
Support for most Armv9.6 extensions.
Detailed release notes are here [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00009.html
---
.../{binutils-2.44.inc => binutils-2.45.inc} | 18 +-
....44.bb => binutils-cross-canadian_2.45.bb} | 0
...s-cross_2.44.bb => binutils-cross_2.45.bb} | 0
...ssdk_2.44.bb => binutils-crosssdk_2.45.bb} | 0
...ite_2.44.bb => binutils-testsuite_2.45.bb} | 0
...s-crosssdk-Generate-relocatable-SDKs.patch | 2 +-
...o-not-generate-linker-script-directo.patch | 2 +-
...dk-Search-for-alternative-ld.so.conf.patch | 8 +-
...004-Point-scripts-location-to-libdir.patch | 2 +-
...stro-compiler-point-to-the-wrong-ins.patch | 6 +-
...-system-directories-when-cross-linki.patch | 68 +-
...ect-assembling-for-ppc-wait-mnemonic.patch | 8 +-
.../binutils/0008-Use-libtool-2.4.patch | 2383 ++++-------------
...h-in-libtool-when-sysroot-is-enabled.patch | 2 +-
.../0010-sync-with-OE-libtool-changes.patch | 2 +-
...or-clang-before-checking-gcc-version.patch | 2 +-
...-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 6 +-
...sing-_Alignof-when-using-C11-or-newe.patch | 2 +-
...-pe-dll.o-entry-deom-targ_extra_ofil.patch | 2 +-
.../binutils/0015-CVE-2025-1178.patch | 33 -
.../binutils/0016-CVE-2025-1181-1.patch | 141 -
.../binutils/0017-CVE-2025-1181-2.patch | 337 ---
.../binutils/0018-CVE-2025-5245.patch | 38 -
.../binutils/0019-CVE-2025-3198.patch | 28 -
.../binutils/0019-CVE-2025-5244.patch | 25 -
.../binutils/0020-CVE-2025-7545.patch | 39 -
.../binutils/0020-CVE-2025-7546.patch | 58 -
.../binutils/binutils/CVE-2025-1180.patch | 165 --
.../binutils/binutils/CVE-2025-1182.patch | 36 -
.../{binutils_2.44.bb => binutils_2.45.bb} | 0
30 files changed, 574 insertions(+), 2839 deletions(-)
rename meta/recipes-devtools/binutils/{binutils-2.44.inc => binutils-2.45.inc} (77%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.44.bb => binutils-cross-canadian_2.45.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.44.bb => binutils-cross_2.45.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.44.bb => binutils-crosssdk_2.45.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-testsuite_2.44.bb => binutils-testsuite_2.45.bb} (100%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0020-CVE-2025-7545.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0020-CVE-2025-7546.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch
rename meta/recipes-devtools/binutils/{binutils_2.44.bb => binutils_2.45.bb} (100%)meta/recipes-devtools/binutils/binutils-2.45.inc renamed from meta/recipes-devtools/binutils/binutils-2.44.inc +4 -14
@@ -12,15 +12,15 @@ LIC_FILES_CHKSUM = "\ # When upgrading to next major release, ensure that there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.44" -CVE_VERSION = "2.44" -SRCBRANCH ?= "binutils-2_44-branch" +PV = "2.45" +CVE_VERSION = "2.45" +SRCBRANCH ?= "binutils-2_45-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" CVE_STATUS[CVE-2025-1153] = "cpe-stable-backport: fix available in used git hash" -SRCREV ?= "8e98f97aecb0f0a1a1e2ef244e9aa235248ef8fa" +SRCREV ?= "2bc7af1ff7732451b6a7b09462a815c3284f9613" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https" SRC_URI = "\ ${BINUTILS_GIT_URI} \
@@ -35,14 +35,4 @@ SRC_URI = "\ file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ - file://0015-CVE-2025-1178.patch \ - file://CVE-2025-1180.patch \ - file://CVE-2025-1182.patch \ - file://0016-CVE-2025-1181-1.patch \ - file://0017-CVE-2025-1181-2.patch \ - file://0018-CVE-2025-5245.patch \ - file://0019-CVE-2025-5244.patch \ - file://0019-CVE-2025-3198.patch \ - file://0020-CVE-2025-7546.patch \ - file://0020-CVE-2025-7545.patch \ "
meta/recipes-devtools/binutils/binutils-cross-canadian_2.45.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.44.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross_2.45.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.44.bb +0 -0
meta/recipes-devtools/binutils/binutils-crosssdk_2.45.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.44.bb +0 -0
meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb renamed from meta/recipes-devtools/binutils/binutils-testsuite_2.44.bb +0 -0
meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +1 -1
@@ -1,4 +1,4 @@ -From df3faaf0a09fd828330d3bac45782868a04f7bc0 Mon Sep 17 00:00:00 2001 +From 61cfb723b5fba70c823a9b486a9e4f30b28a8f53 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKs
meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +1 -1
@@ -1,4 +1,4 @@ -From 3105d7ecc3f16d66c19985a6557cd1e9becfab55 Mon Sep 17 00:00:00 2001 +From 82bbbee7c31f64e51e6221fbbd29760ac61b789f Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH] binutils-cross: Do not generate linker script directories
meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch +4 -4
@@ -1,4 +1,4 @@ -From d718e17e1668880a85ff05993f0027d9c9ad6935 Mon Sep 17 00:00:00 2001 +From 96b52f92b2888e1954f619bffd17a3f55be2e27e Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Wed, 19 Feb 2020 09:51:16 -0800 Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK
@@ -57,7 +57,7 @@ index 3e24bd4deb2..23d4f1f3132 100644 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) diff --git a/ld/ldelf.c b/ld/ldelf.c -index 4a1aa044e70..f6f3ac11a76 100644 +index f4f27fc3873..a870c39bd81 100644 --- a/ld/ldelf.c +++ b/ld/ldelf.c @@ -943,7 +943,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force,
@@ -70,10 +70,10 @@ index 4a1aa044e70..f6f3ac11a76 100644 if (!ldelf_parse_ld_so_conf (&info, tmppath)) { diff --git a/ld/ldmain.c b/ld/ldmain.c -index f1c5f7035c5..cce4991b25a 100644 +index 67c60c3f80d..7878bd3922f 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c -@@ -69,6 +69,7 @@ char *program_name; +@@ -74,6 +74,7 @@ char *program_name; /* The prefix for system library directories. */ const char *ld_sysroot;
meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +1 -1
@@ -1,4 +1,4 @@ -From 0ff4f23d3521a45835eaa03731c0b3351a50d8ba Mon Sep 17 00:00:00 2001 +From 94c43a338e789b32a31e830c971ac52332c3fe5a Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH] Point scripts location to libdir
meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +3 -3
@@ -1,4 +1,4 @@ -From 340d2cf058b373ed4fbf6bcea4f6674eab23c73a Mon Sep 17 00:00:00 2001 +From 7e78955c1995a39c847013b909627f77c41ca232 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH] don't let the distro compiler point to the wrong installation
@@ -17,10 +17,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in -index b11df756b4b..f47269fdc0e 100644 +index d507f27a9ef..462d47b2eb1 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in -@@ -385,7 +385,8 @@ install-strip: install +@@ -387,7 +387,8 @@ install-strip: install # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the # default multilib, so we have to take CFLAGS into account as well, # since it will be passed the multilib flags.
meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch +43 -25
176 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +4 -4
@@ -1,4 +1,4 @@ -From de07998ce2189c329220a76feb073438c4ec88f5 Mon Sep 17 00:00:00 2001 +From c1def8b996df3f6cace833cf72116de93ed48195 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo <[email protected]> Date: Sat, 11 Jun 2016 22:08:29 -0500 Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic
@@ -14,10 +14,10 @@ Signed-off-by: Zhenhua Luo <[email protected]> 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c -index aa4484ef9ab..81b6a4c2db9 100644 +index 712cd31d19e..a76fe73a10f 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -7138,8 +7138,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7257,8 +7257,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, EXT, {0}}, {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, EXT, {0}},
@@ -26,7 +26,7 @@ index aa4484ef9ab..81b6a4c2db9 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -7193,7 +7191,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7312,7 +7310,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}}, {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},
meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch +505 -1878
2,709 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +3 -3
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch deleted +0 -33
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch deleted +0 -141
141 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch deleted +0 -337
337 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch deleted +0 -38
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch deleted +0 -28
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0020-CVE-2025-7545.patch deleted +0 -39
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0020-CVE-2025-7546.patch deleted +0 -58
58 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch deleted +0 -165
165 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils_2.45.bb renamed from meta/recipes-devtools/binutils/binutils_2.44.bb +0 -0
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Hi All,
Below are the test results for binutils v2.45 upgrade
qemuarm64
v2.44 v2.45
No. of expected passes 258 259 No. of unexpected failures 1 1 No. of expected failures 1 1 No. of untested testcases 1 1 No. of unsupported tests 12 11
qemux86-64
v2.44 v2.45
No. of expected passes 310 315 No. of unexpected failures 1 1 No. of untested testcases 1 5 No. of unsupported tests 9 8
UNTESTED testcases:
Below tests are the newly added testcases with v2.45 (specific to x86-64 arch) +UNTESTED: pr33198 with -R .gnu.lto_* -R .gnu.debuglto_* -R .llvm.lto -N __gnu_lto_v1 +UNTESTED: pr33198-fat with -R .gnu.lto_* -R .gnu.debuglto_* -R .llvm.lto -N __gnu_lto_v1 +UNTESTED: pr33198 with -R .llvm.lto
+UNTESTED: pr33198-fat with -R .llvm.lto
Regards,
Deepesh
Quoted 26 lines · Deepesh via lists.openembedded.org
Hi All,
Below are the test results for binutils v2.45 upgrade
qemuarm64
v2.44 v2.45No. of expected passes 258 259
No. of unexpected failures 1 1
No. of expected failures 1 1
No. of untested testcases 1 1
No. of unsupported tests 12 11qemux86-64
v2.44 v2.45 No. of expected passes 310 315 No. of unexpected failures 1 1 No. of untested testcases 1 5 No. of unsupported tests 9 8UNTESTED testcases:
Below tests are the newly added testcases with v2.45 (specific to x86-64 arch)
Review
Quoted 4 lines
(quoted diff) +4
-0+UNTESTED: pr33198 with -R .gnu.lto_* -R .gnu.debuglto_* -R .llvm.lto -N __gnu_lto_v1 +UNTESTED: pr33198-fat with -R .gnu.lto_* -R .gnu.debuglto_* -R .llvm.lto -N __gnu_lto_v1 +UNTESTED: pr33198 with -R .llvm.lto +UNTESTED: pr33198-fat with -R .llvm.lto
These changes aim to resolve the issue where strip fails to correctly process archives containing LLVM bitcode.
since we do not have llvm in the sysroot these tests failures are expected.
Quoted 13 lines
Regards,
Deepesh-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#221107): https://lists.openembedded.org/g/openembedded-core/message/221107
Mute This Topic: https://lists.openembedded.org/mt/114434048/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-