aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-04-20 17:44:04 +0200
committerSverker Eriksson <[email protected]>2018-04-20 17:44:04 +0200
commitf97484c9a7c535d6e830f27c764a11757e89d8ec (patch)
tree1126715cb13b7f7b2e38b9db9b92c70553659cd4 /erts/configure.in
parente4fb2f14cbdfdf34e6604618136aef66d9db0190 (diff)
downloadotp-f97484c9a7c535d6e830f27c764a11757e89d8ec.tar.gz
otp-f97484c9a7c535d6e830f27c764a11757e89d8ec.tar.bz2
otp-f97484c9a7c535d6e830f27c764a11757e89d8ec.zip
erts: Remove config test of MAP_NORESERVE for hipe on x86_64
and instead test for mprotect which is what is uses. The use of MAP_NORESERVE for hipe code allocations was removed in 8fd6e3353b094aa94e37e257ee20cd5e0e5dddcb.
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in13
1 files changed, 0 insertions, 13 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 2d0d6c6444..5d9dc9aa43 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -2661,18 +2661,6 @@ AC_CHECK_PROG(M4, m4, m4)
if test X${enable_hipe} != Xno; then
- if test X$ac_cv_sizeof_void_p != X4 && test X$ARCH = Xamd64; then
- dnl HiPE cannot run on x86_64 without MAP_FIXED and MAP_NORESERVE
- AC_CHECK_DECLS([MAP_FIXED, MAP_NORESERVE], [], [], [#include <sys/mman.h>])
- if test X$ac_cv_have_decl_MAP_FIXED != Xyes || test X$ac_cv_have_decl_MAP_NORESERVE != Xyes; then
- if test X${enable_hipe} = Xyes; then
- AC_MSG_ERROR([HiPE on x86_64 needs MAP_FIXED and MAP_NORESERVE flags for mmap()])
- else
- enable_hipe=no
- AC_MSG_WARN([Disable HiPE due to lack of MAP_FIXED and MAP_NORESERVE flags for mmap()])
- fi
- fi
- else
dnl HiPE cannot run without mprotect()
if test X$ac_cv_func_mprotect != Xyes; then
if test X${enable_hipe} = Xyes; then
@@ -2682,7 +2670,6 @@ if test X${enable_hipe} != Xno; then
AC_MSG_WARN([Disable HiPE due to lack of mprotect()])
fi
fi
- fi
fi
dnl check to auto-enable hipe here...