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

Mikael Pettersson <>
Wed Nov 30 14:56:08 CET 2005


Marthin Laubscher writes:
 > Thanks for the heads up Mikael. I did the test on the gumstix and got:
 > # erl
 > Erlang (BEAM) emulator version 5.4.10 [source]
 > 
 > Eshell V5.4.10  (abort with ^G)
 > 1> io:format("~.16#, ~.16#~n", [16#001000000000 bsr 8,16#001000000000 bsl
 > 8]).
 > 16#10000000, 16#100000000000
 > ok
 > 2>
 > 
 > Would you regard that as indication that I don't have the bug? (i.e. correct
 > patches was installed?)

Your system seems to shift bignums correctly. I looked
through gumstix' patches for gcc-3.4.2, and they essentially
match what I'm using with gcc-3.4.4. So I'm leaving towards
the theory that the bug was introduced after gcc-3.4.2.

The gcc/arm maintainers have confirmed the bug, but no patch
has been published yet.

/Mikael



More information about the erlang-questions mailing list