[erlang-questions] R14B02 compilation error on MacBook Pro

Björn-Egil Dahlberg wallentin.dahlberg@REDACTED
Fri Mar 18 00:25:16 CET 2011


HiPE and Halfword cannot coexist, --disable-hipe

// Björn-Egil

2011/3/17 Jay Nelson <jay@REDACTED>

> 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:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list