diff options
author | Sverker Eriksson <[email protected]> | 2018-04-25 16:20:10 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-04-25 16:20:10 +0200 |
commit | 130cc4b4a82518639f91445c3ea83fbd06c6b1d9 (patch) | |
tree | f6029f3953083c0961f2cbc7b4d1ad824fbcd577 /erts | |
parent | 511091f08c8ace2a2b964d7ff123e891ad4deeef (diff) | |
parent | f97484c9a7c535d6e830f27c764a11757e89d8ec (diff) | |
download | otp-130cc4b4a82518639f91445c3ea83fbd06c6b1d9.tar.gz otp-130cc4b4a82518639f91445c3ea83fbd06c6b1d9.tar.bz2 otp-130cc4b4a82518639f91445c3ea83fbd06c6b1d9.zip |
Merge PR-1794 from sverker/hipe-remove-MAP_NORESERVE-need
Remove config test of MAP_NORESERVE for hipe on x86_64
Diffstat (limited to 'erts')
-rw-r--r-- | erts/configure.in | 13 |
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... |