From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: "Khem Raj" <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
Alejandro Hernandez <aehs29@gmail.com>,
Richard Purdie <rpurdie@rpsys.net>
Subject: Re: [OE-core] [PATCH v2 1/3] binutils: Upgrade to 2.40 release
Date: Thu, 19 Jan 2023 10:44:13 +0100 [thread overview]
Message-ID: <20230119104413.0afa6711@booty> (raw)
In-Reply-To: <20230119042724.1413857-1-raj.khem@gmail.com>
Hi Khem,
On Wed, 18 Jan 2023 20:27:22 -0800
"Khem Raj" <raj.khem@gmail.com> wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> v1 -> v2:
> - Fix build on mingw
> - Backport fix to build with --disable-gdb
>
> meta/conf/distro/include/tcmode-default.inc | 2 +-
> .../{binutils-2.39.inc => binutils-2.40.inc} | 22 +-
> ....39.bb => binutils-cross-canadian_2.40.bb} | 0
> ...39.bb => binutils-cross-testsuite_2.40.bb} | 0
> ...s-cross_2.39.bb => binutils-cross_2.40.bb} | 0
> ...ssdk_2.39.bb => binutils-crosssdk_2.40.bb} | 0
> ...s-crosssdk-Generate-relocatable-SDKs.patch | 10 +-
> ...o-not-generate-linker-script-directo.patch | 4 +-
> ...dk-Search-for-alternative-ld.so.conf.patch | 18 +-
> ...004-Point-scripts-location-to-libdir.patch | 10 +-
> ...stro-compiler-point-to-the-wrong-ins.patch | 4 +-
> ...-system-directories-when-cross-linki.patch | 44 +-
> ...ect-assembling-for-ppc-wait-mnemonic.patch | 8 +-
> .../binutils/0008-Use-libtool-2.4.patch | 19254 ++++++++++------
> ...h-in-libtool-when-sysroot-is-enabled.patch | 2 +-
> .../0010-sync-with-OE-libtool-changes.patch | 2 +-
> ...or-clang-before-checking-gcc-version.patch | 10 +-
> ...-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 4 +-
> .../binutils/0013-CVE-2022-38533.patch | 36 -
> ...sing-_Alignof-when-using-C11-or-newe.patch | 48 +
> .../binutils/0014-CVE-2022-38128-1.patch | 350 -
> .../binutils/0014-CVE-2022-38128-2.patch | 536 -
> .../binutils/0014-CVE-2022-38128-3.patch | 95 -
> ...-dependencies-on-gmp-and-mpfr-when-g.patch | 56 +
> .../binutils/0015-CVE-2022-4285.patch | 37 -
> ...-pe-dll.o-entry-deom-targ_extra_ofil.patch | 41 +
> .../{binutils_2.39.bb => binutils_2.40.bb} | 0
> 27 files changed, 11820 insertions(+), 8773 deletions(-)
> rename meta/recipes-devtools/binutils/{binutils-2.39.inc => binutils-2.40.inc} (71%)
> rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.39.bb => binutils-cross-canadian_2.40.bb} (100%)
> rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.39.bb => binutils-cross-testsuite_2.40.bb} (100%)
> rename meta/recipes-devtools/binutils/{binutils-cross_2.39.bb => binutils-cross_2.40.bb} (100%)
> rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.39.bb => binutils-crosssdk_2.40.bb} (100%)
> delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-CVE-2022-38533.patch
> create mode 100644 meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
> delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2022-38128-1.patch
> delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2022-38128-2.patch
> delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2022-38128-3.patch
> create mode 100644 meta/recipes-devtools/binutils/binutils/0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch
> delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-CVE-2022-4285.patch
> create mode 100644 meta/recipes-devtools/binutils/binutils/0015-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
> rename meta/recipes-devtools/binutils/{binutils_2.39.bb => binutils_2.40.bb} (100%)
>
> diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
> index 4d4929529a..bcc5f7ce1f 100644
> --- a/meta/conf/distro/include/tcmode-default.inc
> +++ b/meta/conf/distro/include/tcmode-default.inc
> @@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
>
> GCCVERSION ?= "12.%"
> SDKGCCVERSION ?= "${GCCVERSION}"
> -BINUVERSION ?= "2.39%"
> +BINUVERSION ?= "2.40%"
> GDBVERSION ?= "12.%"
> GLIBCVERSION ?= "2.37"
> LINUXLIBCVERSION ?= "6.1%"
Applying this patch on an oe-core repository fails with 'git am':
error: sha1 information is lacking or useless (meta/conf/distro/include/tcmode-default.inc).
error: could not build fake ancestor
Patch failed at 0001 binutils: Upgrade to 2.40 release
And also with 'git apply'
error: patch failed: meta/conf/distro/include/tcmode-default.inc:18
error: meta/conf/distro/include/tcmode-default.inc: patch does not apply
I noticed you prepared the patch in a poky repository, so I did apply
it there, re-extracted it via 'git format-patch' and the resulting
patch applied perfectly on my oe-core. This happened with your v1 as
well a couple days ago.
I don't understand the root cause and definitely there are no recent
commits that create conflicts. However I'm wondering whether you could
move to working on actual oe-core instead of poky. It would certainly
help me.
Kind regards,
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2023-01-19 9:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-19 4:27 [PATCH v2 1/3] binutils: Upgrade to 2.40 release Khem Raj
2023-01-19 4:27 ` [PATCH v2 2/3] binutils: Package libsframe Khem Raj
2023-01-19 4:27 ` [PATCH v2 3/3] elfutils: Fix build with libcurl >= 7.87 Khem Raj
2023-01-19 9:44 ` Luca Ceresoli [this message]
2023-01-19 16:52 ` [OE-core] [PATCH v2 1/3] binutils: Upgrade to 2.40 release Khem Raj
2023-01-19 22:58 ` Luca Ceresoli
2023-01-19 23:52 ` Khem Raj
2023-01-19 17:25 ` Jeff Law
2023-01-19 18:47 ` Khem Raj
2023-01-23 23:38 ` Khem Raj
2023-01-24 4:02 ` Jeff Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230119104413.0afa6711@booty \
--to=luca.ceresoli@bootlin.com \
--cc=aehs29@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.