pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang erlang: seems incompatible with PIE (unfortunately)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34477a5a29a4
branches:  trunk
changeset: 459491:34477a5a29a4
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Oct 07 22:40:58 2021 +0000

description:
erlang: seems incompatible with PIE (unfortunately)

diffstat:

 lang/erlang/Makefile   |  6 +++++-
 lang/erlang21/Makefile |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r d2ba520af747 -r 34477a5a29a4 lang/erlang/Makefile
--- a/lang/erlang/Makefile      Thu Oct 07 19:38:51 2021 +0000
+++ b/lang/erlang/Makefile      Thu Oct 07 22:40:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2021/05/24 19:52:30 wiz Exp $
+# $NetBSD: Makefile,v 1.108 2021/10/07 22:40:58 nia Exp $
 
 DISTNAME=      erlang-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
 PKGNAME=       ${DISTNAME:S/OTP-/erlang-/}
@@ -19,6 +19,10 @@
 GNU_CONFIGURE= yes
 USE_TOOLS+=    autoconf awk gmake perl:run flex
 
+# "This run-time was supposed be compiled with all code below 2Gb,
+# but the instruction 'allocate_tt' is located at 00000001c586f34c."
+MKPIE_SUPPORTED=       no
+
 .include "../../mk/bsd.prefs.mk"
 
 .if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*)
diff -r d2ba520af747 -r 34477a5a29a4 lang/erlang21/Makefile
--- a/lang/erlang21/Makefile    Thu Oct 07 19:38:51 2021 +0000
+++ b/lang/erlang21/Makefile    Thu Oct 07 22:40:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/05/24 19:52:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/10/07 22:40:59 nia Exp $
 
 DISTNAME=              OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
 PKGNAME=               ${DISTNAME:S/OTP-/erlang21-/}
@@ -25,6 +25,10 @@
 PTHREAD_OPTS+=         require native
 CONFIGURE_ARGS+=       --enable-threads
 
+# "This run-time was supposed be compiled with all code below 2Gb,
+# but the instruction 'allocate_tt' is located at 00000001c586f34c."
+MKPIE_SUPPORTED=       no
+
 .include "../../mk/bsd.prefs.mk"
 
 MAKE_ENV+=             DESTDIR=${DESTDIR}



Home | Main Index | Thread Index | Old Index