Re: [Linux-ia64] epilogue count exceeds number of nested prologues

From: Randolph Chung <>
Date: 2002-04-09 15:09:53
> 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 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 ])

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; }

Received on Mon Apr 08 21:55:23 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST