I have 2 OpenBSD amd64 machines 5.4. and 5.7 which I cannot upgrade them now
I want to compile erlang 19 on these machine and the compilation fails:
The compilation process is:1. apply successfully 6.0
ports/lang/erlang/19/patches to the standard tree2. autoreconf-2.693. gmake
.. and the error...=== Entering application hipe
gmake[3]: Entering directory `/home/andu/otp_src_19.0/lib/hipe/misc'
 ERLC   ../ebin/hipe_consttab.beam
erts_mmap: Failed to create super carrier of size 1024 MB
gmake[3]: *** [../ebin/hipe_consttab.beam] Error 1
gmake[3]: Leaving directory `/home/andu/otp_src_19.0/lib/hipe/misc'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory `/home/andu/otp_src_19.0/lib/hipe'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/home/andu/otp_src_19.0/lib'
gmake: *** [secondary_bootstrap_build] Error 2

This means mmap cannot allocate 1024 MB of memory?
I wanted to disable hipe but hipe is compiled regardless
if --disable-hipe switch is passed to configure or not
However I want this mmap test to pass because may be other
components use these features of mmap and I consider this a test by itself.

6.0 has erlang-19 so the compilation was successful.
what can I do to succesffully compile erlang-19 on 5.4 and 5.7 amd64?
Thank you,


Reply via email to