pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc5 gcc5: update to 5.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4196b7613fe
branches:  trunk
changeset: 370597:a4196b7613fe
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Oct 20 23:49:47 2017 +0000

description:
gcc5: update to 5.5.0

Changes:
IA-32/x86-64
    Support for the deprecated pcommit instruction has been removed.
see: https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction

Incomplete list of bug fixes:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.5

diffstat:

 lang/gcc5/Makefile                             |   5 +-
 lang/gcc5/distinfo                             |  11 +-
 lang/gcc5/patches/patch-gcc_config_i386_i386.c |  81 --------------------------
 lang/gcc5/version.mk                           |   4 +-
 4 files changed, 9 insertions(+), 92 deletions(-)

diffs (140 lines):

diff -r e8825b9922f2 -r a4196b7613fe lang/gcc5/Makefile
--- a/lang/gcc5/Makefile        Fri Oct 20 23:04:28 2017 +0000
+++ b/lang/gcc5/Makefile        Fri Oct 20 23:49:47 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2017/08/25 16:33:53 he Exp $
+# $NetBSD: Makefile,v 1.24 2017/10/20 23:49:47 maya Exp $
 
 GCC_PKGNAME=           gcc5
-PKGREVISION=           6
 .include               "version.mk"
 
 DISTNAME=      gcc-${GCC5_DIST_VERSION}
@@ -11,7 +10,7 @@
 ## PKGREVISION of this package!
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC5_DIST_VERSION}/}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    maya%NetBSD.org@localhost
 HOMEPAGE=      http://gcc.gnu.org/
diff -r e8825b9922f2 -r a4196b7613fe lang/gcc5/distinfo
--- a/lang/gcc5/distinfo        Fri Oct 20 23:04:28 2017 +0000
+++ b/lang/gcc5/distinfo        Fri Oct 20 23:49:47 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.17 2017/08/28 18:26:38 maya Exp $
+$NetBSD: distinfo,v 1.18 2017/10/20 23:49:47 maya Exp $
 
-SHA1 (gcc-5.4.0.tar.bz2) = 07524df2b4ab9070bad9c49ab668da72237b8115
-RMD160 (gcc-5.4.0.tar.bz2) = 7ae3413ca7e90bb21e65e637c02ddf2b675b45f4
-SHA512 (gcc-5.4.0.tar.bz2) = 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d1ef16ea39def408a644ba48f97519ec7a7dd37d260c3e9423514265b
-Size (gcc-5.4.0.tar.bz2) = 95661481 bytes
+SHA1 (gcc-5.5.0.tar.xz) = 0d985aaf6d63598916933a690cb902d47d385bea
+RMD160 (gcc-5.5.0.tar.xz) = 63fdc006c2289f81df664d1fd9b4124f71732e7b
+SHA512 (gcc-5.5.0.tar.xz) = 670ff52c2ae12c7852c12987e91798c5aa8bd6daf21f0d6e0cd57a4aa59cc4f06a837fe76426eaa1424cfddca937bed377680700eadc04d76b9180d462364fa1
+Size (gcc-5.5.0.tar.xz) = 71096120 bytes
 SHA1 (isl-0.14.tar.bz2) = b09e25df265c97ed54002cd811d227a9a26c5f9c
 RMD160 (isl-0.14.tar.bz2) = 4c69d026b51561bc1948cb7db79331b78a9d2c39
 SHA512 (isl-0.14.tar.bz2) = 117c0c6f31d91a9284a8f54a748df6494ca2ac21507a45611e911403e9610579b9323ce624aea1de0b8089b3194e59d4364f01bdb71ddcf8f6c24c749d11c4b7
@@ -15,7 +15,6 @@
 SHA1 (patch-gcc_config_alpha_linux.h) = aefe10f20c8e96a5e2e2771d41241ddfdc0ed58c
 SHA1 (patch-gcc_config_arm_arm.h) = 769a4939c0601d4f24ecff4374538b3a388e6013
 SHA1 (patch-gcc_config_host-netbsd.c) = 765295f07edb8a68f1910e3a9b4dd2a7dcd491a5
-SHA1 (patch-gcc_config_i386_i386.c) = 4bec843a876dd71d756ee757d69e4649a109bc64
 SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
 SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
 SHA1 (patch-gcc_config_netbsd.c) = 9d1327f926dece6e753093e759b5c8b707747ae1
