Skip to contentSkip to conversation

gcc: bump 4.9.x series to version 4.9.3

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 27, 2015 – Jun 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: bump 4.9.x series to version 4.9.3

Drop 110-pr64896.patch and 920-libgcc-remove-unistd-header.patch since they're upstream.

Tweak 850-libstdcxx-uclibc-c99.patch for this new release.

---
 package/gcc/4.9.2/110-pr64896.patch                |  59 -----
 package/gcc/4.9.2/850-libstdcxx-uclibc-c99.patch   | 273 ---------------------
 .../4.9.2/920-libgcc-remove-unistd-header.patch    |  12 -
 package/gcc/{4.9.2 => 4.9.3}/100-uclibc-conf.patch |   0
 ...00-powerpc-link-with-math-lib.patch.conditional |   0
 package/gcc/{4.9.2 => 4.9.3}/111-pr65730.patch     |   0
 .../{4.9.2 => 4.9.3}/301-missing-execinfo_h.patch  |   0
 .../810-arm-softfloat-libgcc.patch                 |   0
 .../{4.9.2 => 4.9.3}/830-arm_unbreak_armv4t.patch  |   0
 .../840-microblaze-enable-dwarf-eh-support.patch   |   0
 package/gcc/4.9.3/850-libstdcxx-uclibc-c99.patch   | 255 +++++++++++++++++++
 package/gcc/{4.9.2 => 4.9.3}/860-cilk-wchar.patch  |   0
 .../gcc/{4.9.2 => 4.9.3}/900-musl-support.patch    |   0
 .../910-gcc-poison-system-directories.patch        |   0
 package/gcc/Config.in.host                         |   2 +-
 package/gcc/gcc.hash                               |   4 +-
 16 files changed, 258 insertions(+), 347 deletions(-)
 delete mode 100644 package/gcc/4.9.2/110-pr64896.patch
 delete mode 100644 package/gcc/4.9.2/850-libstdcxx-uclibc-c99.patch
 delete mode 100644 package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch
 rename package/gcc/{4.9.2 => 4.9.3}/100-uclibc-conf.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/1000-powerpc-link-with-math-lib.patch.conditional (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/111-pr65730.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/301-missing-execinfo_h.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/810-arm-softfloat-libgcc.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/830-arm_unbreak_armv4t.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/840-microblaze-enable-dwarf-eh-support.patch (100%)
 create mode 100644 package/gcc/4.9.3/850-libstdcxx-uclibc-c99.patch
 rename package/gcc/{4.9.2 => 4.9.3}/860-cilk-wchar.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/900-musl-support.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/910-gcc-poison-system-directories.patch (100%)
package/gcc/4.9.2/110-pr64896.patch deleted +0 -59
deleted file mode 100644
index 92b6cb8..0000000
@@ -1,59 +0,0 @@
-From fc39d7d6f0ac90086814306a43de38ad65c13f13 Mon Sep 17 00:00:00 2001
-From: yroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 10 Mar 2015 19:20:30 +0000
-Subject: [PATCH] gcc/ 2015-03-10  Yvan Roux  <[email protected]>
-
-	Backport from trunk r220489.
-	2015-02-06  Jakub Jelinek  <[email protected]>
-
-	PR ipa/64896
-	* cgraphunit.c (cgraph_node::expand_thunk): If
-	restype is not is_gimple_reg_type nor the thunk_fndecl
-	returns aggregate_value_p, set restmp to a temporary variable
-	instead of resdecl.
-
-gcc/testsuite/
-2015-03-10  Yvan Roux  <[email protected]>
-
-	Backport from trunk r220489.
-	2015-02-06  Jakub Jelinek  <[email protected]>
-
-	PR ipa/64896
-	* g++.dg/ipa/pr64896.C: New test.
-
-
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch at 221333 138bc75d-0d04-0410-961f-82ee72b054a4
----
- gcc/ChangeLog                      | 11 +++++++++++
- gcc/cgraphunit.c                   | 11 ++++++++---
- gcc/testsuite/ChangeLog            |  8 ++++++++
- gcc/testsuite/g++.dg/ipa/pr64896.C | 29 +++++++++++++++++++++++++++++
- 4 files changed, 56 insertions(+), 3 deletions(-)
- create mode 100644 gcc/testsuite/g++.dg/ipa/pr64896.C
-
-diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
-index 8f57607..130fc0d 100644
---- a/gcc/cgraphunit.c
-+++ b/gcc/cgraphunit.c
-@@ -1572,9 +1572,14 @@ expand_thunk (struct cgraph_node *node, bool output_asm_thunks)
- 	    restmp = gimple_fold_indirect_ref (resdecl);
- 	  else if (!is_gimple_reg_type (restype))
- 	    {
--	      restmp = resdecl;
--	      add_local_decl (cfun, restmp);
--	      BLOCK_VARS (DECL_INITIAL (current_function_decl)) = restmp;
-+	      if (aggregate_value_p (resdecl, TREE_TYPE (thunk_fndecl)))
-+		{
-+		  restmp = resdecl;
-+		  add_local_decl (cfun, restmp);
-+		  BLOCK_VARS (DECL_INITIAL (current_function_decl)) = restmp;
-+		}
-+	      else
-+		restmp = create_tmp_var (restype, "retval");
- 	    }
- 	  else
- 	    restmp = create_tmp_reg (restype, "retval");
--- 
-1.8.1.4
-
package/gcc/4.9.2/850-libstdcxx-uclibc-c99.patch deleted +0 -273

273 lines not on this page · raw message

package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch deleted +0 -12
deleted file mode 100644
index df5372b..0000000
@@ -1,12 +0,0 @@
-Upstream status: In progress
-
---- a/libgcc/config/nios2/linux-atomic.c
-+++ b/libgcc/config/nios2/linux-atomic.c
-@@ -20,7 +20,6 @@
- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
- <http://www.gnu.org/licenses/>.  */
- 
--#include <asm/unistd.h>
- #define EFAULT  14
- #define EBUSY   16
- #define ENOSYS  38
package/gcc/4.9.3/100-uclibc-conf.patch renamed from package/gcc/4.9.2/100-uclibc-conf.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/100-uclibc-conf.patch
rename to package/gcc/4.9.3/100-uclibc-conf.patch
package/gcc/4.9.3/1000-powerpc-link-with-math-lib.patch.conditional renamed from package/gcc/4.9.2/1000-powerpc-link-with-math-lib.patch.conditional +0 -0
similarity index 100%
rename from package/gcc/4.9.2/1000-powerpc-link-with-math-lib.patch.conditional
rename to package/gcc/4.9.3/1000-powerpc-link-with-math-lib.patch.conditional
package/gcc/4.9.3/111-pr65730.patch renamed from package/gcc/4.9.2/111-pr65730.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/111-pr65730.patch
rename to package/gcc/4.9.3/111-pr65730.patch
package/gcc/4.9.3/301-missing-execinfo_h.patch renamed from package/gcc/4.9.2/301-missing-execinfo_h.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/301-missing-execinfo_h.patch
rename to package/gcc/4.9.3/301-missing-execinfo_h.patch
package/gcc/4.9.3/810-arm-softfloat-libgcc.patch renamed from package/gcc/4.9.2/810-arm-softfloat-libgcc.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/810-arm-softfloat-libgcc.patch
rename to package/gcc/4.9.3/810-arm-softfloat-libgcc.patch
package/gcc/4.9.3/830-arm_unbreak_armv4t.patch renamed from package/gcc/4.9.2/830-arm_unbreak_armv4t.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/830-arm_unbreak_armv4t.patch
rename to package/gcc/4.9.3/830-arm_unbreak_armv4t.patch
package/gcc/4.9.3/840-microblaze-enable-dwarf-eh-support.patch renamed from package/gcc/4.9.2/840-microblaze-enable-dwarf-eh-support.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/840-microblaze-enable-dwarf-eh-support.patch
rename to package/gcc/4.9.3/840-microblaze-enable-dwarf-eh-support.patch
package/gcc/4.9.3/850-libstdcxx-uclibc-c99.patch new file +255 -0

255 lines not on this page · raw message

package/gcc/4.9.3/860-cilk-wchar.patch renamed from package/gcc/4.9.2/860-cilk-wchar.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/860-cilk-wchar.patch
rename to package/gcc/4.9.3/860-cilk-wchar.patch
package/gcc/4.9.3/900-musl-support.patch renamed from package/gcc/4.9.2/900-musl-support.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/900-musl-support.patch
rename to package/gcc/4.9.3/900-musl-support.patch
package/gcc/4.9.3/910-gcc-poison-system-directories.patch renamed from package/gcc/4.9.2/910-gcc-poison-system-directories.patch +0 -0
similarity index 100%
rename from package/gcc/4.9.2/910-gcc-poison-system-directories.patch
rename to package/gcc/4.9.3/910-gcc-poison-system-directories.patch
package/gcc/Config.in.host +1 -1
index 7189407..712f8e9 100644
@@ -95,7 +95,7 @@ config BR2_GCC_VERSION
 	default "4.5.4"     if BR2_GCC_VERSION_4_5_X
 	default "4.7.4"     if BR2_GCC_VERSION_4_7_X
 	default "4.8.5"     if BR2_GCC_VERSION_4_8_X
-	default "4.9.2"     if BR2_GCC_VERSION_4_9_X
+	default "4.9.3"     if BR2_GCC_VERSION_4_9_X
 	default "5.1.0"     if BR2_GCC_VERSION_5_1_X
 	default "arc-2014.12" if BR2_GCC_VERSION_4_8_ARC
 
package/gcc/gcc.hash +2 -2
index 1a27d1c..fe956a7 100644
@@ -4,8 +4,8 @@ sha512  78696b287d46aacd6f150920da376ea32f58ad9f0dafd2d3b7fa6dbdd8dd7afe659108d1
 sha512  dfcb737073191e628231031a3571ec77ee760a59377630f4a6e4fdfa66f9ddad39fde47e3f0f227eb43cdf90e0d34cde5abdc9ac892c1e111a911062a66c9189  gcc-4.7.4.tar.bz2
 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.8.5/sha512.sum
 sha512  47fdfeca0c0a624cdec9c4ae47137d056c918d5c386d4b96985bb3c8172aba377cb66cbcc30e80832fd244a7d98f562c20198056915c70cfef0977545073a8ea  gcc-4.8.5.tar.bz2
-# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.2/sha512.sum
-sha512  e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c  gcc-4.9.2.tar.bz2
+# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.3/sha512.sum
+sha512  9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a3144a79cc8fcba3443f7b44c7337d79d704b522d053f54f79aa6b442df  gcc-4.9.3.tar.bz2
 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.1.0/sha512.sum
 sha512  30f6a94d3adb25bc51fcaddf32a6c41429f569eeb9ed64330445b1296f99998fbfa03277b375be4f7b2b80f519910ef88e4149db7cd9031e2c61a49f501bde94  gcc-5.1.0.tar.bz2
 # No hash for the ARC variant, comes from the github-helper:
Signature · 1 line
2.3.6
#1 lore raw

PATCH 1/1 gcc: bump 4.9.x series to version 4.9.3

Dear Gustavo Zacarias,

Quoted 30 lines · Gustavo Zacarias

Drop 110-pr64896.patch and 920-libgcc-remove-unistd-header.patch since they're upstream.

Tweak 850-libstdcxx-uclibc-c99.patch for this new release.

---
 package/gcc/4.9.2/110-pr64896.patch                |  59 -----
 package/gcc/4.9.2/850-libstdcxx-uclibc-c99.patch   | 273 ---------------------
 .../4.9.2/920-libgcc-remove-unistd-header.patch    |  12 -
 package/gcc/{4.9.2 => 4.9.3}/100-uclibc-conf.patch |   0
 ...00-powerpc-link-with-math-lib.patch.conditional |   0
 package/gcc/{4.9.2 => 4.9.3}/111-pr65730.patch     |   0
 .../{4.9.2 => 4.9.3}/301-missing-execinfo_h.patch  |   0
 .../810-arm-softfloat-libgcc.patch                 |   0
 .../{4.9.2 => 4.9.3}/830-arm_unbreak_armv4t.patch  |   0
 .../840-microblaze-enable-dwarf-eh-support.patch   |   0
 package/gcc/4.9.3/850-libstdcxx-uclibc-c99.patch   | 255 +++++++++++++++++++
 package/gcc/{4.9.2 => 4.9.3}/860-cilk-wchar.patch  |   0
 .../gcc/{4.9.2 => 4.9.3}/900-musl-support.patch    |   0
 .../910-gcc-poison-system-directories.patch        |   0
 package/gcc/Config.in.host                         |   2 +-
 package/gcc/gcc.hash                               |   4 +-
 16 files changed, 258 insertions(+), 347 deletions(-)
 delete mode 100644 package/gcc/4.9.2/110-pr64896.patch
 delete mode 100644 package/gcc/4.9.2/850-libstdcxx-uclibc-c99.patch
 delete mode 100644 package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch
 rename package/gcc/{4.9.2 => 4.9.3}/100-uclibc-conf.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/1000-powerpc-link-with-math-lib.patch.conditional (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/111-pr65730.patch (100%)
Quoted 8 lines
 rename package/gcc/{4.9.2 => 4.9.3}/301-missing-execinfo_h.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/810-arm-softfloat-libgcc.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/830-arm_unbreak_armv4t.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/840-microblaze-enable-dwarf-eh-support.patch (100%)
 create mode 100644 package/gcc/4.9.3/850-libstdcxx-uclibc-c99.patch
 rename package/gcc/{4.9.2 => 4.9.3}/860-cilk-wchar.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/900-musl-support.patch (100%)
 rename package/gcc/{4.9.2 => 4.9.3}/910-gcc-poison-system-directories.patch (100%)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com