[erlang-bugs] Broken Hipe in R14B02

Sverker Eriksson sverker@REDACTED
Wed Mar 16 16:31:06 CET 2011


Hipe and halfword emulator do not play nice together yet.

Any problems without --enable-halfword-emulator?

/Sverker, Erlang/OTP


Håkan Mattsson wrote:
> I forgot to use --disable-hipe and got the following compilation error.
>
> Time to disable hipe by default?
>
> /Håkan
>
> $ uname -a
> Linux tellus 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC
> 2011 x86_64 GNU/Linux
> $ ./configure --prefix=/usr/local/pgm/otp_R14B02
> --enable-halfword-emulator && make
> ...
> ...
> ...
> gcc  -g -O3 -I/usr/local/src/otp_src_R14B02/erts/x86_64-unknown-linux-gnu
>   -fno-tree-copyrename  -D_GNU_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wdeclarati
> on-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
> -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS
> -Ix86_64-unknown-linux-gnu/opt/smp -Ibeam -Isys/unix -Isys/common
> -Ix86_64-unknown-linux
> -gnu -Izlib  -Ipcre -Ihipe -I../include
> -I../include/x86_64-unknown-linux-gnu -I../include/internal
> -I../include/internal/x86_64-unknown-linux-gnu -c hipe/hipe_amd64.c -o
> obj/x86_64-unknown-linux-gnu/opt/smp/hipe_amd64.o
> hipe/hipe_amd64.c:40: warning: large integer implicitly truncated to
> unsigned type
> hipe/hipe_amd64.c:42: error: conflicting types for ‘hipe_patch_load_fe’
> hipe/hipe_arch.h:28: note: previous declaration of ‘hipe_patch_load_fe’ was here
> hipe/hipe_amd64.c:49: error: conflicting types for ‘hipe_patch_insn’
> hipe/hipe_arch.h:29: note: 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
> beam/big.h:152: note: expected ‘Uint *’ but argument is of type ‘Uint64 *’
> make[3]: *** [obj/x86_64-unknown-linux-gnu/opt/smp/hipe_amd64.o] Error 1
> make[3]: Leaving directory `/usr/local/src/otp_src_R14B02/erts/emulator'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/usr/local/src/otp_src_R14B02/erts/emulator'
> :
>
> ________________________________________________________________
> erlang-bugs (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-bugs-unsubscribe@REDACTED
>
>
>   




More information about the erlang-bugs mailing list