Re: [OE-core] [PATCH V2] binutils: Upgrade to 2.30 release

2018-02-20 Thread Burton, Ross
See poky-contrib:ross/binutils:

binutils: Upgrade to 2.30 release

Additionally cherry-pick

5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and
R_AARCH64_ABS32 against absolution symbol or undefine sy
a985e9b9de Import patch from mainline to remove PROVODE qualifiers
around definitions of __CTOR_LIST__ and __DTOR_L
eec4607fc5 Add support for DWARF-4 line number tables.

Ross

On 20 February 2018 at 15:59, Khem Raj  wrote:

> V2 should have fixed it can you confirm you picked v2
>
> On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross 
> wrote:
>
>> Ah yes, aarch64.
>>
>> Lots of errors like this when building glibc 2.26:
>>
>> | /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):
>> relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol
>> `free' defined in .text section in /home/pokybuild/yocto-
>> autobuilder/yocto-worker/nightly-arm64/build/build/tmp/
>> work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-
>> linux/elf/librtld.os
>>
>> | /home/pokybuild/yocto-autobuilder/yocto-worker/
>> nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/
>> 2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.
>> gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.
>> gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: BFD (GNU
>> Binutils) 2.30.0.20180208 assertion fail ../../bfd/elfnn-aarch64.c:4386
>>
>> | /home/pokybuild/yocto-autobuilder/yocto-worker/
>> nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/
>> 2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.data.rel.ro+0x310):
>> dangerous relocation: unsupported relocation
>>
>> https://autobuilder.yocto.io/builders/nightly-arm64/builds/
>> 758/steps/BuildImages/logs/stdio
>>
>> Apart from that the AB was entirely green.
>>
>> Ross
>>
>> On 20 February 2018 at 01:06, Burton, Ross  wrote:
>>
>>> Can't remember if this failed anywhere that wasn't related to the glibc
>>> upgrade, so I just fired this patch standalone on the autobuilder.
>>>
>>> Ross
>>>
>>> On 16 February 2018 at 03:03, Khem Raj  wrote:
>>>
 ping

 On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj  wrote:
 > Additionally cherry-pick
 >
 > 5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
 > b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and
 R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared
 object.
 > a985e9b9de Import patch from mainline to remove PROVODE qualifiers
 around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
 > eec4607fc5 Add support for DWARF-4 line number tables.
 >
 > Signed-off-by: Khem Raj 
 > ---
 > Changes since v1:
 >
 > - Backport fixes for aarch64 relocs
 > - ppc plt fix, dwarf-4 line number support and linker script fix for
 removing PROVODE
 >
 >  meta/conf/distro/include/tcmode-default.inc|  2 +-
 >  .../{binutils-2.29.1.inc => binutils-2.30.inc} |  2 +-
 >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
 >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
 >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
 >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
 >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
 >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
 >  .../0004-Point-scripts-location-to-libdir.patch|  8 +--
 >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
 >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66
 
 >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
 >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
 >  ...es-of-system-directories-when-cross-linki.patch | 24 
 >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
 >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
 >  .../0012-Add-support-for-Netlogic-XLP.patch| 70
 +++---
 >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
 >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
 >  .../0015-sync-with-OE-libtool-changes.patch|  4 +-
 >  .../{binutils_2.29.1.bb => binutils_2.30.bb}   |  0
 >  21 files changed, 127 insertions(+), 141 deletions(-)
 >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>
 binutils-2.30.inc} (97%)
 >  rename meta/recipes-devtools/binutils/{binutils-cross-
 canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)
 >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>
 binutils-cross_2.30.bb} (100%)
 >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb
 

Re: [OE-core] [PATCH V2] binutils: Upgrade to 2.30 release

2018-02-20 Thread Khem Raj
V2 should have fixed it can you confirm you picked v2

On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross  wrote:

> Ah yes, aarch64.
>
> Lots of errors like this when building glibc 2.26:
>
> | /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):
> relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol
> `free' defined in .text section in
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os
>
> |
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld:
> BFD (GNU Binutils) 2.30.0.20180208 assertion fail
> ../../bfd/elfnn-aarch64.c:4386
>
> |
> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.
> data.rel.ro+0x310): dangerous relocation: unsupported relocation
>
>
> https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio
>
> Apart from that the AB was entirely green.
>
> Ross
>
> On 20 February 2018 at 01:06, Burton, Ross  wrote:
>
>> Can't remember if this failed anywhere that wasn't related to the glibc
>> upgrade, so I just fired this patch standalone on the autobuilder.
>>
>> Ross
>>
>> On 16 February 2018 at 03:03, Khem Raj  wrote:
>>
>>> ping
>>>
>>> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj  wrote:
>>> > Additionally cherry-pick
>>> >
>>> > 5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
>>> > b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and
>>> R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared
>>> object.
>>> > a985e9b9de Import patch from mainline to remove PROVODE qualifiers
>>> around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
>>> > eec4607fc5 Add support for DWARF-4 line number tables.
>>> >
>>> > Signed-off-by: Khem Raj 
>>> > ---
>>> > Changes since v1:
>>> >
>>> > - Backport fixes for aarch64 relocs
>>> > - ppc plt fix, dwarf-4 line number support and linker script fix for
>>> removing PROVODE
>>> >
>>> >  meta/conf/distro/include/tcmode-default.inc|  2 +-
>>> >  .../{binutils-2.29.1.inc => binutils-2.30.inc} |  2 +-
>>> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
>>> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
>>> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
>>> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
>>> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
>>> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
>>> >  .../0004-Point-scripts-location-to-libdir.patch|  8 +--
>>> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
>>> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66
>>> 
>>> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
>>> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
>>> >  ...es-of-system-directories-when-cross-linki.patch | 24 
>>> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
>>> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
>>> >  .../0012-Add-support-for-Netlogic-XLP.patch| 70
>>> +++---
>>> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
>>> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
>>> >  .../0015-sync-with-OE-libtool-changes.patch|  4 +-
>>> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}   |  0
>>> >  21 files changed, 127 insertions(+), 141 deletions(-)
>>> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>
>>> binutils-2.30.inc} (97%)
>>> >  rename meta/recipes-devtools/binutils/{
>>> binutils-cross-canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb}
>>> (100%)
>>> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>
>>> binutils-cross_2.30.bb} (100%)
>>> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb
>>> => binutils-crosssdk_2.30.bb} (100%)
>>> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>
>>> binutils_2.30.bb} (100%)
>>> >
>>> > diff --git a/meta/conf/distro/include/tcmode-default.inc
>>> b/meta/conf/distro/include/tcmode-default.inc
>>> > index da45642440..037d331605 100644
>>> > --- a/meta/conf/distro/include/tcmode-default.inc
>>> > +++ b/meta/conf/distro/include/tcmode-default.inc
>>> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
>>> >
>>> >  GCCVERSION ?= "7.%"
>>> >  SDKGCCVERSION ?= "${GCCVERSION}"
>>> > -BINUVERSION ?= "2.29%"
>>> > +BINUVERSION ?= "2.30%"
>>> >  GDBVERSION ?= "8.0%"
>>> >  

