[erlang-questions] Yet another cross-compilation question
Mark Scandariato
mark@REDACTED
Fri Dec 19 18:26:34 CET 2008
On Fri, Dec 19, 2008 at 12:14 PM, Mikael Pettersson <mikpe@REDACTED> wrote:
> Mark Scandariato writes:
> > 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?
>
> This very clearly is a gcc bug. gcc-4.1.1 is fairly old, you should try
> something newer. I don't recall seeing anything like this problem on any
> other platform, so chances are it's a Microblaze-specific bug.
>
That's what I figured - thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081219/6093a07c/attachment.htm>
More information about the erlang-questions
mailing list