Compiling R9C in Debian Woody
fille manjong
fillemanjong@REDACTED
Thu Dec 4 08:05:21 CET 2003
Thanks,
with ./configure --disable-hipe the error disappeared
uname -s -> Linux
uname -m -> i686
I will continue with changing gcc version according to your recommendation.
/Anders
>From: Mikael Pettersson <mikpe@REDACTED>
>To: "fille manjong" <fillemanjong@REDACTED>
>CC: erlang-questions@REDACTED
>Subject: Re: Compiling R9C in Debian Woody
>Date: Wed, 3 Dec 2003 13:34:48 +0100
>
>fille manjong writes:
> > Hi,
> >
> > I am trying to compile R9C in Debian woody and get the error "undefined
> > reference to `erts_restore_x87'" (See excerpt below)
> > My environment is User mode linux linuxuml-2.4.18-45 and
>root_fs_woody.bz2
> > (modified to with gcc 3.04) from
> > http://sourceforge.net/project/showfiles.php?group_id=13751
> > Compiling R9C in the host environment, which is Redhat 8.0 and gcc
>2.95,
> > works without problems.
> >
> > Any suggestions to why I get this error?
>
>In the ./configure step, did it or did it not detect support for
>reliable floating-point exceptions?
>
>HiPE requires reliable f.p. exceptions on Linux/x86. If they aren't
>available, a linkage error like the one you showed will occur.
>
>What does `uname -s` and `uname -m` say in your UML environment?
>
>If your UML environment doesn't provide reliable f.p. exceptions,
>then you should use ./configure --disable-hipe.
>
>On an unrelated note: gcc-3.0 is known to have bugs related to it
>generating code that touches stack slots _below_ the stack pointer.
>Please switch to a saner compiler, like 3.2.3 or 3.3.2.
>
>/Mikael
_________________________________________________________________
Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/
More information about the erlang-questions
mailing list