<div dir="ltr"><div>Hi,</div><div>I've been trying to compile 17.1 with native libs... without any success. I get different errors on Linux and OSX.</div><div><br></div><div>Linux:</div><div><br></div><div>% build</div>
<div><br></div><div>tar -xzf otp_src_17.1.tar.gz && cd otp_src_17.1/</div><div>./configure --enable-smp-support --enable-threads --enable-kernel-poll --enable-hipe --enable-native-libs</div><div>make</div><div><br>
</div><div>% install</div><div><br></div><div>sudo su</div><div>rm -rf /usr/local/lib/erlang/</div><div>make install</div><div><br></div><div>% test</div><div><br></div><div>erl</div><div>Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]</div>
<div><br></div><div>Eshell V6.1 (abort with ^G)</div><div>1> code:is_loaded(gen_server).</div><div>{file,"/usr/local/lib/erlang/lib/stdlib-2.1/ebin/gen_server.beam"}</div><div>2> code:is_module_native(gen_server).</div>
<div>false</div><div><br></div><div><br></div><div>OSX:</div><div><br></div><div>% build</div><div><br></div><div>tar -xzf otp_src_17.1.tar.gz && cd otp_src_17.1/</div><div>./configure --enable-smp-support --enable-threads --enable-kernel-poll --enable-hipe --enable-native-libs --enable-darwin-64bit --with-dynamic-trace=dtrace</div>
<div>make</div><div><br></div><div>% error</div><div><br></div><div>=== Entering application hipe</div><div> ERLC<span class="" style="white-space:pre"> </span>../ebin/hipe_rtl.beam</div><div>hipe_rtl.erl: internal error in native_compile;</div>
<div>crash reason: undef</div><div><br></div><div>full stacktrace: <a href="https://gist.github.com/lpgauth/74aea9a99b9763a6ffdb">https://gist.github.com/lpgauth/74aea9a99b9763a6ffdb</a></div><div><br></div></div>