binutils: Bump to latest 2.38 release branch

Message ID 20220516071118.496613-1-samuli.piippo@qt.io
State Accepted, archived
Commit f5fb73ea3d868997f2fc3744ddb0647ab3284218
Headers show
Series binutils: Bump to latest 2.38 release branch | expand

Commit Message

Samuli Piippo May 16, 2022, 7:11 a.m. UTC
Fixes Qt build with GCC 12.1.

Brings following fixes

 * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified
 * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check
 * 8d1187516e3 Adjust ld ctf test for 32-bit targets
 * 9c67f6382ac x86: Properly handle function pointer reference
 * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
 * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE
 * d54081c642a LoongArch: Update ABI eflag in elf header.
 * fb4d148004f IBM zSystems: Add support for z16 as CPU name.
 * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen
 * 99852365513 dlltool: Use the output name as basis for deterministic temp prefixes
 * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/) translations
 * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction
 * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses
 * 7183434818e Work around gcc-4 warnings in elf64-ppc.c

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
 meta/recipes-devtools/binutils/binutils-2.38.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Khem Raj May 16, 2022, 4:12 p.m. UTC | #1
On 5/16/22 12:11 AM, Samuli Piippo wrote:
> Fixes Qt build with GCC 12.1.
> 
> Brings following fixes
> 
>   * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified
>   * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check
>   * 8d1187516e3 Adjust ld ctf test for 32-bit targets
>   * 9c67f6382ac x86: Properly handle function pointer reference
>   * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
>   * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE
>   * d54081c642a LoongArch: Update ABI eflag in elf header.
>   * fb4d148004f IBM zSystems: Add support for z16 as CPU name.
>   * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen
>   * 99852365513 dlltool: Use the output name as basis for deterministic temp prefixes
>   * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/) translations
>   * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction
>   * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses
>   * 7183434818e Work around gcc-4 warnings in elf64-ppc.c

this looks ok. Out of curiousity which fix is particularly needed for QT

> 
> Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> ---
>   meta/recipes-devtools/binutils/binutils-2.38.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/binutils/binutils-2.38.inc b/meta/recipes-devtools/binutils/binutils-2.38.inc
> index 3544c0c7e7..dc0a2a4054 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.38.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.38.inc
> @@ -18,7 +18,7 @@ SRCBRANCH ?= "binutils-2_38-branch"
>   
>   UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
>   
> -SRCREV ?= "6938a3aca19044aeb9bc4b9564e04f9092a701ed"
> +SRCREV ?= "134f17ef688ba4c72a6c4e57af7382882cc1a705"
>   BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
>   SRC_URI = "\
>        ${BINUTILS_GIT_URI} \
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165664): https://lists.openembedded.org/g/openembedded-core/message/165664
> Mute This Topic: https://lists.openembedded.org/mt/91134867/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Samuli Piippo May 17, 2022, 5:21 a.m. UTC | #2
Previous update brought
caa6172de4b x86: Disallow invalid relocation against protected symbol
and it was later fixed in
9c67f6382ac x86: Properly handle function pointer reference

https://bugreports.qt.io/browse/QTBUG-103465

On Mon, 16 May 2022 at 19:12, Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On 5/16/22 12:11 AM, Samuli Piippo wrote:
> > Fixes Qt build with GCC 12.1.
> >
> > Brings following fixes
> >
> >   * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps
> specified
> >   * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check
> >   * 8d1187516e3 Adjust ld ctf test for 32-bit targets
> >   * 9c67f6382ac x86: Properly handle function pointer reference
> >   * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with
> static-pie
> >   * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE
> >   * d54081c642a LoongArch: Update ABI eflag in elf header.
> >   * fb4d148004f IBM zSystems: Add support for z16 as CPU name.
> >   * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen
> >   * 99852365513 dlltool: Use the output name as basis for deterministic
> temp prefixes
> >   * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/)
> translations
> >   * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction
> >   * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses
> >   * 7183434818e Work around gcc-4 warnings in elf64-ppc.c
>
> this looks ok. Out of curiousity which fix is particularly needed for QT
>
> >
> > Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> > ---
> >   meta/recipes-devtools/binutils/binutils-2.38.inc | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/binutils/binutils-2.38.inc
> b/meta/recipes-devtools/binutils/binutils-2.38.inc
> > index 3544c0c7e7..dc0a2a4054 100644
> > --- a/meta/recipes-devtools/binutils/binutils-2.38.inc
> > +++ b/meta/recipes-devtools/binutils/binutils-2.38.inc
> > @@ -18,7 +18,7 @@ SRCBRANCH ?= "binutils-2_38-branch"
> >
> >   UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
> >
> > -SRCREV ?= "6938a3aca19044aeb9bc4b9564e04f9092a701ed"
> > +SRCREV ?= "134f17ef688ba4c72a6c4e57af7382882cc1a705"
> >   BINUTILS_GIT_URI ?= "git://
> sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git
> <http://sourceware.org/git/binutils-gdb.git;branch=$%7BSRCBRANCH%7D;protocol=git>
> "
> >   SRC_URI = "\
> >        ${BINUTILS_GIT_URI} \
> >
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165688):
> https://lists.openembedded.org/g/openembedded-core/message/165688
> Mute This Topic: https://lists.openembedded.org/mt/91134867/3617605
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> samuli.piippo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

Patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.38.inc b/meta/recipes-devtools/binutils/binutils-2.38.inc
index 3544c0c7e7..dc0a2a4054 100644
--- a/meta/recipes-devtools/binutils/binutils-2.38.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.38.inc
@@ -18,7 +18,7 @@  SRCBRANCH ?= "binutils-2_38-branch"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-SRCREV ?= "6938a3aca19044aeb9bc4b9564e04f9092a701ed"
+SRCREV ?= "134f17ef688ba4c72a6c4e57af7382882cc1a705"
 BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
 SRC_URI = "\
      ${BINUTILS_GIT_URI} \