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

2018-08-05 Thread Martin Jansa
bash's read.c: http://paste.ubuntu.com/p/TMD7Z4gKxK/
libjpeg-turbo's turbojpeg.c: http://paste.ubuntu.com/p/FsV7zXnKHq/

On Sun, Aug 5, 2018 at 9:59 PM Khem Raj  wrote:

>
>
> On 8/5/18 12:45 PM, Martin Jansa wrote:
> > Turned out to be related to -fno-omit-frame-pointer from DEBUG_BUILD
> > together with security_flags.inc together with thumb, I've sent a work
> > around which works for me:
> >
> http://lists.openembedded.org/pipermail/openembedded-core/2018-August/153741.html
> >
>
> thumb1 is kind of less tested ISA, so this workaround is perfectly fine.
> although it would be interesting to have the pre-processed file where it
> hangs
>
> > it's reproducible with gcc-8.1 as well, so it wasn't caused by gcc-8.2
> > upgrade (I've enabled security_flags.inc in qemuarm builds around the
> > same time).
> >
> > On Mon, Jul 30, 2018 at 8:35 PM Khem Raj  > > wrote:
> >
> > Sure my builds with gold did not end up in the fails for qemuarm and
> > thumb1 the setup is very similar but I might have been lucky let me
> > know how it goes
> >
> > On Mon, Jul 30, 2018 at 7:53 AM Martin Jansa  > > wrote:
> >
> > I'm not sure if it was caused by this change, but I've included
> > it from patchwork on Friday and since then I've seen 3 builds
> > getting stuck in gcc for 50 hours.
> >
> > In all 3 cases it was qemuarm (with thumb and gold enabled),
> > twice while building bash and once building libjpeg-turbo. I
> > will let you know after more builds to see how often it happens
> > (I didn't do many builds over weekend, because well - they were
> > stuck on early ones, because of this).
> >
> > On Fri, Jul 27, 2018 at 10:31 AM Khem Raj  > > wrote:
> >
> > Signed-off-by: Khem Raj  > >
> > ---
> >  ...003-build-failures-with-with-cpu-xsc.patch | 61
> > ---
> >  .../gcc/{gcc-8.1.inc => gcc-8.2.inc}  | 11 ++--
> >  ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
> >  .../0003-gcc-poison-system-directories.patch  |  0
> >  .../0004-gcc-poison-dir-extend.patch  |  0
> >  ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
> >  .../0006-64-bit-multilib-hack.patch   |  0
> >  .../0007-optional-libstdc.patch   |  0
> >  ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
> >  .../0009-COLLECT_GCC_OPTIONS.patch|  0
> >  ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
> >  .../0011-fortran-cross-compile-hack.patch |  0
> >  .../0012-cpp-honor-sysroot.patch  |  0
> >  .../0013-MIPS64-Default-to-N64-ABI.patch  |  0
> >  ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
> >  ...gcc-Fix-argument-list-too-long-error.patch |  0
> >  .../0016-Disable-sdt.patch|  0
> >  .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
> >  ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
> >  ...-config-files-from-B-instead-of-usin.patch |  0
> >  ...ir-from-.la-which-usually-points-to-.patch |  0
> >  .../0021-export-CPP.patch |  0
> >  ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
> >  ...e-target-gcc-headers-can-be-included.patch |  0
> >  ...ild-with-disable-dependency-tracking.patch |  0
> >  ...t-directory-during-relink-if-inst_pr.patch |  0
> >  ...IR-replacement-instead-of-hardcoding.patch |  0
> >  ...27-aarch64-Add-support-for-musl-ldso.patch |  0
> >  ...-fix-libcc1-s-install-path-and-rpath.patch |  0
> >  ...le-sysroot-support-for-nativesdk-gcc.patch |  0
> >  ...sroot-gcc-version-specific-dirs-with.patch |  0
> >  ...ous-_FOR_BUILD-and-related-variables.patch |  0
> >  ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
> >  ...d-to-link-commandline-for-musl-targe.patch |  0
> >  ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
> >  ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
> >  ...as-for-__cpu_indicator_init-instead-.patch |  0
> >  .../0037-sync-gcc-stddef.h-with-musl.patch|  0
> >  ...-fault-in-precompiled-header-generat.patch |  0
> >  .../0039-Fix-for-testsuite-failure.patch  |  0
> >  ...Re-introduce-spe-commandline-options.patch |  0
> >  ...adian_8.1.bb  =>
> > gcc-cross-canadian_8.2.bb
> > } |  0
> >  ...nitial_8.1.bb  

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

