[Bug libgcj/27860] build failure on m68k: error: 'ffi_closure' does not

From:

tromey at gcc dot gnu dot org

Subject:

[Bug libgcj/27860] build failure on m68k: error: 'ffi_closure' does not name a type

Date:

5 Jun 2006 14:08:22 -0000

------- Comment #5 from tromey at gcc dot gnu dot org 2006-06-05 14:08 -------
It looks to me that the code in link.cc is testing the wrong define.
It is testing USE_LIBFFI, but that is defined if any part of libffi is
in use. Instead it should be testing INTERPRETER -- ideally we'd add
a new macro indicating whether libffi has the closure API ported, as
INTERPRETER catches a bit too much.
Could you try changing USE_LIBFFI to INTERPRETER in link.cc? There are
a few places to change. If that fixes the problem for you, we can check
it in.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-05 14:08:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27860