R10B10 and gcc-4.0.x ?

Mikael Pettersson <>
Thu May 4 09:18:05 CEST 2006


Daniel Goertzen writes:
 > Are there any known issues with compiling R10B10 with gcc-4.0.x?
 > 
 > I am cross compiling (x86_64 to x86) and my resulting binary segfaults.  
 > strace shows that it loads a bunch of .beams and does some networking 
 > (unsuccessfully) before crashing.  Of course I could just be doing 
 > something wrong with the cross compile...

I've been using gcc-4.0.x with x > 0 a lot for compiling Erlang/OTP,
and there are no known issues with non-ancient releases. gcc-4.0.0
was buggy enough to break the Linux kernels, however.

I suspect your cross-compile, esp. since Erlang/OTP isn't set up
for automatic cross-compilation.

/Mikael



More information about the erlang-questions mailing list