[erlang-questions] Can't build on new Sun T2?

Per Hedeland per@REDACTED
Fri Oct 5 16:06:49 CEST 2007


Mikael Pettersson <mikpe@REDACTED> wrote:
>
>On Thu, 04 Oct 2007 13:55:23 -0700, Tim Bray wrote:
>> sca12-3200a-32 ~/dev/otp_src_R11B-5/> uname -a
>> SunOS sca12-3200a-32 5.10 Generic_120011-13 sun4v sparc SUNW,SPARC- 
>> Enterprise-****
>> 
>> ./configure showed no problems.
>> 
>> sca12-3200a-32 ~/dev/otp_src_R11B-5/> gmake
>> ... hundreds of lines omitted ...
>> 
>> ld: fatal: relocation error: R_SPARC_32: file obj/sparc-sun- 
>> solaris2.10/opt/hybrid/hipe_sparc_glue.o: symbol <unknown>: offset  
>> 0xfcec0f6e is non-aligned
>> ld: fatal: relocation error: R_SPARC_32: file obj/sparc-sun- 
>etc
>
>Here we go again.

Indeed. It used to be the case that building Erlang/OTP just required a
'./configure; [g]make' almost anywhere, but it seems to me that HiPE is
frequently the cause of that procedure failing. Of course HiPE is
great:-), but (in general) it's hardly of interest to someone that is
just getting started with Erlang, and I think it's really unfortunate if
that someone gets stuck already at the build stage because of it. Maybe
--disable-hipe should actually be the default everywhere? (Ducking...:-)

--Per



More information about the erlang-questions mailing list