summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-10-01 11:49:59 +0000
committernia <nia@pkgsrc.org>2021-10-01 11:49:59 +0000
commit86e00653c19db2f5af7c41c55b21f64912b793fa (patch)
tree89342b9206400e78e5ff4b1491eb1c4e6883b50b
parent42384882e12002bab3abe6d131ed809154d32dde (diff)
downloadpkgsrc-86e00653c19db2f5af7c41c55b21f64912b793fa.tar.gz
gcc*: Unsafe for MKPIE. Reported by tnn.
-rw-r--r--lang/gcc10/Makefile5
-rw-r--r--lang/gcc6/Makefile5
-rw-r--r--lang/gcc7/Makefile5
-rw-r--r--lang/gcc8/Makefile5
-rw-r--r--lang/gcc9/Makefile5
5 files changed, 20 insertions, 5 deletions
diff --git a/lang/gcc10/Makefile b/lang/gcc10/Makefile
index 516ac00579f..a0e140de34d 100644
--- a/lang/gcc10/Makefile
+++ b/lang/gcc10/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/06/26 17:42:23 tnn Exp $
+# $NetBSD: Makefile,v 1.13 2021/10/01 11:49:59 nia Exp $
GCC_PKGNAME= gcc10
PKGREVISION= 1
@@ -21,6 +21,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
+# Relocations result in a linker error on AArch64, but not x86.
+MKPIE_SUPPORTED= no
+
NOT_FOR_PLATFORM= Interix-*-*
USE_LANGUAGES= c99 c++
diff --git a/lang/gcc6/Makefile b/lang/gcc6/Makefile
index 0e1ec91707c..34a41fe602f 100644
--- a/lang/gcc6/Makefile
+++ b/lang/gcc6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2021/06/26 17:42:23 tnn Exp $
+# $NetBSD: Makefile,v 1.33 2021/10/01 11:49:59 nia Exp $
GCC_PKGNAME= gcc6
.include "version.mk"
@@ -21,6 +21,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
+# Relocations result in a linker error on AArch64, but not x86.
+MKPIE_SUPPORTED= no
+
NOT_FOR_PLATFORM= Interix-*-*
USE_LANGUAGES= c c++
diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile
index e8437a18f5c..8d22178cb77 100644
--- a/lang/gcc7/Makefile
+++ b/lang/gcc7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2021/06/26 17:42:23 tnn Exp $
+# $NetBSD: Makefile,v 1.41 2021/10/01 11:49:59 nia Exp $
GCC_PKGNAME= gcc7
.include "version.mk"
@@ -21,6 +21,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
DISTFILES= ${DEFAULT_DISTFILES}
+# Relocations result in a linker error on AArch64, but not x86.
+MKPIE_SUPPORTED= no
+
NOT_FOR_PLATFORM= Interix-*-* Darwin-*-aarch64
USE_LANGUAGES= c99 c++
diff --git a/lang/gcc8/Makefile b/lang/gcc8/Makefile
index 3843d2f611c..e19858b78e6 100644
--- a/lang/gcc8/Makefile
+++ b/lang/gcc8/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2021/06/26 17:42:23 tnn Exp $
+# $NetBSD: Makefile,v 1.29 2021/10/01 11:49:59 nia Exp $
GCC_PKGNAME= gcc8
.include "version.mk"
@@ -21,6 +21,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
DISTFILES= ${DEFAULT_DISTFILES}
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
+# Relocations result in a linker error on AArch64, but not x86.
+MKPIE_SUPPORTED= no
+
NOT_FOR_PLATFORM= Interix-*-* Darwin-*-aarch64
USE_LANGUAGES= c99 c++
diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile
index 136cc1ada91..44de124d2f7 100644
--- a/lang/gcc9/Makefile
+++ b/lang/gcc9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2021/06/26 17:42:23 tnn Exp $
+# $NetBSD: Makefile,v 1.33 2021/10/01 11:49:59 nia Exp $
GCC_PKGNAME= gcc9
.include "version.mk"
@@ -26,6 +26,9 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake makeinfo sed:run tar:build
USE_TOOLS.NetBSD+= gsed
+# Relocations result in a linker error on AArch64, but not x86.
+MKPIE_SUPPORTED= no
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_STRICT= no # has several configure scripts
OBJDIR= ${WRKDIR}/build