pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2017Q3] pkgsrc/lang



Module Name:    pkgsrc
Committed By:   spz
Date:           Sun Oct 15 13:59:45 UTC 2017

Modified Files:
        pkgsrc/lang/gcc49 [pkgsrc-2017Q3]: Makefile distinfo
        pkgsrc/lang/gcc49-libs [pkgsrc-2017Q3]: Makefile
Added Files:
        pkgsrc/lang/gcc49/patches [pkgsrc-2017Q3]: patch-gcc_targhooks.c

Log Message:
Pullup ticket #5577 - requested by maya
lang/gcc49: functionality fix
lang/gcc49-libs: functionality fix

Revisions pulled up:
- lang/gcc49-libs/Makefile                                      1.14
- lang/gcc49/Makefile                                           1.22
- lang/gcc49/distinfo                                           1.15
- lang/gcc49/patches/patch-gcc_targhooks.c                      1.1

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   ryoon
   Date:           Sat Oct 14 14:46:00 UTC 2017

   Modified Files:
           pkgsrc/lang/gcc49: Makefile distinfo
   Added Files:
           pkgsrc/lang/gcc49/patches: patch-gcc_targhooks.c

   Log Message:
   Fix __stack_chk_fail_local undefined error in PIE case, bump PKGREVISION

   * Port from NetBSD src
     Fix __stack_chk_fail_local undefined reference error
     from "gcc test.c -fstack-protector-all -fPIE".
   * As a result, pkgsrc/www/firefox build under NetBSD/i386 7.1 is fixed

   To generate a diff of this commit:
   cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/gcc49/Makefile
   cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/gcc49/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc49/patches/patch-gcc_targhooks.c

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   ryoon
   Date:           Sat Oct 14 14:47:43 UTC 2017

   Modified Files:
           pkgsrc/lang/gcc49-libs: Makefile

   Log Message:
   Bump PKGREVISON from lang/gcc49 bump

   To generate a diff of this commit:
   cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/gcc49-libs/Makefile


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.4.1 pkgsrc/lang/gcc49/Makefile
cvs rdiff -u -r1.14 -r1.14.4.1 pkgsrc/lang/gcc49/distinfo
cvs rdiff -u -r1.13 -r1.13.4.1 pkgsrc/lang/gcc49-libs/Makefile
cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/lang/gcc49/patches/patch-gcc_targhooks.c

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

Modified files:

Index: pkgsrc/lang/gcc49/Makefile
diff -u pkgsrc/lang/gcc49/Makefile:1.21 pkgsrc/lang/gcc49/Makefile:1.21.4.1
--- pkgsrc/lang/gcc49/Makefile:1.21     Fri Jul 28 23:41:51 2017
+++ pkgsrc/lang/gcc49/Makefile  Sun Oct 15 13:59:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2017/07/28 23:41:51 maya Exp $
+# $NetBSD: Makefile,v 1.21.4.1 2017/10/15 13:59:45 spz Exp $
 
 GCC_PKGNAME=   gcc49
 .include       "version.mk"
@@ -9,7 +9,7 @@ PKGNAME=        ${GCC_PKGNAME}-${GCC49_DIST_VER
 ## When bumping the PKGREVISION of this package the PKGREVISION of
 ## lang/gcc49-libs needs to be bump to be at least 1 more than the
 ## PKGREVISION of this package!
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC49_DIST_VERSION}/}
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/lang/gcc49/distinfo
diff -u pkgsrc/lang/gcc49/distinfo:1.14 pkgsrc/lang/gcc49/distinfo:1.14.4.1
--- pkgsrc/lang/gcc49/distinfo:1.14     Fri Jul 28 23:41:51 2017
+++ pkgsrc/lang/gcc49/distinfo  Sun Oct 15 13:59:45 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2017/07/28 23:41:51 maya Exp $
+$NetBSD: distinfo,v 1.14.4.1 2017/10/15 13:59:45 spz Exp $
 
 SHA1 (ecj-4.5.jar) = 58c1d79c64c8cd718550f32a932ccfde8d1e6449
 RMD160 (ecj-4.5.jar) = d3f4da657f086b6423f74e93f001132f4855368a
