pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang gcc*: Unsafe for MKPIE. Reported by tnn.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da2f389ad81a
branches:  trunk
changeset: 459190:da2f389ad81a
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Oct 01 11:49:59 2021 +0000

description:
gcc*: Unsafe for MKPIE. Reported by tnn.

diffstat:

 lang/gcc10/Makefile |  5 ++++-
 lang/gcc6/Makefile  |  5 ++++-
 lang/gcc7/Makefile  |  5 ++++-
 lang/gcc8/Makefile  |  5 ++++-
 lang/gcc9/Makefile  |  5 ++++-
 5 files changed, 20 insertions(+), 5 deletions(-)

diffs (95 lines):

diff -r 3f52a1c2d828 -r da2f389ad81a lang/gcc10/Makefile
--- a/lang/gcc10/Makefile       Fri Oct 01 11:42:23 2021 +0000
+++ b/lang/gcc10/Makefile       Fri Oct 01 11:49:59 2021 +0000
@@ -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 @@
 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 -r 3f52a1c2d828 -r da2f389ad81a lang/gcc6/Makefile
--- a/lang/gcc6/Makefile        Fri Oct 01 11:42:23 2021 +0000
+++ b/lang/gcc6/Makefile        Fri Oct 01 11:49:59 2021 +0000
@@ -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 @@
 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 -r 3f52a1c2d828 -r da2f389ad81a lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Fri Oct 01 11:42:23 2021 +0000
+++ b/lang/gcc7/Makefile        Fri Oct 01 11:49:59 2021 +0000
@@ -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 @@
 
 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 -r 3f52a1c2d828 -r da2f389ad81a lang/gcc8/Makefile
--- a/lang/gcc8/Makefile        Fri Oct 01 11:42:23 2021 +0000
+++ b/lang/gcc8/Makefile        Fri Oct 01 11:49:59 2021 +0000
@@ -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 @@
 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 -r 3f52a1c2d828 -r da2f389ad81a lang/gcc9/Makefile
--- a/lang/gcc9/Makefile        Fri Oct 01 11:42:23 2021 +0000
+++ b/lang/gcc9/Makefile        Fri Oct 01 11:49:59 2021 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index