This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Linux-ia64] epilogue count exceeds number of nested prologues
- From: Randolph Chung <tausq at debian dot org>
- To: davidm at hpl dot hp dot com
- Cc: linux-ia64 at linux-ia64 dot org, binutils at sources dot redhat dot com
- Date: Mon, 8 Apr 2002 22:09:53 -0700
- Subject: Re: [Linux-ia64] epilogue count exceeds number of nested prologues
- References: <20020408001714.GA7563@tausq.org> <15538.29231.493918.734210@napali.hpl.hp.com>
- Reply-to: Randolph Chung <tausq at debian dot org>
> I'm unable to reproduce this. If I'm understanding you right, the
> problem occurred during the configure phase of mozilla (not libffi).
that's right
> I just rebuilt Mozilla from the current CVS tree with gcc3.1
> pre-release and the current CVS binutils. It built just fine and the
> resulting binary seems to work flawlessly.
I'm building from Debian sources. It's possible that it's simply out of
date (I'm building version 0.9.9).
> >From the assembly code you provided, it looks as if conftest.c tried
> to call FFI_STATIC_CLOSURE() from within a function, which can't
> possibly work.
indeed, mozilla's configure.in says:
if test "$LIBFFI_FOUND" = "yes"; then
AC_MSG_CHECKING("for FFI_STATIC_CLOSURE in libffi")
AC_TRY_COMPILE([#include "ffi.h"],
[ FFI_STATIC_CLOSURE(foo, bar, baz, quux); ],
[ LIBFFI_HAS_STATIC_CLOSURE=yes ])
AC_MSG_RESULT("$result")
fi
which generates (from config.log):
configure:13494: checking for FFI_STATIC_CLOSURE in libffi
configure:13503: gcc-3.0 -c -I/home/randolph/debian/mozilla-0.9.9/build-tree/libffi-install/include -fshort-wchar -pthread -pipe -I/usr/X11R6/include conftest.c 1>&5
{standard input}: Assembler messages:
{standard input}:40: Error: Epilogue count of 4294967296 exceeds number of nested prologues (0)
configure: failed program was:
#line 13496 "configure"
#include "confdefs.h"
#include "ffi.h"
int main() {
FFI_STATIC_CLOSURE(foo, bar, baz, quux);
; return 0; }
randolph