diff options
| author | Khem Raj <raj.khem@gmail.com> | 2015-12-14 06:23:08 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:08:42 +0000 |
| commit | 8b664a7d6bba89a8221d7fd1a52915fef0002d71 (patch) | |
| tree | 102d164a58bdf57a43951415cf0974afeec625a7 /meta/recipes-devtools | |
| parent | 2a1edfd9cfa16ec334c0758b47677d4fee5e79a8 (diff) | |
| download | openembedded-core-8b664a7d6bba89a8221d7fd1a52915fef0002d71.tar.gz openembedded-core-8b664a7d6bba89a8221d7fd1a52915fef0002d71.tar.bz2 openembedded-core-8b664a7d6bba89a8221d7fd1a52915fef0002d71.zip | |
gcc5: Upgrade gcc-5.2 -> gcc-5.3
Minor bugfix upgrade to gcc 5.3 for detailed list of fixes in 5.3 see
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=132738&resolution=FIXED&target_milestone=5.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch | 173 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.2/0043-fix-arm-thumb.patch | 39 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch | 22 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3.inc (renamed from meta/recipes-devtools/gcc/gcc-5.2.inc) | 31 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0002-uclibc-conf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0002-uclibc-conf.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0003-gcc-uclibc-locale-ctype_touplow_t.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0003-gcc-uclibc-locale-ctype_touplow_t.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0004-uclibc-locale.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0004-uclibc-locale.patch) | 18 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0005-uclibc-locale-no__x.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0005-uclibc-locale-no__x.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0006-uclibc-locale-wchar_fix.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0006-uclibc-locale-wchar_fix.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0007-uclibc-locale-update.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0007-uclibc-locale-update.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0008-missing-execinfo_h.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0008-missing-execinfo_h.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0009-c99-snprintf.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0009-c99-snprintf.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0010-gcc-poison-system-directories.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0010-gcc-poison-system-directories.patch) | 26 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0011-gcc-poison-dir-extend.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0011-gcc-poison-dir-extend.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch) | 8 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0013-64-bit-multilib-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0014-optional-libstdc.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0014-optional-libstdc.patch) | 12 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch) | 14 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0016-COLLECT_GCC_OPTIONS.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0016-COLLECT_GCC_OPTIONS.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch) | 14 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0018-fortran-cross-compile-hack.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0018-fortran-cross-compile-hack.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0019-libgcc-sjlj-check.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0019-libgcc-sjlj-check.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0020-cpp-honor-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0020-cpp-honor-sysroot.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0021-MIPS64-Default-to-N64-ABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0021-MIPS64-Default-to-N64-ABI.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch) | 8 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0023-gcc-Fix-argument-list-too-long-error.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0023-gcc-Fix-argument-list-too-long-error.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0024-Disable-sdt.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0024-Disable-sdt.patch) | 22 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0025-libtool.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0025-libtool.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch) | 14 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0029-export-CPP.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0029-export-CPP.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0032-Ensure-target-gcc-headers-can-be-included.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0032-Ensure-target-gcc-headers-can-be-included.patch) | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0035-Dont-link-the-plugins-with-libgomp-explicitly.patch) | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch) | 8 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0037-aarch64-Add-support-for-musl-ldso.patch | 26 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0038-fix-g-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0038-fix-g++-sysroot.patch) | 32 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch) | 11 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0040-handle-sysroot-support-for-nativesdk-gcc.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0040-nativesdk-gcc-support.patch) | 21 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0041-Search-target-sysroot-gcc-version-specific-dirs-with.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0041-handle-target-sysroot-multilib.patch) | 38 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0042-Fix-various-_FOR_BUILD-and-related-variables.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0042-cxxflags-for-build.patch) | 24 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0043-libstdc-Support-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0043-libstdc-musl.patch) | 22 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0044-gcc-musl-support.patch) | 149 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0045-Support-for-arm-linux-musl.patch (renamed from meta/recipes-devtools/gcc/gcc-5.2/0045-musl-dynamic-linker.patch) | 146 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-initial_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk-initial_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-crosssdk_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-source_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc-source_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc_5.3.bb (renamed from meta/recipes-devtools/gcc/gcc_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial_5.3.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgcc_5.3.bb (renamed from meta/recipes-devtools/gcc/libgcc_5.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/libgfortran_5.3.bb (renamed from meta/recipes-devtools/gcc/libgfortran_5.2.bb) | 0 |
63 files changed, 502 insertions, 592 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch b/meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch deleted file mode 100644 index 1424673df8..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.2/0037-pr65779.patch +++ /dev/null @@ -1,173 +0,0 @@ -List-Id: <gcc-patches.gcc.gnu.org> -List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> -List-Post: <mailto:gcc-patches at gcc dot gnu dot org> -List-Help: <mailto:gcc-patches-help at gcc dot gnu dot org> -Date: Mon, 20 Apr 2015 12:40:49 +0930 -From: Alan Modra <amodra at gmail dot com> -To: gcc-patches at gcc dot gnu dot org -Subject: [Patch] pr65779 - [5/6 Regression] undefined local symbol on powerpc - -This patch removes bogus debug info left around by shrink-wrapping, -which on some powerpc targets with just the right register allocation -led to assembly errors. - -Bootstrapped and regression tested powerpc64-linux and x86_64-linux. - -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779 - -gcc/ - PR debug/65779 - * shrink-wrap.c (insn_uses_reg): New function. - (move_insn_for_shrink_wrap): Remove debug insns using regs set - by the moved insn. -gcc/testsuite/ - * gcc.dg/pr65779.c: New. - -Upstream-Status: Pending (from mailing list, not merged yet) - -Index: a/gcc/shrink-wrap.c -=================================================================== ---- a/gcc/shrink-wrap.c.orig -+++ b/gcc/shrink-wrap.c -@@ -182,6 +182,21 @@ live_edge_for_reg (basic_block bb, int r - return live_edge; - } - -+static bool -+insn_uses_reg (rtx_insn *insn, unsigned int regno, unsigned int end_regno) -+{ -+ df_ref use; -+ -+ FOR_EACH_INSN_USE (use, insn) -+ { -+ rtx reg = DF_REF_REG (use); -+ -+ if (REG_P (reg) && REGNO (reg) >= regno && REGNO (reg) < end_regno) -+ return true; -+ } -+ return false; -+} -+ - /* Try to move INSN from BB to a successor. Return true on success. - USES and DEFS are the set of registers that are used and defined - after INSN in BB. SPLIT_P indicates whether a live edge from BB -@@ -340,10 +355,15 @@ move_insn_for_shrink_wrap (basic_block b - *split_p = true; - } - -+ vec<basic_block> live_bbs; -+ if (MAY_HAVE_DEBUG_INSNS) -+ live_bbs.create (5); - /* At this point we are committed to moving INSN, but let's try to - move it as far as we can. */ - do - { -+ if (MAY_HAVE_DEBUG_INSNS) -+ live_bbs.safe_push (bb); - live_out = df_get_live_out (bb); - live_in = df_get_live_in (next_block); - bb = next_block; -@@ -426,6 +446,34 @@ move_insn_for_shrink_wrap (basic_block b - SET_REGNO_REG_SET (bb_uses, i); - } - -+ /* Remove debug insns using regs set by the insn we are moving. */ -+ if (MAY_HAVE_DEBUG_INSNS) -+ { -+ while (!live_bbs.is_empty ()) -+ { -+ rtx_insn *dinsn; -+ basic_block tmp_bb = live_bbs.pop (); -+ -+ FOR_BB_INSNS_REVERSE (tmp_bb, dinsn) -+ { -+ if (dinsn == insn) -+ break; -+ if (DEBUG_INSN_P (dinsn) -+ && insn_uses_reg (dinsn, dregno, end_dregno)) -+ { -+ if (*split_p) -+ /* If split, then we will be moving insn into a -+ newly created block immediately after the entry -+ block. Move the debug info there too. */ -+ emit_debug_insn_after (PATTERN (dinsn), bb_note (bb)); -+ delete_insn (dinsn); -+ break; -+ } -+ } -+ } -+ live_bbs.release (); -+ } -+ - emit_insn_after (PATTERN (insn), bb_note (bb)); - delete_insn (insn); - return true; -Index: b/gcc/testsuite/gcc.dg/pr65779.c -=================================================================== ---- /dev/null -+++ b/gcc/testsuite/gcc.dg/pr65779.c -@@ -0,0 +1,64 @@ -+/* { dg-do run } */ -+/* { dg-options "-O2 -g" } */ -+/* { dg-additional-options "-mrelocatable" { target powerpc-*-rtems* } } */ -+ -+unsigned long __attribute__ ((noinline)) -+adler32 (unsigned long adler, unsigned char *buf, unsigned int len) -+{ -+ unsigned long s1 = adler & 0xffff; -+ unsigned long s2 = (adler >> 16) & 0xffff; -+ int k; -+ -+ if (buf == 0) -+ return 1L; -+ -+ while (len > 0) -+ { -+ k = len < 5552 ? len : 5552; -+ len -= k; -+ while (k >= 16) -+ { -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ s1 += *buf++; s2 += s1; -+ k -= 16; -+ } -+ if (k != 0) -+ do -+ { -+ s1 += *buf++; s2 += s1; -+ } while (--k); -+ s1 &= 0xffffffffUL; -+ s2 &= 0xffffffffUL; -+ s1 %= 65521L; -+ s2 %= 65521L; -+ } -+ return (s2 << 16) | s1; -+} -+ -+unsigned char buf[] = { 0, 1, 2, 3, 4, 5, 6, 7, -+ 8, 9, 10, 11, 12, 13, 14, 15, -+ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, -+ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, -+ 0x55, 0xaa }; -+int -+main () -+{ -+ unsigned long x = adler32 (0, buf, sizeof buf); -+ if (x != 0x640409efUL) -+ __builtin_abort (); -+ return 0; -+} diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0043-fix-arm-thumb.patch b/meta/recipes-devtools/gcc/gcc-5.2/0043-fix-arm-thumb.patch deleted file mode 100644 index 2f262e3a3a..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.2/0043-fix-arm-thumb.patch +++ /dev/null @@ -1,39 +0,0 @@ -Upstream-Status: Accepted - -Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> ---- - -2015-11-25 Vladimir Makarov <vmakarov@redhat.com> - - PR rtl-optimization/67954 - * lra-constraints.c (curr_insn_transform): Add check on scratch - pseudo when change class to NO_REGS. Add an assert. - - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230894 138bc75d-0d04-0410-961f-82ee72b054a4 ---- - -diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c -index 4670e81..c62bf6a 100644 ---- a/gcc/lra-constraints.c -+++ b/gcc/lra-constraints.c -@@ -3725,7 +3725,8 @@ curr_insn_transform (bool check_only_p) - assigment pass and the scratch pseudo will be - spilled. Spilled scratch pseudos are transformed - back to scratches at the LRA end. */ -- && lra_former_scratch_operand_p (curr_insn, i)) -+ && lra_former_scratch_operand_p (curr_insn, i) -+ && lra_former_scratch_p (REGNO (op))) - { - int regno = REGNO (op); - lra_change_class (regno, NO_REGS, " Change to", true); -@@ -3734,6 +3735,8 @@ curr_insn_transform (bool check_only_p) - spilled pseudo as there is only one such insn, the - current one. */ - reg_renumber[regno] = -1; -+ lra_assert (bitmap_single_bit_set_p -+ (&lra_reg_info[REGNO (op)].insn_bitmap)); - } - /* We can do an optional reload. If the pseudo got a hard - reg, we might improve the code through inheritance. If diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch b/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch deleted file mode 100644 index 05fe52f5f5..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch +++ /dev/null @@ -1,22 +0,0 @@ -# HG changeset patch -# Parent 600a8a422ccaf5627ad1f5a138e7398df2b9e9d8 -Get rid of ever-broken fixincludes on musl. - -Upstream-Status: Pending -Signed-off-by: Khem Raj <raj.khem@gmail.com> - - -Index: gcc-4.9-20140316/fixincludes/mkfixinc.sh -=================================================================== ---- gcc-4.9-20140316.orig/fixincludes/mkfixinc.sh -+++ gcc-4.9-20140316/fixincludes/mkfixinc.sh -@@ -19,7 +19,8 @@ case $machine in - powerpc-*-eabi* | \ - powerpc-*-rtems* | \ - powerpcle-*-eabisim* | \ -- powerpcle-*-eabi* ) -+ powerpcle-*-eabi* | \ -+ *-musl* ) - # IF there is no include fixing, - # THEN create a no-op fixer and exit - (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} diff --git a/meta/recipes-devtools/gcc/gcc-5.2.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index 2ebc675d9d..3ce089325f 100644 --- a/meta/recipes-devtools/gcc/gcc-5.2.inc +++ b/meta/recipes-devtools/gcc/gcc-5.3.inc @@ -2,15 +2,15 @@ require gcc-common.inc # Third digit in PV should be incremented after a minor release -PV = "5.2.0" +PV = "5.3.0" #SNAP = "5-20150405" # BINV should be incremented to a revision after a minor gcc release -BINV = "5.2.0" +BINV = "5.3.0" -FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.2:${FILE_DIRNAME}/gcc-5.2/backport:" +FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.3:${FILE_DIRNAME}/gcc-5.3/backport:" DEPENDS =+ "mpfr gmp libmpc zlib" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" @@ -26,8 +26,6 @@ LIC_FILES_CHKSUM = "\ " #BASEURI = "http://www.netgull.com/gcc/snapshots/${SNAP}/gcc-${SNAP}.tar.bz2" BASEURI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" -SRC_URI[md5sum] = "a51bcfeb3da7dd4c623e27207ed43467" -SRC_URI[sha256sum] = "5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad" SRC_URI = "\ ${BASEURI} \ @@ -68,20 +66,23 @@ SRC_URI = "\ file://0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch \ file://0035-Dont-link-the-plugins-with-libgomp-explicitly.patch \ file://0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \ - file://0037-pr65779.patch \ - file://0038-fix-g++-sysroot.patch \ + file://0037-aarch64-Add-support-for-musl-ldso.patch \ + file://0038-fix-g-sysroot.patch \ file://0039-libcc1-fix-libcc1-s-install-path-and-rpath.patch \ - file://0040-nativesdk-gcc-support.patch \ - file://0041-handle-target-sysroot-multilib.patch \ - file://0042-cxxflags-for-build.patch \ - file://0043-fix-arm-thumb.patch \ - file://0043-libstdc-musl.patch \ - file://0044-gcc-musl-support.patch \ - file://0045-musl-dynamic-linker.patch \ - file://0046-musl-no-fixincludes.patch \ + file://0040-handle-sysroot-support-for-nativesdk-gcc.patch \ + file://0041-Search-target-sysroot-gcc-version-specific-dirs-with.patch \ + file://0042-Fix-various-_FOR_BUILD-and-related-variables.patch \ + file://0043-libstdc-Support-musl.patch \ + file://0044-Adding-mmusl-as-a-musl-libc-specifier-and-the-necess.patch \ + file://0045-Support-for-arm-linux-musl.patch \ + file://0046-Get-rid-of-ever-broken-fixincludes-on-musl.patch \ " BACKPORTS = "" + +SRC_URI[md5sum] = "c9616fd448f980259c31de613e575719" +SRC_URI[sha256sum] = "b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db" + #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}" S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc-5.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch index 2c766f425d..1aead9691a 100644 --- a/meta/recipes-devtools/gcc/gcc-5.2/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch +++ b/meta/recipes-devtools/gcc/gcc-5.3/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch @@ -1,7 +1,7 @@ -From a0fee0cee3d4bd4aab1e3a8e04446f99d918c4ff Mon Sep 17 00:00:00 2001 +From 6029bb338305a5d1403ee23427ed8d58eae1ff53 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Fri, 29 Mar 2013 08:37:11 +0400 -Subject: [PATCH 01/35] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET +Subject: [PATCH 01/46] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET Signed-off-by: Khem Raj <raj.khem@gmail.com> @@ -12,7 +12,7 @@ Upstream-Status: Inappropriate [embedded specific] 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure -index 7616f88..50e7cbc 100755 +index a3f66ba..1cba3a9 100755 --- a/configure +++ b/configure @@ -7464,7 +7464,7 @@ fi @@ -25,7 +25,7 @@ index 7616f88..50e7cbc 100755 *" newlib "*) |