2018-08-05 Thread Khem Raj


On 8/5/18 12:45 PM, Martin Jansa wrote:
> Turned out to be related to -fno-omit-frame-pointer from DEBUG_BUILD
> together with security_flags.inc together with thumb, I've sent a work
> around which works for me:
> http://lists.openembedded.org/pipermail/openembedded-core/2018-August/153741.html
> 

thumb1 is kind of less tested ISA, so this workaround is perfectly fine.
although it would be interesting to have the pre-processed file where it
hangs

> it's reproducible with gcc-8.1 as well, so it wasn't caused by gcc-8.2
> upgrade (I've enabled security_flags.inc in qemuarm builds around the
> same time).
> 
> On Mon, Jul 30, 2018 at 8:35 PM Khem Raj  > wrote:
> 
> Sure my builds with gold did not end up in the fails for qemuarm and
> thumb1 the setup is very similar but I might have been lucky let me
> know how it goes 
> 
> On Mon, Jul 30, 2018 at 7:53 AM Martin Jansa  > wrote:
> 
> I'm not sure if it was caused by this change, but I've included
> it from patchwork on Friday and since then I've seen 3 builds
> getting stuck in gcc for 50 hours.
> 
> In all 3 cases it was qemuarm (with thumb and gold enabled),
> twice while building bash and once building libjpeg-turbo. I
> will let you know after more builds to see how often it happens
> (I didn't do many builds over weekend, because well - they were
> stuck on early ones, because of this).
> 
> On Fri, Jul 27, 2018 at 10:31 AM Khem Raj  > wrote:
> 
> Signed-off-by: Khem Raj  >
> ---
>  ...003-build-failures-with-with-cpu-xsc.patch | 61
> ---
>  .../gcc/{gcc-8.1.inc => gcc-8.2.inc}          | 11 ++--
>  ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
>  .../0003-gcc-poison-system-directories.patch  |  0
>  .../0004-gcc-poison-dir-extend.patch          |  0
>  ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
>  .../0006-64-bit-multilib-hack.patch           |  0
>  .../0007-optional-libstdc.patch               |  0
>  ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
>  .../0009-COLLECT_GCC_OPTIONS.patch            |  0
>  ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
>  .../0011-fortran-cross-compile-hack.patch     |  0
>  .../0012-cpp-honor-sysroot.patch              |  0
>  .../0013-MIPS64-Default-to-N64-ABI.patch      |  0
>  ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
>  ...gcc-Fix-argument-list-too-long-error.patch |  0
>  .../0016-Disable-sdt.patch                    |  0
>  .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
>  ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
>  ...-config-files-from-B-instead-of-usin.patch |  0
>  ...ir-from-.la-which-usually-points-to-.patch |  0
>  .../0021-export-CPP.patch                     |  0
>  ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
>  ...e-target-gcc-headers-can-be-included.patch |  0
>  ...ild-with-disable-dependency-tracking.patch |  0
>  ...t-directory-during-relink-if-inst_pr.patch |  0
>  ...IR-replacement-instead-of-hardcoding.patch |  0
>  ...27-aarch64-Add-support-for-musl-ldso.patch |  0
>  ...-fix-libcc1-s-install-path-and-rpath.patch |  0
>  ...le-sysroot-support-for-nativesdk-gcc.patch |  0
>  ...sroot-gcc-version-specific-dirs-with.patch |  0
>  ...ous-_FOR_BUILD-and-related-variables.patch |  0
>  ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
>  ...d-to-link-commandline-for-musl-targe.patch |  0
>  ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
>  ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
>  ...as-for-__cpu_indicator_init-instead-.patch |  0
>  .../0037-sync-gcc-stddef.h-with-musl.patch    |  0
>  ...-fault-in-precompiled-header-generat.patch |  0
>  .../0039-Fix-for-testsuite-failure.patch      |  0
>  ...Re-introduce-spe-commandline-options.patch |  0
>  ...adian_8.1.bb  =>
> gcc-cross-canadian_8.2.bb
> } |  0
>  ...nitial_8.1.bb  =>
> gcc-cross-initial_8.2.bb } |  0
>  .../{gcc-cross_8.1.bb  =>
> gcc-cross_8.2.bb }    |  0
>  ...ial_8.1.bb  =>
> gcc-crosssdk-initial_8.2.bb
> 

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

