From: Todd C. Miller Date: Tue, 1 Jan 2013 21:21:58 +0000 (-0500) Subject: Disable PIE on FreeBSD/ia64, otherwise sudo will segfault. X-Git-Tag: SUDO_1_7_10p4~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6e47f1355e0ff48e71d2acb07a630fb04adaabf;p=sudo Disable PIE on FreeBSD/ia64, otherwise sudo will segfault. --HG-- branch : 1.7 --- 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