Source
xxxxxxxxxx
--- erts/emulator/Makefile.in.orig
+++ erts/emulator/Makefile.in
M4FLAGS=
CREATE_DIRS=
-LDFLAGS=@LDFLAGS@
+# On x86_64, the default pagezero_size is 4GB, thus making it
+# impossible to allocate an mmap between 0.5GB and 2GB, which
+# is required by hipe.
+# On i386, the default pagezero_size is 4KB which is what we'll
+# set here.
+LDFLAGS=@LDFLAGS@ -pagezero_size 0x400000
ARFLAGS=rc
OMIT_OMIT_FP=no
override TYPE=opt
PURIFY =
TYPEMARKER =
-TYPE_FLAGS = @CFLAGS@
+TYPE_FLAGS = -Ipcre -Ibeam @CFLAGS@
endif
endif
endif