summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-14 22:42:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-17 00:21:14 +0100
commitc6b7d0907a26f2193e93eba36978414f82470cfc (patch)
tree6a0924c98f2590075ef522eca7d5c472fa0af399 /meta/recipes-devtools
parent91572dc5870f0e216d10bf4e365b96baa80de77a (diff)
downloadpoky-c6b7d0907a26f2193e93eba36978414f82470cfc.tar.gz
gcc: Upgrade to 7.2.0 release
Drop upstreamed patches (From OE-Core rev: dbf718d1baef64ee01431c4134b492cf94bcb4b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch81
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch149
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2.inc (renamed from meta/recipes-devtools/gcc/gcc-7.1.inc)14
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0008-c99-snprintf.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0009-gcc-poison-system-directories.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0010-gcc-poison-dir-extend.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0012-64-bit-multilib-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0013-optional-libstdc.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0015-COLLECT_GCC_OPTIONS.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0017-fortran-cross-compile-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0018-cpp-honor-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0019-MIPS64-Default-to-N64-ABI.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0021-gcc-Fix-argument-list-too-long-error.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0022-Disable-sdt.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0023-libtool.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0027-export-CPP.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0030-Ensure-target-gcc-headers-can-be-included.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0034-aarch64-Add-support-for-musl-ldso.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0036-handle-sysroot-support-for-nativesdk-gcc.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0038-Fix-various-_FOR_BUILD-and-related-variables.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0047-sync-gcc-stddef.h-with-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.2/fix-segmentation-fault-precompiled-hdr.patch (renamed from meta/recipes-devtools/gcc/gcc-7.1/fix-segmentation-fault-precompiled-hdr.patch)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc-source_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc_7.2.bb (renamed from meta/recipes-devtools/gcc/gcc_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_7.2.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc_7.2.bb (renamed from meta/recipes-devtools/gcc/libgcc_7.1.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_7.2.bb (renamed from meta/recipes-devtools/gcc/libgfortran_7.1.bb)0
58 files changed, 6 insertions, 238 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch b/meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
deleted file mode 100644
index 165258b5d3..0000000000
--- a/meta/recipes-devtools/gcc/gcc-7.1/0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch
+++ /dev/null
@@ -1,81 +0,0 @@
1From 4c07606bb77bbd30f02adb947d480516da3fa3f7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 11 Jun 2017 10:09:13 -0700
4Subject: [PATCH] libsanitizer: Use stack_t instead of struct sigaltstack
5
6https://reviews.llvm.org/D35246
7
8Upstream-Status: Submitted
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 libsanitizer/sanitizer_common/sanitizer_linux.cc | 4 ++--
13 libsanitizer/sanitizer_common/sanitizer_linux.h | 6 +++---
14 .../sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 3 ++-
15 3 files changed, 7 insertions(+), 6 deletions(-)
16
17
18Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.h
19===================================================================
20--- gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.h
21+++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.h
22@@ -21,17 +21,15 @@
23 #include "sanitizer_platform_limits_posix.h"
24
25 struct link_map; // Opaque type returned by dlopen().
26-struct sigaltstack;
27
28 namespace __sanitizer {
29 // Dirent structure for getdents(). Note that this structure is different from
30 // the one in <dirent.h>, which is used by readdir().
31 struct linux_dirent;
32
33 // Syscall wrappers.
34 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
35-uptr internal_sigaltstack(const struct sigaltstack* ss,
36- struct sigaltstack* oss);
37+uptr internal_sigaltstack(const void* ss, void* oss);
38 uptr internal_sigprocmask(int how, __sanitizer_sigset_t *set,
39 __sanitizer_sigset_t *oldset);
40
41Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc
42===================================================================
43--- gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc
44+++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc
45@@ -631,8 +631,7 @@
46 }
47 #endif
48
49-uptr internal_sigaltstack(const struct sigaltstack *ss,
50- struct sigaltstack *oss) {
51+uptr internal_sigaltstack(const void *ss, void *oss) {
52 return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
53 }
54
55Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
56===================================================================
57--- gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
58+++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
59@@ -287,7 +287,7 @@
60
61 // Alternate stack for signal handling.
62 InternalScopedBuffer<char> handler_stack_memory(kHandlerStackSize);
63- struct sigaltstack handler_stack;
64+ stack_t handler_stack;
65 internal_memset(&handler_stack, 0, sizeof(handler_stack));
66 handler_stack.ss_sp = handler_stack_memory.data();
67 handler_stack.ss_size = kHandlerStackSize;
68Index: gcc-7.1.0/libsanitizer/tsan/tsan_platform_linux.cc
69===================================================================
70--- gcc-7.1.0/libsanitizer/tsan/tsan_platform_linux.cc
71+++ gcc-7.1.0/libsanitizer/tsan/tsan_platform_linux.cc
72@@ -288,7 +288,7 @@
73 int ExtractResolvFDs(void *state, int *fds, int nfd) {
74 #if SANITIZER_LINUX && !SANITIZER_ANDROID
75 int cnt = 0;
76- __res_state *statp = (__res_state*)state;
77+ struct __res_state *statp = (struct __res_state*)state;
78 for (int i = 0; i < MAXNS && cnt < nfd; i++) {
79 if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1)
80 fds[cnt++] = statp->_u._ext.nssocks[i];
81
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch b/meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
deleted file mode 100644
index e814992e44..0000000000
--- a/meta/recipes-devtools/gcc/gcc-7.1/0050-replace-struct-ucontext-with-ucontext_t.patch
+++ /dev/null
@@ -1,149 +0,0 @@
1From 7b3cb36ab07d0c36b500bb5d0548b190d4b5a9f6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 28 Jun 2017 00:25:57 -0700
4Subject: [PATCH 50/50] replace struct ucontext with ucontext_t
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 libgcc/config/aarch64/linux-unwind.h | 2 +-
11 libgcc/config/alpha/linux-unwind.h | 2 +-
12 libgcc/config/bfin/linux-unwind.h | 2 +-
13 libgcc/config/i386/linux-unwind.h | 4 ++--
14 libgcc/config/pa/linux-unwind.h | 2 +-
15 libgcc/config/riscv/linux-unwind.h | 2 +-
16 libgcc/config/sh/linux-unwind.h | 2 +-
17 libgcc/config/tilepro/linux-unwind.h | 2 +-
18 libgcc/config/xtensa/linux-unwind.h | 2 +-
19 9 files changed, 10 insertions(+), 10 deletions(-)
20
21diff --git a/libgcc/config/aarch64/linux-unwind.h b/libgcc/config/aarch64/linux-unwind.h
22index d5d6980442f..d46d5f53be3 100644
23--- a/libgcc/config/aarch64/linux-unwind.h
24+++ b/libgcc/config/aarch64/linux-unwind.h
25@@ -55,7 +55,7 @@ aarch64_fallback_frame_state (struct _Unwind_Context *context,
26 struct rt_sigframe
27 {
28 siginfo_t info;
29- struct ucontext uc;
30+ ucontext_t uc;
31 };
32
33 struct rt_sigframe *rt_;
34diff --git a/libgcc/config/alpha/linux-unwind.h b/libgcc/config/alpha/linux-unwind.h
35index a91a5f4fe26..7202516581d 100644
36--- a/libgcc/config/alpha/linux-unwind.h
37+++ b/libgcc/config/alpha/linux-unwind.h
38@@ -51,7 +51,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
39 {
40 struct rt_sigframe {
41 siginfo_t info;
42- struct ucontext uc;
43+ ucontext_t uc;
44 } *rt_ = context->cfa;
45 sc = &rt_->uc.uc_mcontext;
46 }
47diff --git a/libgcc/config/bfin/linux-unwind.h b/libgcc/config/bfin/linux-unwind.h
48index 9412c7652b8..37e9feb6965 100644
49--- a/libgcc/config/bfin/linux-unwind.h
50+++ b/libgcc/config/bfin/linux-unwind.h
51@@ -52,7 +52,7 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
52 void *puc;
53 char retcode[8];
54 siginfo_t info;
55- struct ucontext uc;
56+ ucontext_t uc;
57 } *rt_ = context->cfa;
58
59 /* The void * cast is necessary to avoid an aliasing warning.
60diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h
61index b1d5040a687..2009ad72260 100644
62--- a/libgcc/config/i386/linux-unwind.h
63+++ b/libgcc/config/i386/linux-unwind.h
64@@ -58,7 +58,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
65 if (*(unsigned char *)(pc+0) == 0x48
66 && *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)
67 {
68- struct ucontext *uc_ = context->cfa;
69+ ucontext_t *uc_ = context->cfa;
70 /* The void * cast is necessary to avoid an aliasing warning.
71 The aliasing warning is correct, but should not be a problem
72 because it does not alias anything. */
73@@ -138,7 +138,7 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
74 siginfo_t *pinfo;
75 void *puc;
76 siginfo_t info;
77- struct ucontext uc;
78+ ucontext_t uc;
79 } *rt_ = context->cfa;
80 /* The void * cast is necessary to avoid an aliasing warning.
81 The aliasing warning is correct, but should not be a problem
82diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h
83index 580c18dad69..c2c3409bcc1 100644
84--- a/libgcc/config/pa/linux-unwind.h
85+++ b/libgcc/config/pa/linux-unwind.h
86@@ -80,7 +80,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
87 struct sigcontext *sc;
88 struct rt_sigframe {
89 siginfo_t info;
90- struct ucontext uc;
91+ ucontext_t uc;
92 } *frame;
93
94 /* rt_sigreturn trampoline:
95diff --git a/libgcc/config/riscv/linux-unwind.h b/libgcc/config/riscv/linux-unwind.h
96index a051a2869d4..1c8aeff7ef0 100644
97--- a/libgcc/config/riscv/linux-unwind.h
98+++ b/libgcc/config/riscv/linux-unwind.h
99@@ -42,7 +42,7 @@ riscv_fallback_frame_state (struct _Unwind_Context *context,
100 struct rt_sigframe
101 {
102 siginfo_t info;
103- struct ucontext uc;
104+ ucontext_t uc;
105 };
106
107 struct rt_sigframe *rt_;
108diff --git a/libgcc/config/sh/linux-unwind.h b/libgcc/config/sh/linux-unwind.h
109index 1038caeb5c3..a8c98220282 100644
110--- a/libgcc/config/sh/linux-unwind.h
111+++ b/libgcc/config/sh/linux-unwind.h
112@@ -82,7 +82,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
113 {
114 struct rt_sigframe {
115 siginfo_t info;
116- struct ucontext uc;
117+ ucontext_t uc;
118 } *rt_ = context->cfa;
119 /* The void * cast is necessary to avoid an aliasing warning.
120 The aliasing warning is correct, but should not be a problem
121diff --git a/libgcc/config/tilepro/linux-unwind.h b/libgcc/config/tilepro/linux-unwind.h
122index a8dc4405715..dba3b410279 100644
123--- a/libgcc/config/tilepro/linux-unwind.h
124+++ b/libgcc/config/tilepro/linux-unwind.h
125@@ -61,7 +61,7 @@ tile_fallback_frame_state (struct _Unwind_Context *context,
126 struct rt_sigframe {
127 unsigned char save_area[C_ABI_SAVE_AREA_SIZE];
128 siginfo_t info;
129- struct ucontext uc;
130+ ucontext_t uc;
131 } *rt_;
132
133 /* Return if this is not a signal handler. */
134diff --git a/libgcc/config/xtensa/linux-unwind.h b/libgcc/config/xtensa/linux-unwind.h
135index 67c272820d0..b37b8b31bbf 100644
136--- a/libgcc/config/xtensa/linux-unwind.h
137+++ b/libgcc/config/xtensa/linux-unwind.h
138@@ -67,7 +67,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
139
140 struct rt_sigframe {
141 siginfo_t info;
142- struct ucontext uc;
143+ struct ucontext_t uc;
144 } *rt_;
145
146 /* movi a2, __NR_rt_sigreturn; syscall */
147--
1482.13.2
149
diff --git a/meta/recipes-devtools/gcc/gcc-7.1.inc b/meta/recipes-devtools/gcc/gcc-7.2.inc
index 2d9ca82de9..796e6b1eef 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-7.2.inc
@@ -2,13 +2,13 @@ require gcc-common.inc
2 2
3# Third digit in PV should be incremented after a minor release 3# Third digit in PV should be incremented after a minor release
4 4
5PV = "7.1.0" 5PV = "7.2.0"
6 6
7# BINV should be incremented to a revision after a minor gcc release 7# BINV should be incremented to a revision after a minor gcc release
8 8
9BINV = "7.1.0" 9BINV = "7.2.0"
10 10
11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-7.1:${FILE_DIRNAME}/gcc-7.1/backport:" 11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-7.2:${FILE_DIRNAME}/gcc-7.2/backport:"
12 12
13DEPENDS =+ "mpfr gmp libmpc zlib" 13DEPENDS =+ "mpfr gmp libmpc zlib"
14NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" 14NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
@@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\
24" 24"
25 25
26#RELEASE = "7-20170504" 26#RELEASE = "7-20170504"
27BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" 27BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
28#SRCREV = "f7cf798b73fd1a07098f9a490deec1e2a36e0bed" 28#SRCREV = "f7cf798b73fd1a07098f9a490deec1e2a36e0bed"
29#BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" 29#BASEURI ?= "git://github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git"
30#BASEURI ?= "http://mirrors.concertpass.com/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.bz2" 30#BASEURI ?= "http://mirrors.concertpass.com/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.bz2"
@@ -73,15 +73,13 @@ SRC_URI = "\
73 file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ 73 file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \
74 file://0047-sync-gcc-stddef.h-with-musl.patch \ 74 file://0047-sync-gcc-stddef.h-with-musl.patch \
75 file://0048-gcc-Enable-static-PIE.patch \ 75 file://0048-gcc-Enable-static-PIE.patch \
76 file://0049-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch \
77 file://0050-replace-struct-ucontext-with-ucontext_t.patch \
78 file://fix-segmentation-fault-precompiled-hdr.patch \ 76 file://fix-segmentation-fault-precompiled-hdr.patch \
79 ${BACKPORTS} \ 77 ${BACKPORTS} \
80" 78"
81BACKPORTS = "\ 79BACKPORTS = "\
82" 80"
83SRC_URI[md5sum] = "6bf56a2bca9dac9dbbf8e8d1036964a8" 81SRC_URI[md5sum] = "ff370482573133a7fcdd96cd2f552292"
84SRC_URI[sha256sum] = "8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17" 82SRC_URI[sha256sum] = "1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a"
85 83
86S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" 84S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
87#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git" 85#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git"
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-7.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
index 1af1c74e61..1af1c74e61 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch b/meta/recipes-devtools/gcc/gcc-7.2/0008-c99-snprintf.patch
index ebd562b63f..ebd562b63f 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0008-c99-snprintf.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0008-c99-snprintf.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-7.2/0009-gcc-poison-system-directories.patch
index 4d4e987ca5..4d4e987ca5 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0009-gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0009-gcc-poison-system-directories.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch b/meta/recipes-devtools/gcc/gcc-7.2/0010-gcc-poison-dir-extend.patch
index 4e06aa2f6a..4e06aa2f6a 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0010-gcc-poison-dir-extend.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0010-gcc-poison-dir-extend.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-7.2/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
index b39ff1ec22..b39ff1ec22 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0011-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-7.2/0012-64-bit-multilib-hack.patch
index f3b39120b7..f3b39120b7 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0012-64-bit-multilib-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0012-64-bit-multilib-hack.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc-7.2/0013-optional-libstdc.patch
index 3439bf67d0..3439bf67d0 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0013-optional-libstdc.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0013-optional-libstdc.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-7.2/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
index f92b5fbaaf..f92b5fbaaf 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0014-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc-7.2/0015-COLLECT_GCC_OPTIONS.patch
index 6e62945e55..6e62945e55 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0015-COLLECT_GCC_OPTIONS.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0015-COLLECT_GCC_OPTIONS.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc-7.2/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
index 1991251c27..1991251c27 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0016-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc-7.2/0017-fortran-cross-compile-hack.patch
index e2830c59d0..e2830c59d0 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0017-fortran-cross-compile-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0017-fortran-cross-compile-hack.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc-7.2/0018-cpp-honor-sysroot.patch
index 555907417a..555907417a 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0018-cpp-honor-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0018-cpp-honor-sysroot.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc-7.2/0019-MIPS64-Default-to-N64-ABI.patch
index 742a4012a5..742a4012a5 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0019-MIPS64-Default-to-N64-ABI.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0019-MIPS64-Default-to-N64-ABI.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc-7.2/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index de7b4df572..de7b4df572 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0020-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-7.2/0021-gcc-Fix-argument-list-too-long-error.patch
index 4e562144e3..4e562144e3 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0021-gcc-Fix-argument-list-too-long-error.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0021-gcc-Fix-argument-list-too-long-error.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc-7.2/0022-Disable-sdt.patch
index 871f195c94..871f195c94 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0022-Disable-sdt.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0022-Disable-sdt.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch b/meta/recipes-devtools/gcc/gcc-7.2/0023-libtool.patch
index 27dfb1fdd1..27dfb1fdd1 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0023-libtool.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0023-libtool.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc-7.2/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
index aa1e1bb8b1..aa1e1bb8b1 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0024-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc-7.2/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch
index b234132317..b234132317 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0025-Use-the-multilib-config-files-from-B-instead-of-usin.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc-7.2/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
index fe24713474..fe24713474 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0026-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch b/meta/recipes-devtools/gcc/gcc-7.2/0027-export-CPP.patch
index 4f9e1f0b2e..4f9e1f0b2e 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0027-export-CPP.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0027-export-CPP.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch b/meta/recipes-devtools/gcc/gcc-7.2/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
index b903349d5d..b903349d5d 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0028-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch b/meta/recipes-devtools/gcc/gcc-7.2/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
index 7306a282b5..7306a282b5 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0029-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc-7.2/0030-Ensure-target-gcc-headers-can-be-included.patch
index 568ba95ea6..568ba95ea6 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0030-Ensure-target-gcc-headers-can-be-included.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0030-Ensure-target-gcc-headers-can-be-included.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch b/meta/recipes-devtools/gcc/gcc-7.2/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
index 0184010f04..0184010f04 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0031-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc-7.2/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch
index e8905f5255..e8905f5255 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0032-Don-t-search-host-directory-during-relink-if-inst_pr.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc-7.2/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
index c0b8df3e71..c0b8df3e71 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0033-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc-7.2/0034-aarch64-Add-support-for-musl-ldso.patch
index 7d866d9064..7d866d9064 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0034-aarch64-Add-support-for-musl-ldso.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0034-aarch64-Add-support-for-musl-ldso.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc-7.2/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch
index e2c1956d1d..e2c1956d1d 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0035-libcc1-fix-libcc1-s-install-path-and-rpath.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc-7.2/0036-handle-sysroot-support-for-nativesdk-gcc.patch
index aa0b108275..aa0b108275 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0036-handle-sysroot-support-for-nativesdk-gcc.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0036-handle-sysroot-support-for-nativesdk-gcc.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc-7.2/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch
index 6c85a03f44..6c85a03f44 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0037-Search-target-sysroot-gcc-version-specific-dirs-with.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch b/meta/recipes-devtools/gcc/gcc-7.2/0038-Fix-various-_FOR_BUILD-and-related-variables.patch
index a226d10d06..a226d10d06 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0038-Fix-various-_FOR_BUILD-and-related-variables.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0038-Fix-various-_FOR_BUILD-and-related-variables.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch b/meta/recipes-devtools/gcc/gcc-7.2/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch
index a7aeccdf03..a7aeccdf03 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0039-nios2-Define-MUSL_DYNAMIC_LINKER.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc-7.2/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
index 29b7ce72d2..29b7ce72d2 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0040-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch b/meta/recipes-devtools/gcc/gcc-7.2/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch
index 5260e363d2..5260e363d2 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0041-gcc-libcpp-support-ffile-prefix-map-old-new.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch b/meta/recipes-devtools/gcc/gcc-7.2/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch
index 524716790f..524716790f 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0042-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch b/meta/recipes-devtools/gcc/gcc-7.2/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch
index 74a5c86446..74a5c86446 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0043-gcc-final.c-fdebug-prefix-map-support-to-remap-sourc.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch b/meta/recipes-devtools/gcc/gcc-7.2/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
index e39af9b1aa..e39af9b1aa 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0044-libgcc-Add-knob-to-use-ldbl-128-on-ppc.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc-7.2/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
index 3aa038c913..3aa038c913 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc-7.2/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
index f6b2829364..f6b2829364 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch b/meta/recipes-devtools/gcc/gcc-7.2/0047-sync-gcc-stddef.h-with-musl.patch
index 65d22f169c..65d22f169c 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0047-sync-gcc-stddef.h-with-musl.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0047-sync-gcc-stddef.h-with-musl.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch b/meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch
index 879e360cf3..879e360cf3 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/0048-gcc-Enable-static-PIE.patch
diff --git a/meta/recipes-devtools/gcc/gcc-7.1/fix-segmentation-fault-precompiled-hdr.patch b/meta/recipes-devtools/gcc/gcc-7.2/fix-segmentation-fault-precompiled-hdr.patch
index c0adef6f2f..c0adef6f2f 100644
--- a/meta/recipes-devtools/gcc/gcc-7.1/fix-segmentation-fault-precompiled-hdr.patch
+++ b/meta/recipes-devtools/gcc/gcc-7.2/fix-segmentation-fault-precompiled-hdr.patch
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_7.2.bb
index bf53c5cd78..bf53c5cd78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_7.2.bb
index 4c73e5ce61..4c73e5ce61 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross_7.1.bb b/meta/recipes-devtools/gcc/gcc-cross_7.2.bb
index b43cca0c52..b43cca0c52 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.2.bb
index fd90e1140f..fd90e1140f 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_7.2.bb
index 40a6c4feff..40a6c4feff 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_7.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_7.2.bb
index 8f31e7792e..8f31e7792e 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_7.2.bb
index 601f666023..601f666023 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc-source_7.1.bb b/meta/recipes-devtools/gcc/gcc-source_7.2.bb
index b890fa33ea..b890fa33ea 100644
--- a/meta/recipes-devtools/gcc/gcc-source_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-source_7.2.bb
diff --git a/meta/recipes-devtools/gcc/gcc_7.1.bb b/meta/recipes-devtools/gcc/gcc_7.2.bb
index ab208e7026..ab208e7026 100644
--- a/meta/recipes-devtools/gcc/gcc_7.1.bb
+++ b/meta/recipes-devtools/gcc/gcc_7.2.bb
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_7.1.bb b/meta/recipes-devtools/gcc/libgcc-initial_7.2.bb
index 19f253fce8..19f253fce8 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_7.1.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_7.2.bb
diff --git a/meta/recipes-devtools/gcc/libgcc_7.1.bb b/meta/recipes-devtools/gcc/libgcc_7.2.bb
index a5152f28e9..a5152f28e9 100644
--- a/meta/recipes-devtools/gcc/libgcc_7.1.bb
+++ b/meta/recipes-devtools/gcc/libgcc_7.2.bb
diff --git a/meta/recipes-devtools/gcc/libgfortran_7.1.bb b/meta/recipes-devtools/gcc/libgfortran_7.2.bb
index 71dd8b4bdc..71dd8b4bdc 100644
--- a/meta/recipes-devtools/gcc/libgfortran_7.1.bb
+++ b/meta/recipes-devtools/gcc/libgfortran_7.2.bb