[erlang-questions] R14B02 compilation error on MacBook Pro

Anders Nygren <>
Fri Mar 18 00:22:47 CET 2011


In
http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:2254:201103:glecllcjnknfjjflcikb
It says that hipe does not work with the halfword-emulator.
So try with --disable-hipe

/Anders


On Thu, Mar 17, 2011 at 4:51 PM, Jay Nelson <> wrote:
> Using a brand new 15" MacBook Pro Quadcore I get the following with --enable-darwin-64bit --enable-halfword-emulator:
>
> gcc  -mdynamic-no-pic -m64 -g -O3 -I/Users/jay/Erlang/otp_src_R14B02/erts/i386-apple-darwin10.7.1  -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.1/opt/smp -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin10.7.1 -Izlib  -Ipcre -Ihipe -I../include -I../include/i386-apple-darwin10.7.1 -I../include/internal -I../include/internal/i386-apple-darwin10.7.1 -c hipe/hipe_amd64.c -o obj/i386-apple-darwin10.7.1/opt/smp/hipe_amd64.o
> hipe/hipe_amd64.c:40: warning: large integer implicitly truncated to unsigned type
> hipe/hipe_amd64.c:43: error: conflicting types for ‘hipe_patch_load_fe’
> hipe/hipe_arch.h:28: error: previous declaration of ‘hipe_patch_load_fe’ was here
> hipe/hipe_amd64.c:50: error: conflicting types for ‘hipe_patch_insn’
> hipe/hipe_arch.h:29: error: previous declaration of ‘hipe_patch_insn’ was here
> hipe/hipe_amd64.c: In function ‘hipe_patch_call’:
> hipe/hipe_amd64.c:77: warning: cast from pointer to integer of different size
> hipe/hipe_amd64.c:77: warning: cast from pointer to integer of different size
> hipe/hipe_amd64.c: In function ‘hipe_bifs_write_u64_2’:
> hipe/hipe_amd64.c:371: warning: passing argument 2 of ‘term_to_Uint’ from incompatible pointer type
> make[3]: *** [obj/i386-apple-darwin10.7.1/opt/smp/hipe_amd64.o] Error 1
> make[2]: *** [opt] Error 2
> make[1]: *** [smp] Error 2
> make: *** [emulator] Error 2
>
>
> 2 GHz Intel Core i7
> 14 GB 1333 MHz DDR3
> Version 10.6.6
>
> jay
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list