[erlang-questions] Building on OS X

Travis Jensen travis.jensen@REDACTED
Sat May 7 01:12:46 CEST 2011


I'm having problems building 64-bit from source on OS X.  I've tried a
couple different things:

*Without Hipe:* ./otp_build configure --enable-darwin-64bit
 --prefix=/Users/travis/opt/erlang --disable-hipe

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
beam/beam_emu.c: In function 'process_main':
beam/beam_emu.c:1177: error: label 'lb_hipe_trap_throw' used but not defined
beam/beam_emu.c:1177: error: label 'lb_hipe_trap_return' used but not
defined
beam/beam_emu.c:1177: error: label 'lb_hipe_trap_resume' used but not
defined
beam/beam_emu.c:1177: error: label 'lb_hipe_trap_call_closure' used but not
defined
beam/beam_emu.c:1177: error: label 'lb_hipe_trap_call' used but not defined
beam/beam_emu.c:1177: error: label 'lb_hipe_call_count' used but not defined
make[3]: *** [obj/i386-apple-darwin10.7.0/opt/smp/beam_emu.o] Error 1

*With Hipe:* ./otp_build configure --enable-darwin-64bit
 --prefix=/Users/travis/opt/erlang

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
beam/erl_bif_info.c: In function 'system_info_1':
beam/erl_bif_info.c:2003: error: 'am_amd64' undeclared (first use in this
function)
beam/erl_bif_info.c:2003: error: (Each undeclared identifier is reported
only once
beam/erl_bif_info.c:2003: error: for each function it appears in.)

I can build 32 bit fine, but I need 64 bit for couchdb. Any ideas?

Thanks.

tj
-- 
*Travis Jensen*
***
*Read the Software Maven @ http://softwaremaven.innerbrane.com/
Read my LinkedIn profile @ http://www.linkedin.com/in/travisjensen
Read my Twitter mumblings @ http://twitter.com/SoftwareMaven
Send me email @ travis.jensen@REDACTED

**What kind of guy calls himself the Software Maven???**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110506/6a37bb8d/attachment.htm>


More information about the erlang-questions mailing list