<br><br><div class="gmail_quote">2013/3/2 Björn-Egil Dahlberg <span dir="ltr"><<a href="mailto:wallentin.dahlberg@gmail.com" target="_blank">wallentin.dahlberg@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div><div class="h5">2013/3/2 Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">./configure --prefix=/usr/local/Cellar/erlang/R16B --without-javac --enable-smp-support --enable-halfword-emulator --enable-threads --enable-darwin-64bit --enable-m64-build --enable-wx<br><div><br></div>
<div><div>gcc -mdynamic-no-pic -Werror=return-type -m64 -m64 -g -O3 -fomit-frame-pointer -I/Users/max/Sites/otp_src_R16B/erts/x86_64-apple-darwin11.4.2 -D_XOPEN_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -Ix86_64-apple-darwin11.4.2/opt/smp -Ibeam -Isys/unix -Isys/common -Ix86_64-apple-darwin11.4.2 -Izlib -Ipcre -Ihipe -I../include -I../include/x86_64-apple-darwin11.4.2 -I../include/internal -I../include/internal/x86_64-apple-darwin11.4.2 -c sys/common/erl_mseg.c -o obj/x86_64-apple-darwin11.4.2/opt/smp/erl_mseg.o</div>
<div>sys/common/erl_mseg.c: In function ‘mseg_realloc’:</div><div>sys/common/erl_mseg.c:1031: warning: passing argument 5 of ‘mseg_dealloc’ makes integer from pointer without a cast</div><div>sys/common/erl_mseg.c:1031: error: too few arguments to function ‘mseg_dealloc’</div>
<div>make[3]: *** [obj/x86_64-apple-darwin11.4.2/opt/smp/erl_mseg.o] Error 1</div><div>make[2]: *** [opt] Error 2</div></div><div><br></div></div></blockquote><div><br></div></div></div><div>Wow - That's embarrassing. It is missing the 'flags' option as fifth argument, an easy fix.</div>
<div><br></div><div>However, In your case, Mac OSX will not run halfword at all since brk/sbrk implementation on darwin is not actually functioning.</div></div></blockquote><div><br></div><div>I know it says that you can run halfword on OSX in the comments of erl_mseg but that cake is also a complete lie.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div><br></div><div>// Björn-Egil</div><div><br></div><div><br></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr"><div></div><div><br></div><div>What should I do to collect more information or fix it?</div>
</div>
<br></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br>
</blockquote></div><br>