@@ -26,6 +26,7 @@ SHA1 (patch-gcc_fortran_f95-lang.c) = 9d
 SHA1 (patch-gcc_ggc-common.c) = fa577bc25260d7e6304f166686ba51c0b677d7f6
 SHA1 (patch-gcc_ginclude_stddef.h) = 8af3e4b4058fc623c61e91f5771699f0ce679957
 SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
+SHA1 (patch-gcc_targhooks.c) = ac5bf5f201389f5bb79866d9e0dc93ee28af51f2
 SHA1 (patch-include_libiberty.h) = 5254c6a421ae16c71571820f6f07906367f042ba
 SHA1 (patch-libcilkrts_runtime_os-unix.c) = 165e736decbc6e0e3d905d418d71cf4873927925
 SHA1 (patch-libcilkrts_runtime_signal_node.c) = e12fd7c9f109db568c46e915bd1bae28fae7b95a

Index: pkgsrc/lang/gcc49-libs/Makefile
diff -u pkgsrc/lang/gcc49-libs/Makefile:1.13 pkgsrc/lang/gcc49-libs/Makefile:1.13.4.1
--- pkgsrc/lang/gcc49-libs/Makefile:1.13        Fri Jul 28 23:42:24 2017
+++ pkgsrc/lang/gcc49-libs/Makefile     Sun Oct 15 13:59:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/07/28 23:42:24 maya Exp $
+# $NetBSD: Makefile,v 1.13.4.1 2017/10/15 13:59:45 spz Exp $
 
 GCC_PKGNAME=   gcc49
 .include       "../../lang/${GCC_PKGNAME}/version.mk"
@@ -9,7 +9,7 @@ PKGNAME=        ${GCC_PKGNAME}-libs-${GCC49_DIS
 ## The PKGREVISION of this package needs to be at least 1 more than the
 ## PKGREVISION of the lang/gcc49 package so that with the dependence pattern
 ## '{gcc49,gcc49-libs}>=4.9.*' pkg_add will choose gcc49-libs over gcc49.
-PKGREVISION=   5
+PKGREVISION=   6
 
 CATEGORIES=    lang
 MASTER_SITES=  # empty

Added files:

Index: pkgsrc/lang/gcc49/patches/patch-gcc_targhooks.c
diff -u /dev/null pkgsrc/lang/gcc49/patches/patch-gcc_targhooks.c:1.1.2.2
--- /dev/null   Sun Oct 15 13:59:45 2017
+++ pkgsrc/lang/gcc49/patches/patch-gcc_targhooks.c     Sun Oct 15 13:59:45 2017
@@ -0,0 +1,26 @@
+$NetBSD: patch-gcc_targhooks.c,v 1.1.2.2 2017/10/15 13:59:45 spz Exp $
+
+* Port from NetBSD src
+  Fix __stack_chk_fail_local undefined reference error
+  from "gcc test.c -fstack-protector-all -fPIE".
+
+--- gcc/targhooks.c.orig       2014-03-03 21:51:58.000000000 +0000
++++ gcc/targhooks.c
+@@ -738,7 +738,17 @@ default_hidden_stack_protect_fail (void)
+       DECL_ARTIFICIAL (t) = 1;
+       DECL_IGNORED_P (t) = 1;
+       DECL_VISIBILITY_SPECIFIED (t) = 1;
++#if defined(__NetBSD__)
++      /*
++       * This is a hack:
++       * It appears that our gas does not generate @PLT for hidden
++       * symbols. It could be that we need a newer version, or that
++       * this local function is handled differently on linux.
++       */
++      DECL_VISIBILITY (t) = VISIBILITY_DEFAULT;
++#else
+       DECL_VISIBILITY (t) = VISIBILITY_HIDDEN;
++#endif
+ 
+       stack_chk_fail_decl = t;
+     }



Home | Main Index | Thread Index | Old Index