This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27860] build failure on m68k: error: 'ffi_closure' does not name a type
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 14:08:21 -0000
- Subject: [Bug libgcj/27860] build failure on m68k: error: 'ffi_closure' does not name a type
- References: <bug-27860-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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