[erlang-questions] HiPE on powerpc

Sergei Golovan sgolovan@REDACTED
Thu Dec 6 22:49:51 CET 2007


On 11/17/07, Mikael Pettersson <mikpe@REDACTED> wrote:
> On Fri, 16 Nov 2007 22:03:20 +0300, Sergei Golovan wrote:
> >
> > Shouldn't HiPE architecture be adjusted in this case? Is the following
> > patch correct?
> >
> > -----------------
> > --- erlang.orig/erts/configure.in
> > +++ erlang/erts/configure.in
> > @@ -372,6 +372,10 @@
> >       AC_MSG_RESULT(yes: adjusting ARCH=sparc64 to ARCH=ultrasparc)
> >       ARCH=ultrasparc
> >       ;;
> > +ppc64-4)
> > +     AC_MSG_RESULT(yes: adjusting ARCH=ppc64 to ARCH=ppc)
> > +     ARCH=ppc
> > +     ;;
> >  *)
> >       AC_MSG_RESULT(no)
> >       ;;
> > -----------------
>
> Yes, this change looks correct.
>
> If you can confirm that it fixes your build failure on ppc64 kernels
> with gcc -m32 in userland, then I'll be happy to check it into HiPE CVS.

I confirm that this patch allows to build HiPE enabled erlang
succesfully (on ppc64 with 32-bit userland). You could see build log
at http://experimental.debian.net/fetch.php?&pkg=erlang&ver=1%3A12.b.0-dfsg-1&arch=powerpc&stamp=1196962309&file=log&as=raw

-- 
Sergei Golovan



More information about the erlang-questions mailing list