Re: [OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-22 Thread Martin Jansa
The python-m2crypto turned to be unrelated to gcc upgrade, it was caused by
one of your patches:
https://patchwork.openembedded.org/patch/142879/

I've dropped it from master-next for now.

On Mon, Aug 21, 2017 at 4:03 PM, Khem Raj  wrote:

>
> On Mon, Aug 21, 2017 at 12:12 AM Martin Jansa 
> wrote:
>
>> Still reproducible without thumb:
>> http://errors.yoctoproject.org/Errors/Details/152666/
>>
>> this might be also triggered by this upgrade:
>> http://errors.yoctoproject.org/Errors/Details/152770/
>>
>
> May be passing -cpperraswarn to swig will help
>
>> 
>>
>> or from glibc final upgrade or something else, hard to know when exactly
>> it started as previous world builds were pretty much useless with all those
>> openssl caused issues.
>>
>> On Mon, Aug 21, 2017 at 2:37 AM, Khem Raj  wrote:
>>
>>>
>>> On Sun, Aug 20, 2017 at 5:31 PM Martin Jansa 
>>> wrote:
>>>
 Seems like python-matplotlib reliably triggers ICE in this version of
 gcc:

 http://errors.yoctoproject.org/Errors/Details/152664/

 I think I haven't seen this one with 7.1.

>>>
>>> Can you try disabling thumb mode and see if this works ?
>>>

 On Tue, Aug 15, 2017 at 7:42 AM, Khem Raj  wrote:

> Drop upstreamed patches
>
> Signed-off-by: Khem Raj 
> ---
>  ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
>  ...0-replace-struct-ucontext-with-ucontext_t.patch | 149
> -
>  .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
>  .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
>  .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
>  .../0009-gcc-poison-system-directories.patch   |   0
>  .../0010-gcc-poison-dir-extend.patch   |   0
>  .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
>  .../0012-64-bit-multilib-hack.patch|   0
>  .../0013-optional-libstdc.patch|   0
>  ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
>  .../0015-COLLECT_GCC_OPTIONS.patch |   0
>  ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
>  .../0017-fortran-cross-compile-hack.patch  |   0
>  .../0018-cpp-honor-sysroot.patch   |   0
>  .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
>  ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
>  ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
>  .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
>  .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
>  ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
>  ...tilib-config-files-from-B-instead-of-usin.patch |   0
>  ...-libdir-from-.la-which-usually-points-to-.patch |   0
>  .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
>  ...AltiVec-generation-on-powepc-linux-target.patch |   0
>  ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
>  ...Ensure-target-gcc-headers-can-be-included.patch |   0
>  ...-t-build-with-disable-dependency-tracking.patch |   0
>  ...h-host-directory-during-relink-if-inst_pr.patch |   0
>  ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
>  .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
>  ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
>  ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
>  ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
>  ...-various-_FOR_BUILD-and-related-variables.patch |   0
>  .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
>  ...shared-to-link-commandline-for-musl-targe.patch |   0
>  ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
>  ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
>  ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
>  ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
>  ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
>  ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
>  .../0047-sync-gcc-stddef.h-with-musl.patch |   0
>  .../0048-gcc-Enable-static-PIE.patch   |   0
>  .../fix-segmentation-fault-precompiled-hdr.patch   |   0
>  ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
>  ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
>  .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
>  ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
>  .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
>  .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
>  ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
>  .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
>  

Re: [OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-21 Thread Khem Raj
On Mon, Aug 21, 2017 at 12:12 AM Martin Jansa 
wrote:

> Still reproducible without thumb:
> http://errors.yoctoproject.org/Errors/Details/152666/
>
> this might be also triggered by this upgrade:
> http://errors.yoctoproject.org/Errors/Details/152770/
>

May be passing -cpperraswarn to swig will help

> 
>
> or from glibc final upgrade or something else, hard to know when exactly
> it started as previous world builds were pretty much useless with all those
> openssl caused issues.
>
> On Mon, Aug 21, 2017 at 2:37 AM, Khem Raj  wrote:
>
>>
>> On Sun, Aug 20, 2017 at 5:31 PM Martin Jansa 
>> wrote:
>>
>>> Seems like python-matplotlib reliably triggers ICE in this version of
>>> gcc:
>>>
>>> http://errors.yoctoproject.org/Errors/Details/152664/
>>>
>>> I think I haven't seen this one with 7.1.
>>>
>>
>> Can you try disabling thumb mode and see if this works ?
>>
>>>
>>> On Tue, Aug 15, 2017 at 7:42 AM, Khem Raj  wrote:
>>>
 Drop upstreamed patches

 Signed-off-by: Khem Raj 
 ---
  ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
  ...0-replace-struct-ucontext-with-ucontext_t.patch | 149
 -
  .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
  .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
  .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
  .../0009-gcc-poison-system-directories.patch   |   0
  .../0010-gcc-poison-dir-extend.patch   |   0
  .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
  .../0012-64-bit-multilib-hack.patch|   0
  .../0013-optional-libstdc.patch|   0
  ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
  .../0015-COLLECT_GCC_OPTIONS.patch |   0
  ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
  .../0017-fortran-cross-compile-hack.patch  |   0
  .../0018-cpp-honor-sysroot.patch   |   0
  .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
  ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
  ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
  .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
  .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
  ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
  ...tilib-config-files-from-B-instead-of-usin.patch |   0
  ...-libdir-from-.la-which-usually-points-to-.patch |   0
  .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
  ...AltiVec-generation-on-powepc-linux-target.patch |   0
  ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
  ...Ensure-target-gcc-headers-can-be-included.patch |   0
  ...-t-build-with-disable-dependency-tracking.patch |   0
  ...h-host-directory-during-relink-if-inst_pr.patch |   0
  ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
  .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
  ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
  ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
  ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
  ...-various-_FOR_BUILD-and-related-variables.patch |   0
  .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
  ...shared-to-link-commandline-for-musl-targe.patch |   0
  ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
  ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
  ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
  ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
  ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
  ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
  .../0047-sync-gcc-stddef.h-with-musl.patch |   0
  .../0048-gcc-Enable-static-PIE.patch   |   0
  .../fix-segmentation-fault-precompiled-hdr.patch   |   0
  ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
  ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
  .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
  ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
  .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
  .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
  ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
  .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
  .../gcc/{gcc_7.1.bb => gcc_7.2.bb} |   0
  ...libgcc-initial_7.1.bb => libgcc-initial_7.2.bb} |   0
  .../gcc/{libgcc_7.1.bb => libgcc_7.2.bb}   |   0
  .../gcc/{libgfortran_7.1.bb => libgfortran_7.2.bb} |   0
  58 files changed, 6 insertions(+), 238 deletions(-)
  delete mode 100644
 

Re: [OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-21 Thread Martin Jansa
Still reproducible without thumb:
http://errors.yoctoproject.org/Errors/Details/152666/

this might be also triggered by this upgrade:
http://errors.yoctoproject.org/Errors/Details/152770/

or from glibc final upgrade or something else, hard to know when exactly it
started as previous world builds were pretty much useless with all those
openssl caused issues.

On Mon, Aug 21, 2017 at 2:37 AM, Khem Raj  wrote:

>
> On Sun, Aug 20, 2017 at 5:31 PM Martin Jansa 
> wrote:
>
>> Seems like python-matplotlib reliably triggers ICE in this version of gcc:
>>
>> http://errors.yoctoproject.org/Errors/Details/152664/
>>
>> I think I haven't seen this one with 7.1.
>>
>
> Can you try disabling thumb mode and see if this works ?
>
>>
>> On Tue, Aug 15, 2017 at 7:42 AM, Khem Raj  wrote:
>>
>>> Drop upstreamed patches
>>>
>>> Signed-off-by: Khem Raj 
>>> ---
>>>  ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
>>>  ...0-replace-struct-ucontext-with-ucontext_t.patch | 149
>>> -
>>>  .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
>>>  .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
>>>  .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
>>>  .../0009-gcc-poison-system-directories.patch   |   0
>>>  .../0010-gcc-poison-dir-extend.patch   |   0
>>>  .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
>>>  .../0012-64-bit-multilib-hack.patch|   0
>>>  .../0013-optional-libstdc.patch|   0
>>>  ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
>>>  .../0015-COLLECT_GCC_OPTIONS.patch |   0
>>>  ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
>>>  .../0017-fortran-cross-compile-hack.patch  |   0
>>>  .../0018-cpp-honor-sysroot.patch   |   0
>>>  .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
>>>  ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
>>>  ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
>>>  .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
>>>  .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
>>>  ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
>>>  ...tilib-config-files-from-B-instead-of-usin.patch |   0
>>>  ...-libdir-from-.la-which-usually-points-to-.patch |   0
>>>  .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
>>>  ...AltiVec-generation-on-powepc-linux-target.patch |   0
>>>  ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
>>>  ...Ensure-target-gcc-headers-can-be-included.patch |   0
>>>  ...-t-build-with-disable-dependency-tracking.patch |   0
>>>  ...h-host-directory-during-relink-if-inst_pr.patch |   0
>>>  ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
>>>  .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
>>>  ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
>>>  ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
>>>  ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
>>>  ...-various-_FOR_BUILD-and-related-variables.patch |   0
>>>  .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
>>>  ...shared-to-link-commandline-for-musl-targe.patch |   0
>>>  ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
>>>  ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
>>>  ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
>>>  ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
>>>  ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
>>>  ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
>>>  .../0047-sync-gcc-stddef.h-with-musl.patch |   0
>>>  .../0048-gcc-Enable-static-PIE.patch   |   0
>>>  .../fix-segmentation-fault-precompiled-hdr.patch   |   0
>>>  ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
>>>  ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
>>>  .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
>>>  ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
>>>  .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
>>>  .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
>>>  ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
>>>  .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
>>>  .../gcc/{gcc_7.1.bb => gcc_7.2.bb} |   0
>>>  ...libgcc-initial_7.1.bb => libgcc-initial_7.2.bb} |   0
>>>  .../gcc/{libgcc_7.1.bb => libgcc_7.2.bb}   |   0
>>>  .../gcc/{libgfortran_7.1.bb => libgfortran_7.2.bb} |   0
>>>  58 files changed, 6 insertions(+), 238 deletions(-)
>>>  delete mode 100644 meta/recipes-devtools/gcc/gcc-
>>> 7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
>>>  delete mode 100644 meta/recipes-devtools/gcc/gcc-
>>> 7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
>>>  rename meta/recipes-devtools/gcc/{gcc-7.1.inc => gcc-7.2.inc} (91%)
>>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>

Re: [OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-20 Thread Khem Raj
On Sun, Aug 20, 2017 at 5:31 PM Martin Jansa  wrote:

> Seems like python-matplotlib reliably triggers ICE in this version of gcc:
>
> http://errors.yoctoproject.org/Errors/Details/152664/
>
> I think I haven't seen this one with 7.1.
>

Can you try disabling thumb mode and see if this works ?

>
> On Tue, Aug 15, 2017 at 7:42 AM, Khem Raj  wrote:
>
>> Drop upstreamed patches
>>
>> Signed-off-by: Khem Raj 
>> ---
>>  ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
>>  ...0-replace-struct-ucontext-with-ucontext_t.patch | 149
>> -
>>  .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
>>  .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
>>  .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
>>  .../0009-gcc-poison-system-directories.patch   |   0
>>  .../0010-gcc-poison-dir-extend.patch   |   0
>>  .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
>>  .../0012-64-bit-multilib-hack.patch|   0
>>  .../0013-optional-libstdc.patch|   0
>>  ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
>>  .../0015-COLLECT_GCC_OPTIONS.patch |   0
>>  ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
>>  .../0017-fortran-cross-compile-hack.patch  |   0
>>  .../0018-cpp-honor-sysroot.patch   |   0
>>  .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
>>  ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
>>  ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
>>  .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
>>  .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
>>  ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
>>  ...tilib-config-files-from-B-instead-of-usin.patch |   0
>>  ...-libdir-from-.la-which-usually-points-to-.patch |   0
>>  .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
>>  ...AltiVec-generation-on-powepc-linux-target.patch |   0
>>  ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
>>  ...Ensure-target-gcc-headers-can-be-included.patch |   0
>>  ...-t-build-with-disable-dependency-tracking.patch |   0
>>  ...h-host-directory-during-relink-if-inst_pr.patch |   0
>>  ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
>>  .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
>>  ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
>>  ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
>>  ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
>>  ...-various-_FOR_BUILD-and-related-variables.patch |   0
>>  .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
>>  ...shared-to-link-commandline-for-musl-targe.patch |   0
>>  ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
>>  ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
>>  ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
>>  ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
>>  ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
>>  ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
>>  .../0047-sync-gcc-stddef.h-with-musl.patch |   0
>>  .../0048-gcc-Enable-static-PIE.patch   |   0
>>  .../fix-segmentation-fault-precompiled-hdr.patch   |   0
>>  ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
>>  ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
>>  .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
>>  ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
>>  .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
>>  .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
>>  ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
>>  .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
>>  .../gcc/{gcc_7.1.bb => gcc_7.2.bb} |   0
>>  ...libgcc-initial_7.1.bb => libgcc-initial_7.2.bb} |   0
>>  .../gcc/{libgcc_7.1.bb => libgcc_7.2.bb}   |   0
>>  .../gcc/{libgfortran_7.1.bb => libgfortran_7.2.bb} |   0
>>  58 files changed, 6 insertions(+), 238 deletions(-)
>>  delete mode 100644
>> meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
>>  delete mode 100644
>> meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
>>  rename meta/recipes-devtools/gcc/{gcc-7.1.inc => gcc-7.2.inc} (91%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
>> gcc-7.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
>> gcc-7.2}/0008-c99-snprintf.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
>> gcc-7.2}/0009-gcc-poison-system-directories.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
>> gcc-7.2}/0010-gcc-poison-dir-extend.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
>> gcc-7.2}/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>

