From: Todd C. Miller Date: Thu, 27 Dec 2012 21:25:51 +0000 (-0500) Subject: Disable PIE on FreeBSD/ia64, otherwise sudo will segfault. X-Git-Tag: SUDO_1_8_7~1^2~296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=948253a15628b10b28307d4b1ba3f7ebeb870f34;p=sudo Disable PIE on FreeBSD/ia64, otherwise sudo will segfault. --- diff --git a/configure b/configure index 60eabc302..f37da7c36 100755 --- a/configure +++ b/configure @@ -14468,6 +14468,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-specific initialization diff --git a/configure.in b/configure.in index d98634ece..9cf31ef6a 100644 --- a/configure.in +++ b/configure.in @@ -1906,6 +1906,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-specific initialization