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:           Sun May 14 02:38:03 UTC 2017

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

Log Message:
gcc7: correct typo in patch, from Kai-Uwe Eckhardt
Reportedly fixes a bunch of tests.
make our cpuinfo patch possibly less harmful to glibc by using
the same macro as the symver logic

bump pkgrevision


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc7/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc7/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure
cvs rdiff -u -r1.1 -r1.2 \
    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.3 pkgsrc/lang/gcc7/Makefile:1.4
--- pkgsrc/lang/gcc7/Makefile:1.3       Wed May 10 15:02:29 2017
+++ pkgsrc/lang/gcc7/Makefile   Sun May 14 02:38:02 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/05/10 15:02:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2017/05/14 02:38:02 maya Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -8,7 +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=   2
+PKGREVISION=   3
 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.4 pkgsrc/lang/gcc7/distinfo:1.5
--- pkgsrc/lang/gcc7/distinfo:1.4       Fri May 12 18:10:56 2017
+++ pkgsrc/lang/gcc7/distinfo   Sun May 14 02:38:02 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2017/05/12 18:10:56 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2017/05/14 02:38:02 maya Exp $
 
 SHA1 (gcc-7.1.0.tar.bz2) = 9f1e907f27eadefe7d5f7567c09e17805d9c8837
 RMD160 (gcc-7.1.0.tar.bz2) = a228dc45a09eda91b1a201d234f9013b3009b461
@@ -22,12 +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) = 6c2d0f897c4a451d5b4b4fb5b3415d04704c0b0d
+SHA1 (patch-libcilkrts_configure) = ec76313d8103e0c525ebd26e9013ee3ca9e93391
 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_config_i386_cpuinfo.h) = b0ff2ab74f57a1a7368da0805c1d1e06a4eeea6d
 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.2 pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure:1.3
--- pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure:1.2     Thu May  4 17:38:23 2017
+++ pkgsrc/lang/gcc7/patches/patch-libcilkrts_configure Sun May 14 02:38:03 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-libcilkrts_configure,v 1.2 2017/05/04 17:38:23 maya Exp $
+$NetBSD: patch-libcilkrts_configure,v 1.3 2017/05/14 02:38:03 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}/gcc7/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

Index: pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h
diff -u pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h:1.1 pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h:1.2
--- pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h:1.1     Thu May  4 17:38:23 2017
+++ pkgsrc/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h Sun May 14 02:38:03 2017
@@ -1,14 +1,18 @@
-$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.1 2017/05/04 17:38:23 maya Exp $
+$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.2 2017/05/14 02:38:03 maya Exp $
 
-Fix GCC bug #80600
+ifdef out extern for GCC bug #80600, with the same condition as
+cpuinfo.c. removing triggers GCC bug #65612
 
 --- 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
+@@ -108,7 +108,10 @@ enum processor_features
    FEATURE_AVX512VPOPCNTDQ
  };
  
 -extern struct __processor_model
++#if defined SHARED && defined USE_ELF_SYMVER
++extern
++#endif
 +struct __processor_model
  {
    unsigned int __cpu_vendor;



Home | Main Index | Thread Index | Old Index