This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi 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]

Re: Problems with libffi on PowerPC64


Daniela Quaresima wrote:
> Thanks for answering so quickly.

> I tried to update libffi with the latest version from CVS and I made
> the tests again, but nothing changed.

> If the result of the tests isn't so bad, does it mean that the
> problem could be somewhere else?

I think so.  You're only seeing a failure with long doubles (which
Java doesn't support), with a huge struct, and some sort of C++
exception compilation problem.  I would not expect any of these to
cause JNA failures.

> One of the errors with the testsuite of JNA occurs when the function
> ffi_call is invoked and the expected result type is an int (smaller
> than 64 bit): the value returned is 0 instead of whatever it should
> be.

I think the bug may be inside JNA itself.  The libffi test results
show no problems in this area.  I think you've got to start debugging.

Andrew.



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