Re: [OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-20 Thread Martin Jansa
Seems like python-matplotlib reliably triggers ICE in this version of gcc:

http://errors.yoctoproject.org/Errors/Details/152664/

I think I haven't seen this one with 7.1.

On Tue, Aug 15, 2017 at 7:42 AM, Khem Raj  wrote:

> Drop upstreamed patches
>
> Signed-off-by: Khem Raj 
> ---
>  ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
>  ...0-replace-struct-ucontext-with-ucontext_t.patch | 149
> -
>  .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
>  .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
>  .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
>  .../0009-gcc-poison-system-directories.patch   |   0
>  .../0010-gcc-poison-dir-extend.patch   |   0
>  .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
>  .../0012-64-bit-multilib-hack.patch|   0
>  .../0013-optional-libstdc.patch|   0
>  ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
>  .../0015-COLLECT_GCC_OPTIONS.patch |   0
>  ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
>  .../0017-fortran-cross-compile-hack.patch  |   0
>  .../0018-cpp-honor-sysroot.patch   |   0
>  .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
>  ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
>  ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
>  .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
>  .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
>  ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
>  ...tilib-config-files-from-B-instead-of-usin.patch |   0
>  ...-libdir-from-.la-which-usually-points-to-.patch |   0
>  .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
>  ...AltiVec-generation-on-powepc-linux-target.patch |   0
>  ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
>  ...Ensure-target-gcc-headers-can-be-included.patch |   0
>  ...-t-build-with-disable-dependency-tracking.patch |   0
>  ...h-host-directory-during-relink-if-inst_pr.patch |   0
>  ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
>  .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
>  ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
>  ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
>  ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
>  ...-various-_FOR_BUILD-and-related-variables.patch |   0
>  .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
>  ...shared-to-link-commandline-for-musl-targe.patch |   0
>  ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
>  ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
>  ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
>  ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
>  ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
>  ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
>  .../0047-sync-gcc-stddef.h-with-musl.patch |   0
>  .../0048-gcc-Enable-static-PIE.patch   |   0
>  .../fix-segmentation-fault-precompiled-hdr.patch   |   0
>  ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
>  ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
>  .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
>  ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
>  .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
>  .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
>  ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
>  .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
>  .../gcc/{gcc_7.1.bb => gcc_7.2.bb} |   0
>  ...libgcc-initial_7.1.bb => libgcc-initial_7.2.bb} |   0
>  .../gcc/{libgcc_7.1.bb => libgcc_7.2.bb}   |   0
>  .../gcc/{libgfortran_7.1.bb => libgfortran_7.2.bb} |   0
>  58 files changed, 6 insertions(+), 238 deletions(-)
>  delete mode 100644 meta/recipes-devtools/gcc/gcc-
> 7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
>  delete mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-
> ucontext-with-ucontext_t.patch
>  rename meta/recipes-devtools/gcc/{gcc-7.1.inc => gcc-7.2.inc} (91%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
> gcc-7.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch
> (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 => 
> gcc-7.2}/0009-gcc-poison-system-directories.patch
> (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
> gcc-7.2}/0010-gcc-poison-dir-extend.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 => gcc-7.2}/0011-gcc-4.3.3-
> SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 =>
> gcc-7.2}/0012-64-bit-multilib-hack.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 => 
> gcc-7.2}/0013-optional-libstdc.patch
> (100%)
>  rename meta/recipes-devtools/gcc/{gcc-7.1 => 
> 

[OE-core] [PATCH] gcc: Upgrade to 7.2.0 release

2017-08-14 Thread Khem Raj
Drop upstreamed patches

Signed-off-by: Khem Raj 
---
 ...r-Use-stack_t-instead-of-struct-sigaltsta.patch |  81 ---
 ...0-replace-struct-ucontext-with-ucontext_t.patch | 149 -
 .../gcc/{gcc-7.1.inc => gcc-7.2.inc}   |  14 +-
 .../0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |   0
 .../{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch   |   0
 .../0009-gcc-poison-system-directories.patch   |   0
 .../0010-gcc-poison-dir-extend.patch   |   0
 .../0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |   0
 .../0012-64-bit-multilib-hack.patch|   0
 .../0013-optional-libstdc.patch|   0
 ...0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |   0
 .../0015-COLLECT_GCC_OPTIONS.patch |   0
 ...efaults.h-in-B-instead-of-S-and-t-oe-in-B.patch |   0
 .../0017-fortran-cross-compile-hack.patch  |   0
 .../0018-cpp-honor-sysroot.patch   |   0
 .../0019-MIPS64-Default-to-N64-ABI.patch   |   0
 ...C_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |   0
 ...0021-gcc-Fix-argument-list-too-long-error.patch |   0
 .../{gcc-7.1 => gcc-7.2}/0022-Disable-sdt.patch|   0
 .../gcc/{gcc-7.1 => gcc-7.2}/0023-libtool.patch|   0
 ...4-pass-fix-v4bx-to-linker-to-support-EABI.patch |   0
 ...tilib-config-files-from-B-instead-of-usin.patch |   0
 ...-libdir-from-.la-which-usually-points-to-.patch |   0
 .../gcc/{gcc-7.1 => gcc-7.2}/0027-export-CPP.patch |   0
 ...AltiVec-generation-on-powepc-linux-target.patch |   0
 ...-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch |   0
 ...Ensure-target-gcc-headers-can-be-included.patch |   0
 ...-t-build-with-disable-dependency-tracking.patch |   0
 ...h-host-directory-during-relink-if-inst_pr.patch |   0
 ...IBS_DIR-replacement-instead-of-hardcoding.patch |   0
 .../0034-aarch64-Add-support-for-musl-ldso.patch   |   0
 ...ibcc1-fix-libcc1-s-install-path-and-rpath.patch |   0
 ...-handle-sysroot-support-for-nativesdk-gcc.patch |   0
 ...et-sysroot-gcc-version-specific-dirs-with.patch |   0
 ...-various-_FOR_BUILD-and-related-variables.patch |   0
 .../0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch|   0
 ...shared-to-link-commandline-for-musl-targe.patch |   0
 ...c-libcpp-support-ffile-prefix-map-old-new.patch |   0
 ...ug-prefix-map-to-replace-ffile-prefix-map.patch |   0
 ...-fdebug-prefix-map-support-to-remap-sourc.patch |   0
 ...44-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |   0
 ...bgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |   0
 ...e-alias-for-__cpu_indicator_init-instead-.patch |   0
 .../0047-sync-gcc-stddef.h-with-musl.patch |   0
 .../0048-gcc-Enable-static-PIE.patch   |   0
 .../fix-segmentation-fault-precompiled-hdr.patch   |   0
 ...s-canadian_7.1.bb => gcc-cross-canadian_7.2.bb} |   0
 ...oss-initial_7.1.bb => gcc-cross-initial_7.2.bb} |   0
 .../gcc/{gcc-cross_7.1.bb => gcc-cross_7.2.bb} |   0
 ...-initial_7.1.bb => gcc-crosssdk-initial_7.2.bb} |   0
 .../{gcc-crosssdk_7.1.bb => gcc-crosssdk_7.2.bb}   |   0
 .../gcc/{gcc-runtime_7.1.bb => gcc-runtime_7.2.bb} |   0
 ...gcc-sanitizers_7.1.bb => gcc-sanitizers_7.2.bb} |   0
 .../gcc/{gcc-source_7.1.bb => gcc-source_7.2.bb}   |   0
 .../gcc/{gcc_7.1.bb => gcc_7.2.bb} |   0
 ...libgcc-initial_7.1.bb => libgcc-initial_7.2.bb} |   0
 .../gcc/{libgcc_7.1.bb => libgcc_7.2.bb}   |   0
 .../gcc/{libgfortran_7.1.bb => libgfortran_7.2.bb} |   0
 58 files changed, 6 insertions(+), 238 deletions(-)
 delete mode 100644 
meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
 delete mode 100644 
meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
 rename meta/recipes-devtools/gcc/{gcc-7.1.inc => gcc-7.2.inc} (91%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => gcc-7.2}/0008-c99-snprintf.patch 
(100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0009-gcc-poison-system-directories.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0010-gcc-poison-dir-extend.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0012-64-bit-multilib-hack.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0013-optional-libstdc.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0015-COLLECT_GCC_OPTIONS.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 => 
gcc-7.2}/0017-fortran-cross-compile-hack.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-7.1 =>