[erlang-questions] Yet another cross-compilation question

Mark Scandariato mark@REDACTED
Fri Dec 19 16:07:29 CET 2008


Hi all,

I'm trying to cross-compile Erlang (R12B-5) for BlueCat Linux on a Xilinx
Microblaze.

Configuration was pretty simple (posted here for posterity and possible
ridicule):

$ export ac_cv_func_getaddrinfo=no
$ ./configure --disable-hipe --without-java --without-ssl
--build=i686-pc-cygwin --host=microblaze-linux --prefix=/tmp/erlang

But the build choked on beam_emu.c:

beam/beam_emu.c: In function 'process_main':
beam/beam_emu.c:4875: internal compiler error: in redirect_branch_edge, at
cfgrtl.c:942

gcc is version 4.1.1

Any suggestions (other than get a newer/older compiler)? Is this a known
problem with gcc 4.1.1?

Thanks,
Mark Scandariato.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081219/2dc9c3cf/attachment.htm>


More information about the erlang-questions mailing list