pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc7



Module Name:    pkgsrc
Committed By:   maya
Date:           Thu May  4 17:38:23 UTC 2017

Modified Files:
        pkgsrc/lang/gcc7: Makefile distinfo
        pkgsrc/lang/gcc7/patches: patch-libcilkrts_configure
Added Files:
        pkgsrc/lang/gcc7/patches: patch-libgcc_config_i386_cpuinfo.h

Log Message:
gcc7: unbreak non-linux after GCC r243219.
GCC target/80600. Thanks joerg.
Fix wip package reference, thanks Kai-Uwe Eckhardt.

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc7/Makefile pkgsrc/lang/gcc7/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc7/Makefile
diff -u pkgsrc/lang/gcc7/Makefile:1.1 pkgsrc/lang/gcc7/Makefile:1.2
--- pkgsrc/lang/gcc7/Makefile:1.1       Wed May  3 00:21:03 2017
+++ pkgsrc/lang/gcc7/Makefile   Thu May  4 17:38:23 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/05/03 00:21:03 maya Exp $
+# $NetBSD: Makefile,v 1.2 2017/05/04 17:38:23 maya Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -8,6 +8,7 @@ PKGNAME=        ${GCC_PKGNAME}-${GCC7S_DIST_VER
 ## When bumping the PKGREVISION of this package the PKGREVISION of
 ## lang/gcc7-libs needs to be bump to be at least 1 more than the
 ## PKGREVISION of this package!
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC7S_DIST_VERSION}/}
 EXTRACT_SUFX=  .tar.bz2
Index: pkgsrc/lang/gcc7/distinfo
diff -u pkgsrc/lang/gcc7/distinfo:1.1 pkgsrc/lang/gcc7/distinfo:1.2
--- pkgsrc/lang/gcc7/distinfo:1.1       Wed May  3 00:21:03 2017
+++ pkgsrc/lang/gcc7/distinfo   Thu May  4 17:38:23 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2017/05/03 00:21:03 maya Exp $
+$NetBSD: distinfo,v 1.2 2017/05/04 17:38:23 maya Exp $
 
 SHA1 (gcc-7.1.0.tar.bz2) = 9f1e907f27eadefe7d5f7567c09e17805d9c8837
 RMD160 (gcc-7.1.0.tar.bz2) = a228dc45a09eda91b1a201d234f9013b3009b461
@@ -22,11 +22,12 @@ SHA1 (patch-gcc_ggc-common.c) = a5d2dba6
 SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
 SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
 SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
-SHA1 (patch-libcilkrts_configure) = 0d88069173cba34158f5b6b91d2d12ca81b0300c
+SHA1 (patch-libcilkrts_configure) = 6c2d0f897c4a451d5b4b4fb5b3415d04704c0b0d
 SHA1 (patch-libcilkrts_runtime_os-unix.c) = b25632587d9fbe8ff38377fe34cb16225355b521
 SHA1 (patch-libdecnumber_decNumber.c) = cec90e49c829bfc6ba1ec605d2fac7daaad62762
 SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
 SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
+SHA1 (patch-libgcc_config_i386_cpuinfo.h) = 2c55385a9440d4991eb265f24e98ba68eef266e1
 SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
 SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
 SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3

Index: pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure
diff -u pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure:1.1 pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure:1.2
--- pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure:1.1     Wed May  3 00:21:03 2017
+++ pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure Thu May  4 17:38:23 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-libcilkrts_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
+$NetBSD: patch-libcilkrts_configure,v 1.2 2017/05/04 17:38:23 maya Exp $
 
 --- libcilkrts/configure.orig  2014-08-12 11:06:44.000000000 +0000
 +++ libcilkrts/configure
@@ -7,7 +7,7 @@ $NetBSD: patch-libcilkrts_configure,v 1.
  
  if test $enable_shared = yes; then
 -  link_cilkrts="-lcilkrts %{static: $LIBS}"
-+  link_cilkrts="-rpath ${PREFIX}/gcc6snapshot/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
++  link_cilkrts="-rpath ${PREFIX}/gcc7/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
  else
    link_cilkrts="-lcilkrts $LIBS"
  fi

Added files:

Index: pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h
diff -u /dev/null pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h:1.1
--- /dev/null   Thu May  4 17:38:23 2017
+++ pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h Thu May  4 17:38:23 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.1 2017/05/04 17:38:23 maya Exp $
+
+Fix GCC bug #80600
+
+--- libgcc/config/i386/cpuinfo.h.orig  2017-01-10 12:55:41.000000000 +0000
++++ libgcc/config/i386/cpuinfo.h
+@@ -108,7 +108,7 @@ enum processor_features
+   FEATURE_AVX512VPOPCNTDQ
+ };
+ 
+-extern struct __processor_model
++struct __processor_model
+ {
+   unsigned int __cpu_vendor;
+   unsigned int __cpu_type;



Home | Main Index | Thread Index | Old Index