pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: maya
Date: Wed Nov 7 04:32:32 UTC 2018
Modified Files:
pkgsrc/lang/gcc8: Makefile distinfo
pkgsrc/lang/gcc8-libs: Makefile
Added Files:
pkgsrc/lang/gcc8/patches: patch-gcc_config_netbsd-elf.h
Removed Files:
pkgsrc/lang/gcc8/patches: patch-libgcc_Makefile.in
Log Message:
gcc8: Fix gcc/target/87221 better.
Link PIE executables with crtbeginS/crtendS on NetBSD.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gcc8/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gcc8/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc8-libs/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc8/patches/patch-gcc_config_netbsd-elf.h
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/gcc8/patches/patch-libgcc_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/gcc8/Makefile
diff -u pkgsrc/lang/gcc8/Makefile:1.6 pkgsrc/lang/gcc8/Makefile:1.7
--- pkgsrc/lang/gcc8/Makefile:1.6 Sun Oct 28 22:21:04 2018
+++ pkgsrc/lang/gcc8/Makefile Wed Nov 7 04:32:32 2018
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2018/10/28 22:21:04 abs Exp $
+# $NetBSD: Makefile,v 1.7 2018/11/07 04:32:32 maya Exp $
GCC_PKGNAME= gcc8
.include "version.mk"
DISTNAME= gcc-${GCC8_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}-${GCC8_DIST_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
## When bumping the PKGREVISION of this package the PKGREVISION of
## lang/gcc8-libs needs to be bump to be at least 1 more than the
## PKGREVISION of this package!
Index: pkgsrc/lang/gcc8/distinfo
diff -u pkgsrc/lang/gcc8/distinfo:1.4 pkgsrc/lang/gcc8/distinfo:1.5
--- pkgsrc/lang/gcc8/distinfo:1.4 Sun Oct 28 22:21:04 2018
+++ pkgsrc/lang/gcc8/distinfo Wed Nov 7 04:32:32 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2018/10/28 22:21:04 abs Exp $
+$NetBSD: distinfo,v 1.5 2018/11/07 04:32:32 maya Exp $
SHA1 (gcc-8.2.0.tar.xz) = 19926bdb6c4b58891015929853d41aeff019d400
RMD160 (gcc-8.2.0.tar.xz) = 4fba19867980d04bed1e62d46d4787c99f4fd13d
@@ -12,6 +12,7 @@ SHA1 (patch-contrib_download__prerequisi
SHA1 (patch-gcc_Makefile.in) = c0f97c75ba1d37eae894141edd58bb36b734f651
SHA1 (patch-gcc_config.gcc) = c57c3668688a96950a706cb9643b40e5631545f9
SHA1 (patch-gcc_config_arm_arm.h) = aba0bab2489cb7224d45eca0977156fe4f7a74a8
+SHA1 (patch-gcc_config_netbsd-elf.h) = 0fcfadfe0734f9583fdec7817112a42fb7be0eb3
SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
@@ -22,7 +23,6 @@ SHA1 (patch-gcc_targhooks.c) = b28d8a969
SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
-SHA1 (patch-libgcc_Makefile.in) = 0fc931e41c86b3d402eb3f3a569284195f4ce025
SHA1 (patch-libgcc_config.host) = bdd4cd27249c8b62793204428d95c977d58f06fb
SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
SHA1 (patch-libgfortran_io_io.h) = d44676239a7f45e42054d24bd5224f43c20055c0
Index: pkgsrc/lang/gcc8-libs/Makefile
diff -u pkgsrc/lang/gcc8-libs/Makefile:1.2 pkgsrc/lang/gcc8-libs/Makefile:1.3
--- pkgsrc/lang/gcc8-libs/Makefile:1.2 Sun Oct 28 22:21:25 2018
+++ pkgsrc/lang/gcc8-libs/Makefile Wed Nov 7 04:32:32 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/28 22:21:25 abs Exp $
+# $NetBSD: Makefile,v 1.3 2018/11/07 04:32:32 maya Exp $
GCC_PKGNAME= gcc8
.include "../../lang/${GCC_PKGNAME}/version.mk"
@@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC8_DIST
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc8 package so that with the dependence pattern
## '{gcc8,gcc8-libs}>=8.2.*' pkg_add will choose gcc8-libs over gcc8.
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= # empty
Added files:
Index: pkgsrc/lang/gcc8/patches/patch-gcc_config_netbsd-elf.h
diff -u /dev/null pkgsrc/lang/gcc8/patches/patch-gcc_config_netbsd-elf.h:1.1
--- /dev/null Wed Nov 7 04:32:32 2018
+++ pkgsrc/lang/gcc8/patches/patch-gcc_config_netbsd-elf.h Wed Nov 7 04:32:32 2018
@@ -0,0 +1,34 @@
+$NetBSD: patch-gcc_config_netbsd-elf.h,v 1.1 2018/11/07 04:32:32 maya Exp $
+
+Link PIE executables with crtbeginS/crtendS on NetBSD.
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87221
+
+
+--- gcc/config/netbsd-elf.h.orig 2018-01-03 10:03:58.000000000 +0000
++++ gcc/config/netbsd-elf.h
+@@ -40,8 +40,11 @@ along with GCC; see the file COPYING3.
+ %{!p:crt0%O%s}}} \
+ %:if-exists(crti%O%s) \
+ %{static:%:if-exists-else(crtbeginT%O%s crtbegin%O%s)} \
+- %{!static: \
+- %{!shared:crtbegin%O%s} %{shared:crtbeginS%O%s}}"
++ %{!static: \
++ %{!shared: \
++ %{!pie:crtbegin%O%s} \
++ %{pie:crtbeginS%O%s}} \
++ %{shared:crtbeginS%O%s}}"
+
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC NETBSD_STARTFILE_SPEC
+@@ -52,7 +55,10 @@ along with GCC; see the file COPYING3.
+ C++ file-scope static objects deconstructed after exiting "main". */
+
+ #define NETBSD_ENDFILE_SPEC \
+- "%{!shared:crtend%O%s} %{shared:crtendS%O%s} \
++ "%{!shared: \
++ %{!pie:crtend%O%s} \
++ %{pie:crtendS%O%s}} \
++ %{shared:crtendS%O%s} \
+ %:if-exists(crtn%O%s)"
+
+ #undef ENDFILE_SPEC
Home |
Main Index |
Thread Index |
Old Index