choice of gcc version for Erlang on ARM/XScale/PXA

Marthin Laubscher marthin@REDACTED
Mon Nov 28 18:59:37 CET 2005


The environment I used for compiling erlang for Gumstix PXA255) states gcc
version 3.4.2. But I'm afraid I didn't put together the cross-compiling
environment myself but inherited it from the gumstix provided buildroot
environment, so I'm blissfully unaware of any patches applied. I'm new to
both cross-compiling and building Erlang, but will try to answer your
questions if you tell me where to look for what. 

/Martihn


> -----Original Message-----
> From: owner-erlang-questions@REDACTED [mailto:owner-erlang-
> questions@REDACTED] On Behalf Of Mikael Pettersson
> Sent: 28 November 2005 15:38
> To: erlang-questions@REDACTED
> Subject: choice of gcc version for Erlang on ARM/XScale/PXA
> 
> Could those that have built Erlang for ARM/XScale/PXA
> machines please report exactly which gcc versions they
> have been using, including what ARM patches if any they
> applied to gcc?
> 
> I've begun working on HiPE for ARM/XScale, and I've found
> that only gcc-3.3.6 (+ several ARM patches) and gcc-4.0.2
> work correctly: gcc-3.4.4 miscompiles the runtime system,
> specifically the I_lshift() procedure in big.c, which
> throws the Erlang compiler into an endless CPU and memory
> consuming loop when compiling e.g. auth.erl or prim_inet.erl.
> 
> My guess is that if any of you used gcc-3.4.4, then you
> either cross-compiled or applied corrective patches to gcc first.
> 
> /Mikael







More information about the erlang-questions mailing list