binutils: Upgrade to 2.39 release
PATCH v2 1/1 binutils: Upgrade to 2.39 release
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
---
v2: Remove trailing .0 from PV
meta/conf/distro/include/tcmode-default.inc | 2 +-
.../{binutils-2.38.inc => binutils-2.39.inc} | 26 +-
....38.bb => binutils-cross-canadian_2.39.bb} | 0
...38.bb => binutils-cross-testsuite_2.39.bb} | 0
...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0
...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +-
...004-Point-scripts-location-to-libdir.patch | 10 +-
...tro-compiler-point-to-the-wrong-ins.patch} | 2 +-
...system-directories-when-cross-linki.patch} | 42 +-
...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +-
...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++---------
...-in-libtool-when-sysroot-is-enabled.patch} | 2 +-
...> 0010-sync-with-OE-libtool-changes.patch} | 2 +-
...r-clang-before-checking-gcc-version.patch} | 10 +-
...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +-
.../0013-Avoid-as-info-race-condition.patch | 75 -
.../binutils/0014-CVE-2019-1010204.patch | 49 -
.../{binutils_2.38.bb => binutils_2.39.bb} | 0
21 files changed, 1129 insertions(+), 1267 deletions(-)
rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%)
rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%)
rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)
rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (95%)
rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%)
rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%)
rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%)
rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch
rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "12.%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.38%" +BINUVERSION ?= "2.39%" GDBVERSION ?= "12.%" GLIBCVERSION ?= "2.36" LINUXLIBCVERSION ?= "5.19%"
meta/recipes-devtools/binutils/binutils-2.39.inc renamed from meta/recipes-devtools/binutils/binutils-2.38.inc +12 -14
@@ -12,26 +12,24 @@ LIC_FILES_CHKSUM="\ # When upgrading to 2.39, please make sure there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.38" -CVE_VERSION = "2.38" -SRCBRANCH ?= "binutils-2_38-branch" +PV = "2.39" +CVE_VERSION = "2.39" +SRCBRANCH ?= "binutils-2_39-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV ?= "eed56ee299b9ef8754bb4e53f2e9cf2a7c28c04d" +SRCREV ?= "a58f83e8b85fa3c1564de530d68a14fc620c0027" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ file://0004-Point-scripts-location-to-libdir.patch \ - file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ - file://0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ - file://0007-warn-for-uses-of-system-directories-when-cross-linki.patch \ - file://0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ - file://0009-Use-libtool-2.4.patch \ - file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ - file://0011-sync-with-OE-libtool-changes.patch \ - file://0012-Check-for-clang-before-checking-gcc-version.patch \ - file://0013-Avoid-as-info-race-condition.patch \ - file://0014-CVE-2019-1010204.patch \ + file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ + file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \ + file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ + file://0008-Use-libtool-2.4.patch \ + file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ + file://0010-sync-with-OE-libtool-changes.patch \ + file://0011-Check-for-clang-before-checking-gcc-version.patch \ + file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils-cross-canadian_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross-testsuite_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-crosssdk_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +1 -1
@@ -1,4 +1,4 @@ -From 07bb7fbdacaf9cd6a1a252ffbc98f4e05e305d50 Mon Sep 17 00:00:00 2001 +From a0ac147aec127c66c9e38292faa50bb56d3c2a19 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 f820ab7ea7e94d4df548be3388163ff2efb2ea96 Mon Sep 17 00:00:00 2001 +From fd7065bfd20364679e3c3f329b19059bbc51ab02 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 +8 -8
@@ -1,4 +1,4 @@ -From b2ccd25828b40310caeb094c0413e3a30a4dc0a5 Mon Sep 17 00:00:00 2001 +From 67735b3647f98ce0f010ff8b4f9b5c5da576cb17 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
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index b55a873d927..61db131fb0d 100644 +index d31021c13e2..29782385ca4 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@
@@ -41,12 +41,12 @@ index b55a873d927..61db131fb0d 100644 + -DSYSCONFDIR="\"$(sysconfdir)\"" WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/Makefile.in b/ld/Makefile.in -index 61e93eeaf1e..860eb21a785 100644 +index ee0c98f65b0..04ee68a2c67 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -556,7 +556,8 @@ ZLIB = @zlibdir@ -lz +@@ -562,7 +562,8 @@ ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
@@ -54,13 +54,13 @@ index 61e93eeaf1e..860eb21a785 100644 + -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \ + -DSYSCONFDIR="\"$(sysconfdir)\"" - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/ldelf.c b/ld/ldelf.c -index 121c25d948f..34cbc60e5e9 100644 +index bfa0d54753a..0d61a3209ec 100644 --- a/ld/ldelf.c +++ b/ld/ldelf.c -@@ -930,7 +930,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, +@@ -936,7 +936,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, info.path = NULL; info.len = info.alloc = 0;
meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +5 -5
@@ -1,4 +1,4 @@ -From 7a7b777cdfded080aab1021fa6bcdb20345f5cfd Mon Sep 17 00:00:00 2001 +From 2158e5bd4c6ea4db89e33d46ef25428e37bfc3a6 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
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 61db131fb0d..5b5ee64d121 100644 +index 29782385ca4..062e6b6814b 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am -@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers.
@@ -25,10 +25,10 @@ index 61db131fb0d..5b5ee64d121 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index 860eb21a785..d719747919c 100644 +index 04ee68a2c67..782d4017a60 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -564,7 +564,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -570,7 +570,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers.
meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch renamed from meta/recipes-devtools/binutils/binutils/0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +1 -1
@@ -1,4 +1,4 @@ -From fc9e8b99969bb32a4b009eab763bade6c554ef73 Mon Sep 17 00:00:00 2001 +From e74d765a1a95253c9247228bd7ccbcabecdd8f7e 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
meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0007-warn-for-uses-of-system-directories-when-cross-linki.patch +21 -21
109 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch renamed from meta/recipes-devtools/binutils/binutils/0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +4 -4
@@ -1,4 +1,4 @@ -From 00ae1ee97ad3ad0624798b28c6bab94a19b3ef39 Mon Sep 17 00:00:00 2001 +From 883b6c0930410f8553b3bce0dd98131bc1694fa6 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 a424dd924de..406d5b60917 100644 +index 7637d3e349e..8e074e13208 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -6378,8 +6378,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -6947,8 +6947,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 a424dd924de..406d5b60917 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -6433,7 +6431,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7002,7 +7000,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 renamed from meta/recipes-devtools/binutils/binutils/0009-Use-libtool-2.4.patch +1059 -1072
2,732 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch renamed from meta/recipes-devtools/binutils/binutils/0010-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 renamed from meta/recipes-devtools/binutils/binutils/0011-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 renamed from meta/recipes-devtools/binutils/binutils/0012-Check-for-clang-before-checking-gcc-version.patch +5 -5
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 renamed from meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +9 -8
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch deleted +0 -75
75 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch deleted +0 -49
49 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils_2.39.bb renamed from meta/recipes-devtools/binutils/binutils_2.38.bb +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.37.1
Part of the diff is not shown here. View the raw message.
Quoted 64 lines · Khem Raj
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
Signed-off-by Khem Raj <[email protected]>---
v2: Remove trailing .0 from PVmeta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++--------- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 1129 insertions(+), 1267 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb =>binutils-crosssdk_2.39.bb} (100%)
renamemeta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch=> 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%)
renamemeta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch=> 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%)
renamemeta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch=> 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)
renamemeta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch=> 0008-Use-libtool-2.4.patch} (95%)
renamemeta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch=> 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%)
renamemeta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch
=> 0010-sync-with-OE-libtool-changes.patch} (97%)
renamemeta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch=> 0011-Check-for-clang-before-checking-gcc-version.patch} (84%)
renamemeta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch=> 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%)
Quoted 7 lines
delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb =>binutils_2.39.bb} (100%)
I'm seeing bunch of libtool erros with this applied, see:
http://errors.yoctoproject.org/Errors/Details/664878/
Quoted 53 lines · Martin Jansa
Quoted 39 lines · Khem Raj
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
Signed-off-by Khem Raj <[email protected]>---
v2: Remove trailing .0 from PVmeta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++--------- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 1129 insertions(+), 1267 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%) rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%) rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%) rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)Quoted 8 lines
rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (95%) rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%) rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%) rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%) rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%) delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)
Quoted 2 lines
I'm seeing bunch of libtool erros with this applied, see:
http://errors.yoctoproject.org/Errors/Details/664878/
yes. gprofng is a new tool and I have forgotten to upgrade it to use libtool 2.4 since I have it disabed in my testing. I have done so now and sent a v3. Try it out.
Martin Jansa
Tested-byThanks Khem,
v3 builds fine with gprofng enabled again.
any idea why binutils-2.39 v3 version isn't visible on patchwork yet?
https://patchwork.yoctoproject.org/project/oe-core/list/?series=&submitter=&state=*&q=binutils&archive=&delegate=
it's almost 1,5 hour since you sent it to ML
https://lists.openembedded.org/g/openembedded-core/message/169001
Usually patchwork doesn't have such long delay (v2 was there shortly after I've noticed it in my mbox).
Quoted 87 lines · Khem Raj
Quoted 28 lines · Martin Jansa
Quoted 24 lines · Khem Raj
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
Signed-off-by Khem Raj <[email protected]>---
v2: Remove trailing .0 from PVmeta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++--------- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +-Quoted 8 lines
Quoted 8 lines
...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 1129 insertions(+), 1267 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc =>binutils-2.39.inc} (60%)
Quoted 1 line
Quoted 1 line
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb=> binutils-cross-canadian_2.39.bb} (100%)
Quoted 1 line
Quoted 1 line
rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%)
Quoted 1 line
Quoted 1 line
rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb =>binutils-cross_2.39.bb} (100%)
Quoted 1 line
Quoted 1 line
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb =>binutils-crosssdk_2.39.bb} (100%)
Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch=> 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch=> 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch=> 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch=> 0008-Use-libtool-2.4.patch} (95%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch=> 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch=> 0010-sync-with-OE-libtool-changes.patch} (97%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch=> 0011-Check-for-clang-before-checking-gcc-version.patch} (84%)Quoted 1 line
Quoted 1 line
rename
meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch=> 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%)Quoted 1 line
Quoted 1 line
delete mode 100644
meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patchQuoted 1 line
Quoted 1 line
delete mode 100644
meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patchQuoted 1 line
Quoted 1 line
rename meta/recipes-devtools/binutils/{binutils_2.38.bb =>binutils_2.39.bb} (100%)
Quoted 4 lines
I'm seeing bunch of libtool erros with this applied, see:
http://errors.yoctoproject.org/Errors/Details/664878/yes. gprofng is a new tool and I have forgotten to upgrade it to use libtool 2.4 since I have it disabed in my testing. I have done so now and sent a v3. Try it out.
Quoted 5 lines · Martin Jansa
Thanks Khem,
v3 builds fine with gprofng enabled again.
Quoted 8 lines
Tested-by Martin Jansa <[email protected]>any idea why binutils-2.39 v3 version isn't visible on patchwork yet?
https://patchwork.yoctoproject.org/project/oe-core/list/?series=&submitter=&state=*&q=binutils&archive=&delegate=
it's almost 1,5 hour since you sent it to ML https://lists.openembedded.org/g/openembedded-core/message/169001Usually patchwork doesn't have such long delay (v2 was there shortly after I've noticed it in my mbox).
I am not sure, sometimes patchwork chokes on largish patches, and this patch is large, especially v3 has bigger 0008-Use-libtool-2.4.patch grew to 1.2M from 1M in v2. Perhaps it crossed some sort of size boundary perhaps.
Quoted 62 lines · Khem Raj
Quoted 61 lines · Martin Jansa
Quoted 53 lines · Khem Raj
Quoted 39 lines
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
Signed-off-by Khem Raj <[email protected]>---
v2: Remove trailing .0 from PVmeta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++--------- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 1129 insertions(+), 1267 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%) rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%) rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%) rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)Quoted 8 lines
rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (95%) rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%) rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%) rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%) rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%) delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)Quoted 2 lines
I'm seeing bunch of libtool erros with this applied, see:
http://errors.yoctoproject.org/Errors/Details/664878/yes. gprofng is a new tool and I have forgotten to upgrade it to use libtool 2.4 since I have it disabed in my testing. I have done so now and sent a v3. Try it out.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 76 lines · Martin Jansa via lists.openembedded.org
Quoted 64 lines · Khem Raj
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
Signed-off-by Khem Raj <[email protected]>---
v2: Remove trailing .0 from PVmeta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.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 | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 2131 ++++++++--------- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 1129 insertions(+), 1267 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb =>binutils-crosssdk_2.39.bb} (100%)
renamemeta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch=> 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%)
renamemeta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch=> 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%)
renamemeta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch=> 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)
renamemeta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch=> 0008-Use-libtool-2.4.patch} (95%)
renamemeta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch=> 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%)
renamemeta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch
=> 0010-sync-with-OE-libtool-changes.patch} (97%)
renamemeta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch=> 0011-Check-for-clang-before-checking-gcc-version.patch} (84%)
renamemeta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch=> 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%)Quoted 7 lines
delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb =>binutils_2.39.bb} (100%)
Quoted 3 lines
I'm seeing bunch of libtool erros with this applied, see:
http://errors.yoctoproject.org/Errors/Details/664878/
--disable-gprofng
in openembedded-core/meta/recipes-devtools/binutils/binutils-cross.inc EXTRA_OECONF
fixed the build
I guess 0008-Use-libtool-2.4.patch should be extended to cover gprofng from
https://sourceware.org/pipermail/binutils/2021-August/117665.html /
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bb368aad297fe3ad40cf397e6fc85aa471429a28