2018-08-05 Thread Martin Jansa
Turned out to be related to -fno-omit-frame-pointer from DEBUG_BUILD
together with security_flags.inc together with thumb, I've sent a work
around which works for me:
http://lists.openembedded.org/pipermail/openembedded-core/2018-August/153741.html

it's reproducible with gcc-8.1 as well, so it wasn't caused by gcc-8.2
upgrade (I've enabled security_flags.inc in qemuarm builds around the same
time).

On Mon, Jul 30, 2018 at 8:35 PM Khem Raj  wrote:

> Sure my builds with gold did not end up in the fails for qemuarm and
> thumb1 the setup is very similar but I might have been lucky let me know
> how it goes
>
> On Mon, Jul 30, 2018 at 7:53 AM Martin Jansa 
> wrote:
>
>> I'm not sure if it was caused by this change, but I've included it from
>> patchwork on Friday and since then I've seen 3 builds getting stuck in gcc
>> for 50 hours.
>>
>> In all 3 cases it was qemuarm (with thumb and gold enabled), twice while
>> building bash and once building libjpeg-turbo. I will let you know after
>> more builds to see how often it happens (I didn't do many builds over
>> weekend, because well - they were stuck on early ones, because of this).
>>
>> On Fri, Jul 27, 2018 at 10:31 AM Khem Raj  wrote:
>>
>>> Signed-off-by: Khem Raj 
>>> ---
>>>  ...003-build-failures-with-with-cpu-xsc.patch | 61 ---
>>>  .../gcc/{gcc-8.1.inc => gcc-8.2.inc}  | 11 ++--
>>>  ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
>>>  .../0003-gcc-poison-system-directories.patch  |  0
>>>  .../0004-gcc-poison-dir-extend.patch  |  0
>>>  ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
>>>  .../0006-64-bit-multilib-hack.patch   |  0
>>>  .../0007-optional-libstdc.patch   |  0
>>>  ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
>>>  .../0009-COLLECT_GCC_OPTIONS.patch|  0
>>>  ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
>>>  .../0011-fortran-cross-compile-hack.patch |  0
>>>  .../0012-cpp-honor-sysroot.patch  |  0
>>>  .../0013-MIPS64-Default-to-N64-ABI.patch  |  0
>>>  ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
>>>  ...gcc-Fix-argument-list-too-long-error.patch |  0
>>>  .../0016-Disable-sdt.patch|  0
>>>  .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
>>>  ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
>>>  ...-config-files-from-B-instead-of-usin.patch |  0
>>>  ...ir-from-.la-which-usually-points-to-.patch |  0
>>>  .../0021-export-CPP.patch |  0
>>>  ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
>>>  ...e-target-gcc-headers-can-be-included.patch |  0
>>>  ...ild-with-disable-dependency-tracking.patch |  0
>>>  ...t-directory-during-relink-if-inst_pr.patch |  0
>>>  ...IR-replacement-instead-of-hardcoding.patch |  0
>>>  ...27-aarch64-Add-support-for-musl-ldso.patch |  0
>>>  ...-fix-libcc1-s-install-path-and-rpath.patch |  0
>>>  ...le-sysroot-support-for-nativesdk-gcc.patch |  0
>>>  ...sroot-gcc-version-specific-dirs-with.patch |  0
>>>  ...ous-_FOR_BUILD-and-related-variables.patch |  0
>>>  ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
>>>  ...d-to-link-commandline-for-musl-targe.patch |  0
>>>  ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
>>>  ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
>>>  ...as-for-__cpu_indicator_init-instead-.patch |  0
>>>  .../0037-sync-gcc-stddef.h-with-musl.patch|  0
>>>  ...-fault-in-precompiled-header-generat.patch |  0
>>>  .../0039-Fix-for-testsuite-failure.patch  |  0
>>>  ...Re-introduce-spe-commandline-options.patch |  0
>>>  ...adian_8.1.bb => gcc-cross-canadian_8.2.bb} |  0
>>>  ...nitial_8.1.bb => gcc-cross-initial_8.2.bb} |  0
>>>  .../{gcc-cross_8.1.bb => gcc-cross_8.2.bb}|  0
>>>  ...ial_8.1.bb => gcc-crosssdk-initial_8.2.bb} |  0
>>>  ...cc-crosssdk_8.1.bb => gcc-crosssdk_8.2.bb} |  0
>>>  ...{gcc-runtime_8.1.bb => gcc-runtime_8.2.bb} |  0
>>>  ...anitizers_8.1.bb => gcc-sanitizers_8.2.bb} |  0
>>>  .../{gcc-source_8.1.bb => gcc-source_8.2.bb}  |  0
>>>  .../gcc/{gcc_8.1.bb => gcc_8.2.bb}|  0
>>>  ...c-initial_8.1.bb => libgcc-initial_8.2.bb} |  0
>>>  .../gcc/{libgcc_8.1.bb => libgcc_8.2.bb}  |  0
>>>  ...{libgfortran_8.1.bb => libgfortran_8.2.bb} |  0
>>>  53 files changed, 5 insertions(+), 67 deletions(-)
>>>  delete mode 100644
>>> meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1.inc => gcc-8.2.inc} (93%)
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>>> gcc-8.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>>> gcc-8.2}/0003-gcc-poison-system-directories.patch (100%)
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>>> gcc-8.2}/0004-gcc-poison-dir-extend.patch (100%)
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>>> gcc-8.2}/0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
>>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>>> 

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

