I'm having problems building 64-bit from source on OS X. I've tried a couple different things:<div><br></div><div><b>Without Hipe:</b> ./otp_build configure --enable-darwin-64bit --prefix=/Users/travis/opt/erlang --disable-hipe</div>
<div><br></div><div><div>gcc -mdynamic-no-pic -m64 -g -O3 -fomit-frame-pointer -I/Users/travis/src2/foss/otp/erts/i386-apple-darwin10.7.0 -no-cpp-precomp -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 -Ii386-apple-darwin10.7.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin10.7.0 -Izlib -Ipcre -Ihipe -I../include -I../include/i386-apple-darwin10.7.0 -I../include/internal -I../include/internal/i386-apple-darwin10.7.0 -c beam/beam_emu.c -o obj/i386-apple-darwin10.7.0/opt/smp/beam_emu.o</div>
<div>beam/beam_emu.c: In function 'process_main':</div><div>beam/beam_emu.c:1177: error: label 'lb_hipe_trap_throw' used but not defined</div><div>beam/beam_emu.c:1177: error: label 'lb_hipe_trap_return' used but not defined</div>
<div>beam/beam_emu.c:1177: error: label 'lb_hipe_trap_resume' used but not defined</div><div>beam/beam_emu.c:1177: error: label 'lb_hipe_trap_call_closure' used but not defined</div><div>beam/beam_emu.c:1177: error: label 'lb_hipe_trap_call' used but not defined</div>
<div>beam/beam_emu.c:1177: error: label 'lb_hipe_call_count' used but not defined</div><div>make[3]: *** [obj/i386-apple-darwin10.7.0/opt/smp/beam_emu.o] Error 1</div><div><br></div><b>With Hipe:</b> ./otp_build configure --enable-darwin-64bit --prefix=/Users/travis/opt/erlang</div>
<div><br></div><div><div>gcc -mdynamic-no-pic -m64 -m64 -g -O3 -fomit-frame-pointer -I/Users/travis/src2/foss/otp/erts/i386-apple-darwin10.7.0 -no-cpp-precomp -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 -Ii386-apple-darwin10.7.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin10.7.0 -Izlib -Ipcre -Ihipe -I../include -I../include/i386-apple-darwin10.7.0 -I../include/internal -I../include/internal/i386-apple-darwin10.7.0 -c beam/erl_bif_info.c -o obj/i386-apple-darwin10.7.0/opt/smp/erl_bif_info.o</div>
<div>beam/erl_bif_info.c: In function 'system_info_1':</div><div>beam/erl_bif_info.c:2003: error: 'am_amd64' undeclared (first use in this function)</div><div>beam/erl_bif_info.c:2003: error: (Each undeclared identifier is reported only once</div>
<div>beam/erl_bif_info.c:2003: error: for each function it appears in.)</div></div><div><br></div><div>I can build 32 bit fine, but I need 64 bit for couchdb. Any ideas?</div><div><br></div><div>Thanks.</div><div><br></div>
<div>tj</div><div>-- <br><b><span style="font-size:large">Travis Jensen</span></b><div><b></b><span style="font-size:large"><b><br></b></span>Read the Software Maven @ <a href="http://softwaremaven.innerbrane.com/" target="_blank">http://softwaremaven.innerbrane.com/</a><br>
Read my LinkedIn profile @ <a href="http://www.linkedin.com/in/travisjensen" target="_blank">http://www.linkedin.com/in/travisjensen</a><br>Read my Twitter mumblings @ <a href="http://twitter.com/SoftwareMaven" target="_blank">http://twitter.com/SoftwareMaven</a><br>
Send me email @ <a href="mailto:travis.jensen@gmail.com" target="_blank">travis.jensen@gmail.com</a><div><br></div><div><i>*What kind of guy calls himself the Software Maven???*</i></div></div><br>
</div>