From b6e47f1355e0ff48e71d2acb07a630fb04adaabf Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 1 Jan 2013 16:21:58 -0500 Subject: [PATCH] Disable PIE on FreeBSD/ia64, otherwise sudo will segfault. --HG-- branch : 1.7 --- configure | 5 +++++ configure.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/configure b/configure index fda967189..65bdee52c 100755 --- a/configure +++ b/configure @@ -14374,6 +14374,11 @@ done CHECKSHADOW="false" test -z "$with_pam" && AUTH_EXCL_DEF="PAM" : ${with_logincap='maybe'} + # PIE is broken on FreeBSD/ia64 + case "$host_cpu" in + ia64*) + enable_pie=no;; + esac ;; *-*-*openbsd*) # OpenBSD has a real setreuid(2) starting with 3.3 but diff --git a/configure.in b/configure.in index 753c888a2..782b0049b 100644 --- a/configure.in +++ b/configure.in @@ -1818,6 +1818,11 @@ case "$host" in CHECKSHADOW="false" test -z "$with_pam" && AUTH_EXCL_DEF="PAM" : ${with_logincap='maybe'} + # PIE is broken on FreeBSD/ia64 + case "$host_cpu" in + ia64*) + enable_pie=no;; + esac ;; *-*-*openbsd*) # OpenBSD has a real setreuid(2) starting with 3.3 but -- 2.40.0