This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]