This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Problems with libffi on PowerPC64
- From: Daniela Quaresima <daniela_quaresima at yahoo dot it>
- To: libffi-discuss at sourceware dot org
- Date: Tue, 16 Jun 2009 13:50:15 +0000 (GMT)
- Subject: Re: Problems with libffi on PowerPC64
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?
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.
----- Messaggio originale -----
Da: Andrew Haley <aph@redhat.com>
A: Daniela Quaresima <daniela_quaresima@yahoo.it>
Cc: libffi-discuss@sourceware.org
Inviato: Martedì 16 giugno 2009, 12:15:41
Oggetto: Re: Problems with libffi on PowerPC64
Daniela Quaresima wrote:
>
> Hi! I'm having difficulties in using JNA on IBM (x series) ppc64 architecture with Linux SUSE SLES 9.
> It was suggested that maybe the problem was in the libffi used.
> I tried to run libffi testsuite as follows:
> -starting in the lidffi directory inside jna/native
> mkdir build; cd build; ../configure; make; make check
>
> Some tests failed and so I wanted to know how I could resolve my problem and (hopefully) make JNA work.
> I also tried to install libffi (version 3.0.8) as a standalone, but the testsuite failed even in that case.
>
> This is the result of the tests for the jna/native/libffi:
These results are pretty good. We'd need to see the actual test log
to know the cause of the failures.
Andrew.