HiPE and threading in freebsd port.

Chris Pressey cpressey@REDACTED
Mon Nov 4 20:26:10 CET 2002


On Mon, 4 Nov 2002 19:00:12 +0100 (CET)
Jimmy Olgeni <olgeni@REDACTED> wrote:

> 
> Hi,
> 
> Just a mini-poll to hear what people think... should HiPE and
> threading be enabled by default in the FreeBSD R9B port?
> 
> -- 
> jimmy


For the record, HiPE doesn't build for me on FreeBSD 4.5.  when I do a
'./configure --enable-hipe', upon 'make' I get

cd erts/emulator && ERL_TOP=/usr/tmp/otp_src_R9B-0 gmake generate depend
gmake -f i386-unknown-freebsd4.5/Makefile generate
gmake[1]: Entering directory `/usr/tmp/otp_src_R9B-0/erts/emulator'
/usr/bin/perl5 utils/beam_makeops -outdir i386-unknown-freebsd4.5
-emulator /usr/tmp/otp_src_R9B-0/lib/compiler/src/genop.tab beam/ops.tab
hipe/hipe_ops.tab
/usr/bin/perl5 utils/make_tables -src i386-unknown-freebsd4.5 -include
i386-unknown-freebsd4.5 beam/atom.names beam/bif.tab hipe/hipe_bif0.tab
hipe/hipe_bif1.tab hipe/hipe_bif2.tab
/usr/bin/perl5 utils/make_version -o i386-unknown-freebsd4.5/erl_version.h
5.2 i386-unknown-freebsd4.5
/usr/bin/perl5 utils/make_driver_tab -o
i386-unknown-freebsd4.5/driver_tab.c
/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/efile_drv.o
/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/ddll_drv.o
/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/inet_drv.o
/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/ram_file_drv
..o /usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/ttsl_drv.o
/usr/bin/perl5 utils/make_preload -old
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/otp_ring0.beam
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/init.beam
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/prim_inet.beam
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/prim_file.beam
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/erl_prim_loader.beam
/usr/tmp/otp_src_R9B-0/lib/kernel/ebin/erlang.beam >
i386-unknown-freebsd4.5/preload.c
m4 -DTARGET=i386-unknown-freebsd4.5 hipe/hipe_x86_asm.m4 >
i386-unknown-freebsd4.5/hipe_x86_asm.h
gcc  -g -O3 -I/usr/tmp/otp_src_R9B-0/erts/i386-unknown-freebsd4.5 
-DHAVE_CONFIG_H -Wall -DHIPE_ARCHITECTURE=x86  -Ibeam -Isys/unix
-Ii386-unknown-freebsd4.5 -Izlib -Ihipe -c hipe/hipe_mkliterals.c -o
/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/hipe_mkliter
als.o
In file included from hipe/hipe_mkliterals.c:19:
i386-unknown-freebsd4.5/hipe_x86_asm.h:8: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:9: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:16: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:20: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:24: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:28: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:34: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:58: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:59: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:70: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:72: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:73: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:78: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:80: unterminated character constant
i386-unknown-freebsd4.5/hipe_x86_asm.h:81: unterminated character constant
gmake[1]: ***
[/usr/tmp/otp_src_R9B-0/erts/obj.beam/i386-unknown-freebsd4.5/hipe_mklite
rals.o] Error 1
gmake[1]: Leaving directory `/usr/tmp/otp_src_R9B-0/erts/emulator'
gmake: *** [generate] Error 2
*** Error code 2

Stop in /usr/tmp/otp_src_R9B-0.


My 'gcc -v' says

Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]

Do I need a different version to compile HiPE?

-Chris



More information about the erlang-questions mailing list