diff -r e8825b9922f2 -r a4196b7613fe lang/gcc5/patches/patch-gcc_config_i386_i386.c
--- a/lang/gcc5/patches/patch-gcc_config_i386_i386.c    Fri Oct 20 23:04:28 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-$NetBSD: patch-gcc_config_i386_i386.c,v 1.1 2017/07/29 00:42:35 maya Exp $
-
-Incorrect codegen from rdseed intrinsic use (CVE-2017-11671)
-
-We should not expand call arguments in between flags reg setting and
-flags reg using instructions, as it may expand with flags reg
-clobbering insn (ADD in this case).
-
-Attached patch moves expansion out of the link. Also, change
-zero-extension to non-flags reg clobbering sequence in case we perform
-zero-extension with and.
-
-2017-03-25  Uros Bizjak
-
---- gcc/config/i386/i386.c.orig        2016-05-20 13:24:29.000000000 +0000
-+++ gcc/config/i386/i386.c
-@@ -39529,9 +39529,6 @@ ix86_expand_builtin (tree exp, rtx targe
-       mode0 = DImode;
- 
- rdrand_step:
--      op0 = gen_reg_rtx (mode0);
--      emit_insn (GEN_FCN (icode) (op0));
--
-       arg0 = CALL_EXPR_ARG (exp, 0);
-       op1 = expand_normal (arg0);
-       if (!address_operand (op1, VOIDmode))
-@@ -39539,6 +39536,10 @@ rdrand_step:
-         op1 = convert_memory_address (Pmode, op1);
-         op1 = copy_addr_to_reg (op1);
-       }
-+
-+      op0 = gen_reg_rtx (mode0);
-+      emit_insn (GEN_FCN (icode) (op0));
-+
-       emit_move_insn (gen_rtx_MEM (mode0, op1), op0);
- 
-       op1 = gen_reg_rtx (SImode);
-@@ -39547,8 +39548,20 @@ rdrand_step:
-       /* Emit SImode conditional move.  */
-       if (mode0 == HImode)
-       {
--        op2 = gen_reg_rtx (SImode);
--        emit_insn (gen_zero_extendhisi2 (op2, op0));
-+        if (TARGET_ZERO_EXTEND_WITH_AND
-+            && optimize_function_for_speed_p (cfun))
-+          {
-+            op2 = force_reg (SImode, const0_rtx);
-+
-+            emit_insn (gen_movstricthi
-+                       (gen_lowpart (HImode, op2), op0));
-+          }
-+        else
-+          {
-+            op2 = gen_reg_rtx (SImode);
-+
-+            emit_insn (gen_zero_extendhisi2 (op2, op0));
-+          }
-       }
-       else if (mode0 == SImode)
-       op2 = op0;
-@@ -39580,9 +39593,6 @@ rdrand_step:
-       mode0 = DImode;
- 
- rdseed_step:
--      op0 = gen_reg_rtx (mode0);
--      emit_insn (GEN_FCN (icode) (op0));
--
-       arg0 = CALL_EXPR_ARG (exp, 0);
-       op1 = expand_normal (arg0);
-       if (!address_operand (op1, VOIDmode))
-@@ -39590,6 +39600,10 @@ rdseed_step:
-         op1 = convert_memory_address (Pmode, op1);
-         op1 = copy_addr_to_reg (op1);
-       }
-+
-+      op0 = gen_reg_rtx (mode0);
-+      emit_insn (GEN_FCN (icode) (op0));
-+
-       emit_move_insn (gen_rtx_MEM (mode0, op1), op0);
- 
-       op2 = gen_reg_rtx (QImode);
diff -r e8825b9922f2 -r a4196b7613fe lang/gcc5/version.mk
--- a/lang/gcc5/version.mk      Fri Oct 20 23:04:28 2017 +0000
+++ b/lang/gcc5/version.mk      Fri Oct 20 23:49:47 2017 +0000
@@ -1,2 +1,2 @@
-# $NetBSD: version.mk,v 1.4 2016/07/05 18:55:08 ryoon Exp $
-GCC5_DIST_VERSION:=5.4.0
+# $NetBSD: version.mk,v 1.5 2017/10/20 23:49:47 maya Exp $
+GCC5_DIST_VERSION:=5.5.0



Home | Main Index | Thread Index | Old Index