HiPE and threading in freebsd port.

Mikael Pettersson mikpe@REDACTED
Mon Nov 4 21:02:54 CET 2002


Chris Pressey writes:
 > For the record, HiPE doesn't build for me on FreeBSD 4.5.  when I do a
 > './configure --enable-hipe', upon 'make' I get
...
 > 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
etc
 > gcc version 2.95.3 20010315 (release) [FreeBSD]
 > 
 > Do I need a different version to compile HiPE?

Unless [FreeBSD] means that this gcc is hacked in some way and is not
identical to the real thing, then no you don't need a different version
of gcc; in fact, 2.95.3 is IMHO superior to 3.2 in some ways.

I suspect your 'm4' is broken. Please send me (not the the list) your
generated hipe_x86_asm.h file. FWIW, I've tested this with GNU m4 (all
versions from RedHat Linux 6.2 to RedHat Linux 8.0) and the stock m4
in Solaris 8 x86.

/Mikael



More information about the erlang-questions mailing list