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

From: David Mosberger <>
Date: 2002-04-09 15:00:02
>>>>> On Mon, 8 Apr 2002 22:09:53 -0700, Randolph Chung <> said:

  Randolph> indeed, mozilla's says:

  Randolph> if test "$LIBFFI_FOUND" = "yes"; then
  Randolph> AC_MSG_CHECKING("for FFI_STATIC_CLOSURE in libffi")
  Randolph> AC_TRY_COMPILE([#include "ffi.h"],
  Randolph> [ FFI_STATIC_CLOSURE(foo, bar, baz, quux); ],
  Randolph> [ LIBFFI_HAS_STATIC_CLOSURE=yes ])
  Randolph> AC_MSG_RESULT("$result")
  Randolph> fi

  Randolph> which generates (from config.log):

  Randolph> configure:13494: checking for FFI_STATIC_CLOSURE in libffi
  Randolph> 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
  Randolph> {standard input}: Assembler messages:
  Randolph> {standard input}:40: Error: Epilogue count of 4294967296 exceeds number of nested prologues (0)
  Randolph> configure: failed program was:
  Randolph> #line 13496 "configure"
  Randolph> #include "confdefs.h"
  Randolph> #include "ffi.h"
  Randolph> int main() {
  Randolph> FFI_STATIC_CLOSURE(foo, bar, baz, quux);
  Randolph> ; return 0; }

For some reason, I don't see this in my  Was this added
by the Debian patch?  In principle, it's a good idea to check for this
macro, but I the check needs to be different.  To get it to compile,
FFI_STATIC_CLOSURE() would have to be declared at the outermost level.
Alternatively, perhaps you can just grep for this macro in ffi.h (I
think autoconf has support for doing this).


PS: I dropped binutils from the cc list, as it's clearly not a binutils
Received on Mon Apr 08 22:01:34 2002

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