This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Testresults of libffi-3.0.9rc10 for x64 mingw target
- From: Anthony Green <green at redhat dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>, Andrew Haley <aph at redhat dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Mon, 28 Dec 2009 12:16:37 -0500
- Subject: Re: Testresults of libffi-3.0.9rc10 for x64 mingw target
- References: <90baa01f0912271434p53ec6a3bhbaa6d0f9e3ff4a0b@mail.gmail.com>
On 12/27/2009 05:34 PM, Kai Tietz wrote:
Hello,
this are the test-results for x86_64-pc-mingw32 target
=== libffi Summary ===
# of expected passes 1526
# of unexpected failures 38
# of unexpected successes 16
# of expected failures 54
Cheers,
Kai
Thanks for also sending me the logs privately.
It looks like the failures are related to printing long long types.
Andrew - do you remember the origin of this addition to ffitest.h...
/* MinGW kludge. */
#ifdef WIN64
#define PRIdLL "PRId64"
#define PRIuLL "PRIu64"
#else
#define PRIdLL "lld"
#define PRIuLL "llu"
#endif
from http://sourceware.org/ml/libffi-discuss/2009/msg00178.html .
One sample failure is this:
FAIL: libffi.call/cls_align_sint64.c (test for excess errors)
Excess errors:
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c: In function 'cls_struct_align_fn':
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: unknown conversion type character 'P' in format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: format '%d' expects type 'int', but argument 3 has type 'long long int'
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: unknown conversion type character 'P' in format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: format '%d' expects type 'int', but argument 6 has type 'long long int'
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: unknown conversion type character 'P' in format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:25:3: warning: too many arguments for format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c: In function 'main':
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:80:3: warning: unknown conversion type character 'P' in format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:80:3: warning: format '%d' expects type 'int', but argument 3 has type 'long long int'
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:80:3: warning: too many arguments for format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:87:3: warning: unknown conversion type character 'P' in format
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:87:3: warning: format '%d' expects type 'int', but argument 3 has type 'long long int'
/home/ktietz/source/libffi-3.0.9rc10/testsuite/libffi.call/cls_align_sint64.c:87:3: warning: too many arguments for format
spawn [open ...]
12 PRId64 4951 127 PRId64 1: 9320 PRId64 13
res: 13 PRId64 14271
12 PRId64 4951 127 PRId64 1: 9320 PRId64 13
res: 13 PRId64 14271
PASS: libffi.call/cls_align_sint64.c execution test
AG