2018-07-30 Thread Khem Raj
Sure my builds with gold did not end up in the fails for qemuarm and thumb1
the setup is very similar but I might have been lucky let me know how it
goes

On Mon, Jul 30, 2018 at 7:53 AM Martin Jansa  wrote:

> I'm not sure if it was caused by this change, but I've included it from
> patchwork on Friday and since then I've seen 3 builds getting stuck in gcc
> for 50 hours.
>
> In all 3 cases it was qemuarm (with thumb and gold enabled), twice while
> building bash and once building libjpeg-turbo. I will let you know after
> more builds to see how often it happens (I didn't do many builds over
> weekend, because well - they were stuck on early ones, because of this).
>
> On Fri, Jul 27, 2018 at 10:31 AM Khem Raj  wrote:
>
>> Signed-off-by: Khem Raj 
>> ---
>>  ...003-build-failures-with-with-cpu-xsc.patch | 61 ---
>>  .../gcc/{gcc-8.1.inc => gcc-8.2.inc}  | 11 ++--
>>  ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
>>  .../0003-gcc-poison-system-directories.patch  |  0
>>  .../0004-gcc-poison-dir-extend.patch  |  0
>>  ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
>>  .../0006-64-bit-multilib-hack.patch   |  0
>>  .../0007-optional-libstdc.patch   |  0
>>  ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
>>  .../0009-COLLECT_GCC_OPTIONS.patch|  0
>>  ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
>>  .../0011-fortran-cross-compile-hack.patch |  0
>>  .../0012-cpp-honor-sysroot.patch  |  0
>>  .../0013-MIPS64-Default-to-N64-ABI.patch  |  0
>>  ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
>>  ...gcc-Fix-argument-list-too-long-error.patch |  0
>>  .../0016-Disable-sdt.patch|  0
>>  .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
>>  ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
>>  ...-config-files-from-B-instead-of-usin.patch |  0
>>  ...ir-from-.la-which-usually-points-to-.patch |  0
>>  .../0021-export-CPP.patch |  0
>>  ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
>>  ...e-target-gcc-headers-can-be-included.patch |  0
>>  ...ild-with-disable-dependency-tracking.patch |  0
>>  ...t-directory-during-relink-if-inst_pr.patch |  0
>>  ...IR-replacement-instead-of-hardcoding.patch |  0
>>  ...27-aarch64-Add-support-for-musl-ldso.patch |  0
>>  ...-fix-libcc1-s-install-path-and-rpath.patch |  0
>>  ...le-sysroot-support-for-nativesdk-gcc.patch |  0
>>  ...sroot-gcc-version-specific-dirs-with.patch |  0
>>  ...ous-_FOR_BUILD-and-related-variables.patch |  0
>>  ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
>>  ...d-to-link-commandline-for-musl-targe.patch |  0
>>  ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
>>  ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
>>  ...as-for-__cpu_indicator_init-instead-.patch |  0
>>  .../0037-sync-gcc-stddef.h-with-musl.patch|  0
>>  ...-fault-in-precompiled-header-generat.patch |  0
>>  .../0039-Fix-for-testsuite-failure.patch  |  0
>>  ...Re-introduce-spe-commandline-options.patch |  0
>>  ...adian_8.1.bb => gcc-cross-canadian_8.2.bb} |  0
>>  ...nitial_8.1.bb => gcc-cross-initial_8.2.bb} |  0
>>  .../{gcc-cross_8.1.bb => gcc-cross_8.2.bb}|  0
>>  ...ial_8.1.bb => gcc-crosssdk-initial_8.2.bb} |  0
>>  ...cc-crosssdk_8.1.bb => gcc-crosssdk_8.2.bb} |  0
>>  ...{gcc-runtime_8.1.bb => gcc-runtime_8.2.bb} |  0
>>  ...anitizers_8.1.bb => gcc-sanitizers_8.2.bb} |  0
>>  .../{gcc-source_8.1.bb => gcc-source_8.2.bb}  |  0
>>  .../gcc/{gcc_8.1.bb => gcc_8.2.bb}|  0
>>  ...c-initial_8.1.bb => libgcc-initial_8.2.bb} |  0
>>  .../gcc/{libgcc_8.1.bb => libgcc_8.2.bb}  |  0
>>  ...{libgfortran_8.1.bb => libgfortran_8.2.bb} |  0
>>  53 files changed, 5 insertions(+), 67 deletions(-)
>>  delete mode 100644
>> meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch
>>  rename meta/recipes-devtools/gcc/{gcc-8.1.inc => gcc-8.2.inc} (93%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0003-gcc-poison-system-directories.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0004-gcc-poison-dir-extend.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0006-64-bit-multilib-hack.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0007-optional-libstdc.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0008-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0009-COLLECT_GCC_OPTIONS.patch (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> gcc-8.2}/0010-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
>> (100%)
>>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
>> 

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

2018-07-30 Thread Martin Jansa
I'm not sure if it was caused by this change, but I've included it from
patchwork on Friday and since then I've seen 3 builds getting stuck in gcc
for 50 hours.

In all 3 cases it was qemuarm (with thumb and gold enabled), twice while
building bash and once building libjpeg-turbo. I will let you know after
more builds to see how often it happens (I didn't do many builds over
weekend, because well - they were stuck on early ones, because of this).

On Fri, Jul 27, 2018 at 10:31 AM Khem Raj  wrote:

> Signed-off-by: Khem Raj 
> ---
>  ...003-build-failures-with-with-cpu-xsc.patch | 61 ---
>  .../gcc/{gcc-8.1.inc => gcc-8.2.inc}  | 11 ++--
>  ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
>  .../0003-gcc-poison-system-directories.patch  |  0
>  .../0004-gcc-poison-dir-extend.patch  |  0
>  ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
>  .../0006-64-bit-multilib-hack.patch   |  0
>  .../0007-optional-libstdc.patch   |  0
>  ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
>  .../0009-COLLECT_GCC_OPTIONS.patch|  0
>  ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
>  .../0011-fortran-cross-compile-hack.patch |  0
>  .../0012-cpp-honor-sysroot.patch  |  0
>  .../0013-MIPS64-Default-to-N64-ABI.patch  |  0
>  ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
>  ...gcc-Fix-argument-list-too-long-error.patch |  0
>  .../0016-Disable-sdt.patch|  0
>  .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
>  ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
>  ...-config-files-from-B-instead-of-usin.patch |  0
>  ...ir-from-.la-which-usually-points-to-.patch |  0
>  .../0021-export-CPP.patch |  0
>  ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
>  ...e-target-gcc-headers-can-be-included.patch |  0
>  ...ild-with-disable-dependency-tracking.patch |  0
>  ...t-directory-during-relink-if-inst_pr.patch |  0
>  ...IR-replacement-instead-of-hardcoding.patch |  0
>  ...27-aarch64-Add-support-for-musl-ldso.patch |  0
>  ...-fix-libcc1-s-install-path-and-rpath.patch |  0
>  ...le-sysroot-support-for-nativesdk-gcc.patch |  0
>  ...sroot-gcc-version-specific-dirs-with.patch |  0
>  ...ous-_FOR_BUILD-and-related-variables.patch |  0
>  ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
>  ...d-to-link-commandline-for-musl-targe.patch |  0
>  ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
>  ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
>  ...as-for-__cpu_indicator_init-instead-.patch |  0
>  .../0037-sync-gcc-stddef.h-with-musl.patch|  0
>  ...-fault-in-precompiled-header-generat.patch |  0
>  .../0039-Fix-for-testsuite-failure.patch  |  0
>  ...Re-introduce-spe-commandline-options.patch |  0
>  ...adian_8.1.bb => gcc-cross-canadian_8.2.bb} |  0
>  ...nitial_8.1.bb => gcc-cross-initial_8.2.bb} |  0
>  .../{gcc-cross_8.1.bb => gcc-cross_8.2.bb}|  0
>  ...ial_8.1.bb => gcc-crosssdk-initial_8.2.bb} |  0
>  ...cc-crosssdk_8.1.bb => gcc-crosssdk_8.2.bb} |  0
>  ...{gcc-runtime_8.1.bb => gcc-runtime_8.2.bb} |  0
>  ...anitizers_8.1.bb => gcc-sanitizers_8.2.bb} |  0
>  .../{gcc-source_8.1.bb => gcc-source_8.2.bb}  |  0
>  .../gcc/{gcc_8.1.bb => gcc_8.2.bb}|  0
>  ...c-initial_8.1.bb => libgcc-initial_8.2.bb} |  0
>  .../gcc/{libgcc_8.1.bb => libgcc_8.2.bb}  |  0
>  ...{libgfortran_8.1.bb => libgfortran_8.2.bb} |  0
>  53 files changed, 5 insertions(+), 67 deletions(-)
>  delete mode 100644
> meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch
>  rename meta/recipes-devtools/gcc/{gcc-8.1.inc => gcc-8.2.inc} (93%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0003-gcc-poison-system-directories.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0004-gcc-poison-dir-extend.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0006-64-bit-multilib-hack.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0007-optional-libstdc.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0008-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0009-COLLECT_GCC_OPTIONS.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0010-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
> (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0011-fortran-cross-compile-hack.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0012-cpp-honor-sysroot.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> gcc-8.2}/0013-MIPS64-Default-to-N64-ABI.patch (100%)
>  rename meta/recipes-devtools/gcc/{gcc-8.1 =>
> 

[OE-core] [PATCH] gcc-8: Upgrade to 8.2 release

2018-07-27 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...003-build-failures-with-with-cpu-xsc.patch | 61 ---
 .../gcc/{gcc-8.1.inc => gcc-8.2.inc}  | 11 ++--
 ...0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch |  0
 .../0003-gcc-poison-system-directories.patch  |  0
 .../0004-gcc-poison-dir-extend.patch  |  0
 ...-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch |  0
 .../0006-64-bit-multilib-hack.patch   |  0
 .../0007-optional-libstdc.patch   |  0
 ...gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch |  0
 .../0009-COLLECT_GCC_OPTIONS.patch|  0
 ...ts.h-in-B-instead-of-S-and-t-oe-in-B.patch |  0
 .../0011-fortran-cross-compile-hack.patch |  0
 .../0012-cpp-honor-sysroot.patch  |  0
 .../0013-MIPS64-Default-to-N64-ABI.patch  |  0
 ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch |  0
 ...gcc-Fix-argument-list-too-long-error.patch |  0
 .../0016-Disable-sdt.patch|  0
 .../{gcc-8.1 => gcc-8.2}/0017-libtool.patch   |  0
 ...s-fix-v4bx-to-linker-to-support-EABI.patch |  0
 ...-config-files-from-B-instead-of-usin.patch |  0
 ...ir-from-.la-which-usually-points-to-.patch |  0
 .../0021-export-CPP.patch |  0
 ...ILIB_OSDIRNAMES-and-other-multilib-o.patch |  0
 ...e-target-gcc-headers-can-be-included.patch |  0
 ...ild-with-disable-dependency-tracking.patch |  0
 ...t-directory-during-relink-if-inst_pr.patch |  0
 ...IR-replacement-instead-of-hardcoding.patch |  0
 ...27-aarch64-Add-support-for-musl-ldso.patch |  0
 ...-fix-libcc1-s-install-path-and-rpath.patch |  0
 ...le-sysroot-support-for-nativesdk-gcc.patch |  0
 ...sroot-gcc-version-specific-dirs-with.patch |  0
 ...ous-_FOR_BUILD-and-related-variables.patch |  0
 ...032-nios2-Define-MUSL_DYNAMIC_LINKER.patch |  0
 ...d-to-link-commandline-for-musl-targe.patch |  0
 ...bgcc-Add-knob-to-use-ldbl-128-on-ppc.patch |  0
 ...using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch |  0
 ...as-for-__cpu_indicator_init-instead-.patch |  0
 .../0037-sync-gcc-stddef.h-with-musl.patch|  0
 ...-fault-in-precompiled-header-generat.patch |  0
 .../0039-Fix-for-testsuite-failure.patch  |  0
 ...Re-introduce-spe-commandline-options.patch |  0
 ...adian_8.1.bb => gcc-cross-canadian_8.2.bb} |  0
 ...nitial_8.1.bb => gcc-cross-initial_8.2.bb} |  0
 .../{gcc-cross_8.1.bb => gcc-cross_8.2.bb}|  0
 ...ial_8.1.bb => gcc-crosssdk-initial_8.2.bb} |  0
 ...cc-crosssdk_8.1.bb => gcc-crosssdk_8.2.bb} |  0
 ...{gcc-runtime_8.1.bb => gcc-runtime_8.2.bb} |  0
 ...anitizers_8.1.bb => gcc-sanitizers_8.2.bb} |  0
 .../{gcc-source_8.1.bb => gcc-source_8.2.bb}  |  0
 .../gcc/{gcc_8.1.bb => gcc_8.2.bb}|  0
 ...c-initial_8.1.bb => libgcc-initial_8.2.bb} |  0
 .../gcc/{libgcc_8.1.bb => libgcc_8.2.bb}  |  0
 ...{libgfortran_8.1.bb => libgfortran_8.2.bb} |  0
 53 files changed, 5 insertions(+), 67 deletions(-)
 delete mode 100644 
meta/recipes-devtools/gcc/gcc-8.1/0041-arm-PR-target-86003-build-failures-with-with-cpu-xsc.patch
 rename meta/recipes-devtools/gcc/{gcc-8.1.inc => gcc-8.2.inc} (93%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0003-gcc-poison-system-directories.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0004-gcc-poison-dir-extend.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0005-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0006-64-bit-multilib-hack.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0007-optional-libstdc.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0008-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0009-COLLECT_GCC_OPTIONS.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0010-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0011-fortran-cross-compile-hack.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0012-cpp-honor-sysroot.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0013-MIPS64-Default-to-N64-ABI.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0014-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0015-gcc-Fix-argument-list-too-long-error.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => gcc-8.2}/0016-Disable-sdt.patch 
(100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => gcc-8.2}/0017-libtool.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0018-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 => 
gcc-8.2}/0019-Use-the-multilib-config-files-from-B-instead-of-usin.patch (100%)
 rename meta/recipes-devtools/gcc/{gcc-8.1 =>