Re: [OE-core] [PATCH V2] binutils: Upgrade to 2.30 release

2018-02-20 Thread Burton, Ross
Ah yes, aarch64.

Lots of errors like this when building glibc 2.26:

| /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):
relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol
`free' defined in .text section in
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os

|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld:
BFD (GNU Binutils) 2.30.0.20180208 assertion fail
../../bfd/elfnn-aarch64.c:4386

|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.
data.rel.ro+0x310): dangerous relocation: unsupported relocation

https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio

Apart from that the AB was entirely green.

Ross

On 20 February 2018 at 01:06, Burton, Ross  wrote:

> Can't remember if this failed anywhere that wasn't related to the glibc
> upgrade, so I just fired this patch standalone on the autobuilder.
>
> Ross
>
> On 16 February 2018 at 03:03, Khem Raj  wrote:
>
>> ping
>>
>> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj  wrote:
>> > Additionally cherry-pick
>> >
>> > 5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
>> > b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and
>> R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared
>> object.
>> > a985e9b9de Import patch from mainline to remove PROVODE qualifiers
>> around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
>> > eec4607fc5 Add support for DWARF-4 line number tables.
>> >
>> > Signed-off-by: Khem Raj 
>> > ---
>> > Changes since v1:
>> >
>> > - Backport fixes for aarch64 relocs
>> > - ppc plt fix, dwarf-4 line number support and linker script fix for
>> removing PROVODE
>> >
>> >  meta/conf/distro/include/tcmode-default.inc|  2 +-
>> >  .../{binutils-2.29.1.inc => binutils-2.30.inc} |  2 +-
>> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
>> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
>> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
>> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
>> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
>> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
>> >  .../0004-Point-scripts-location-to-libdir.patch|  8 +--
>> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
>> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66
>> 
>> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
>> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
>> >  ...es-of-system-directories-when-cross-linki.patch | 24 
>> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
>> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
>> >  .../0012-Add-support-for-Netlogic-XLP.patch| 70
>> +++---
>> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
>> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
>> >  .../0015-sync-with-OE-libtool-changes.patch|  4 +-
>> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}   |  0
>> >  21 files changed, 127 insertions(+), 141 deletions(-)
>> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>
>> binutils-2.30.inc} (97%)
>> >  rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.
>> 29.1.bb => binutils-cross-canadian_2.30.bb} (100%)
>> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>
>> binutils-cross_2.30.bb} (100%)
>> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb =>
>> binutils-crosssdk_2.30.bb} (100%)
>> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>
>> binutils_2.30.bb} (100%)
>> >
>> > diff --git a/meta/conf/distro/include/tcmode-default.inc
>> b/meta/conf/distro/include/tcmode-default.inc
>> > index da45642440..037d331605 100644
>> > --- a/meta/conf/distro/include/tcmode-default.inc
>> > +++ b/meta/conf/distro/include/tcmode-default.inc
>> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
>> >
>> >  GCCVERSION ?= "7.%"
>> >  SDKGCCVERSION ?= "${GCCVERSION}"
>> > -BINUVERSION ?= "2.29%"
>> > +BINUVERSION ?= "2.30%"
>> >  GDBVERSION ?= "8.0%"
>> >  LINUXLIBCVERSION ?= "4.14%"
>> >  GLIBCVERSION ?= "2.27%"
>> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc
>> b/meta/recipes-devtools/binutils/binutils-2.30.inc
>> > similarity index 97%
>> > rename from 

Re: [OE-core] [PATCH V2] binutils: Upgrade to 2.30 release

2018-02-19 Thread Burton, Ross
Can't remember if this failed anywhere that wasn't related to the glibc
upgrade, so I just fired this patch standalone on the autobuilder.

Ross

On 16 February 2018 at 03:03, Khem Raj  wrote:

> ping
>
> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj  wrote:
> > Additionally cherry-pick
> >
> > 5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
> > b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and
> R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared
> object.
> > a985e9b9de Import patch from mainline to remove PROVODE qualifiers
> around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
> > eec4607fc5 Add support for DWARF-4 line number tables.
> >
> > Signed-off-by: Khem Raj 
> > ---
> > Changes since v1:
> >
> > - Backport fixes for aarch64 relocs
> > - ppc plt fix, dwarf-4 line number support and linker script fix for
> removing PROVODE
> >
> >  meta/conf/distro/include/tcmode-default.inc|  2 +-
> >  .../{binutils-2.29.1.inc => binutils-2.30.inc} |  2 +-
> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
> >  .../0004-Point-scripts-location-to-libdir.patch|  8 +--
> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66
> 
> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
> >  ...es-of-system-directories-when-cross-linki.patch | 24 
> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
> >  .../0012-Add-support-for-Netlogic-XLP.patch| 70
> +++---
> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
> >  .../0015-sync-with-OE-libtool-changes.patch|  4 +-
> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}   |  0
> >  21 files changed, 127 insertions(+), 141 deletions(-)
> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>
> binutils-2.30.inc} (97%)
> >  rename meta/recipes-devtools/binutils/{binutils-cross-
> canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)
> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>
> binutils-cross_2.30.bb} (100%)
> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb =>
> binutils-crosssdk_2.30.bb} (100%)
> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>
> binutils_2.30.bb} (100%)
> >
> > diff --git a/meta/conf/distro/include/tcmode-default.inc
> b/meta/conf/distro/include/tcmode-default.inc
> > index da45642440..037d331605 100644
> > --- a/meta/conf/distro/include/tcmode-default.inc
> > +++ b/meta/conf/distro/include/tcmode-default.inc
> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
> >
> >  GCCVERSION ?= "7.%"
> >  SDKGCCVERSION ?= "${GCCVERSION}"
> > -BINUVERSION ?= "2.29%"
> > +BINUVERSION ?= "2.30%"
> >  GDBVERSION ?= "8.0%"
> >  LINUXLIBCVERSION ?= "4.14%"
> >  GLIBCVERSION ?= "2.27%"
> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc
> b/meta/recipes-devtools/binutils/binutils-2.30.inc
> > similarity index 97%
> > rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc
> > rename to meta/recipes-devtools/binutils/binutils-2.30.inc
> > index 07a72e2b5a..9c883acc52 100644
> > --- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc
> > +++ b/meta/recipes-devtools/binutils/binutils-2.30.inc
> > @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}"
> >
> >  UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)"
> >
> > -SRCREV ?= "90276f15379d380761fc499da2ba24cfb3c12a94"
> > +SRCREV ?= "caa839fba66600a6c36d3639906ed9110b79c307"
> >  BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=
> binutils-${BINUPV}-branch;protocol=git"
> >  SRC_URI = "\
> >   ${BINUTILS_GIT_URI} \
> > diff --git a/meta/recipes-devtools/binutils/binutils-cross-
> canadian_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-cross-
> canadian_2.30.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/binutils/binutils-cross-
> canadian_2.29.1.bb
> > rename to meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb
> > diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb
> b/meta/recipes-devtools/binutils/binutils-cross_2.30.bb
> > similarity index 100%
> > rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb
> > rename to meta/recipes-devtools/binutils/binutils-cross_2.30.bb
> > diff 

Re: [OE-core] [PATCH V2] binutils: Upgrade to 2.30 release

2018-02-15 Thread Khem Raj
ping

On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj  wrote:
> Additionally cherry-pick
>
> 5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
> b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 
> against absolution symbol or undefine symbol in shared object.
> a985e9b9de Import patch from mainline to remove PROVODE qualifiers around 
> definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
> eec4607fc5 Add support for DWARF-4 line number tables.
>
> Signed-off-by: Khem Raj 
> ---
> Changes since v1:
>
> - Backport fixes for aarch64 relocs
> - ppc plt fix, dwarf-4 line number support and linker script fix for removing 
> PROVODE
>
>  meta/conf/distro/include/tcmode-default.inc|  2 +-
>  .../{binutils-2.29.1.inc => binutils-2.30.inc} |  2 +-
>  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
>  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
>  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
>  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
>  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
>  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
>  .../0004-Point-scripts-location-to-libdir.patch|  8 +--
>  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
>  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66 
>  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
>  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
>  ...es-of-system-directories-when-cross-linki.patch | 24 
>  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
>  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
>  .../0012-Add-support-for-Netlogic-XLP.patch| 70 
> +++---
>  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
>  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
>  .../0015-sync-with-OE-libtool-changes.patch|  4 +-
>  .../{binutils_2.29.1.bb => binutils_2.30.bb}   |  0
>  21 files changed, 127 insertions(+), 141 deletions(-)
>  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc => 
> binutils-2.30.inc} (97%)
>  rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.29.1.bb => 
> binutils-cross-canadian_2.30.bb} (100%)
>  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb => 
> binutils-cross_2.30.bb} (100%)
>  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb => 
> binutils-crosssdk_2.30.bb} (100%)
>  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb => 
> binutils_2.30.bb} (100%)
>
> diff --git a/meta/conf/distro/include/tcmode-default.inc 
> b/meta/conf/distro/include/tcmode-default.inc
> index da45642440..037d331605 100644
> --- a/meta/conf/distro/include/tcmode-default.inc
> +++ b/meta/conf/distro/include/tcmode-default.inc
> @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
>
>  GCCVERSION ?= "7.%"
>  SDKGCCVERSION ?= "${GCCVERSION}"
> -BINUVERSION ?= "2.29%"
> +BINUVERSION ?= "2.30%"
>  GDBVERSION ?= "8.0%"
>  LINUXLIBCVERSION ?= "4.14%"
>  GLIBCVERSION ?= "2.27%"
> diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc 
> b/meta/recipes-devtools/binutils/binutils-2.30.inc
> similarity index 97%
> rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc
> rename to meta/recipes-devtools/binutils/binutils-2.30.inc
> index 07a72e2b5a..9c883acc52 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.30.inc
> @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}"
>
>  UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)"
>
> -SRCREV ?= "90276f15379d380761fc499da2ba24cfb3c12a94"
> +SRCREV ?= "caa839fba66600a6c36d3639906ed9110b79c307"
>  BINUTILS_GIT_URI ?= 
> "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git"
>  SRC_URI = "\
>   ${BINUTILS_GIT_URI} \
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb 
> b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb
> similarity index 100%
> rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb
> rename to meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb
> diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb 
> b/meta/recipes-devtools/binutils/binutils-cross_2.30.bb
> similarity index 100%
> rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb
> rename to meta/recipes-devtools/binutils/binutils-cross_2.30.bb
> diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb 
> b/meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb
> similarity index 100%
> rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb
> rename to meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb
> diff --git 
>