This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Test failures
- From: Timothy Wall <twalljava at dev dot java dot net>
- To: Andrew Haley <aph at redhat dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Fri, 05 Jun 2009 13:28:46 -0400
- Subject: Re: Test failures
- References: <4A293888.9080204@redhat.com>
I believe the bad_abi and bad_typedef tests fail on most platforms,
since they assume things about FFI_ABI_FIRST, FFI_ABI_LAST, and
FFI_ABI_DEFAULT which aren't true.
Looks like cls_longdouble_va.c and huge_struct.c have issues with the
format string (is "%L.0f" a valid format or should it be "%.02Lf" for
long double?).
IIRC, XFAIL won't avoid the "(test for excess errors)" compilation
failures.
On Jun 5, 2009, at 11:23 AM, Andrew Haley wrote:
Current libffi has a bunch of failures on x86 GNU/Linux, 32- and 64-
bit.
Shall I XFAIL these on x86?
Andrew.
32-bit:
FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall output pattern
test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O0 -W -Wall execution test
FAIL: libffi.call/err_bad_typedef.c -O0 -W -Wall execution test
FAIL: libffi.call/huge_struct.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/huge_struct.c -O0 -W -Wall output pattern test, is
1 2 3 4 5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 21474836484
30064771078 0 0 %.0f 0x40220000 0 0 0 0 16386 305419896 8589934593
17179869187 0 0 %.0f 0x8 0 0 0 0 1076101120 0 70380286902272
4600387192 0 0 %.0f 0x6 7 0: 8 0 0 0 0 1076101120
12682136550675316736 1311768464867737602 0 0 %.0f 0x4 5 6 7 8 0 9 0
1076101120 0 0 %.0f 0x12345679 3 4 5 6 7 8 9 10 11 12 %.0f (nil) 0 2
22138 4 5 6 34359738375 42949672969 0 0 %.0f 0x40280000 0 0
FAIL: libffi.call/stret_large.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_large2.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_medium.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_medium2.c -O0 -W -Wall (test for excess
errors)
FAIL: libffi.call/cls_longdouble_va.c -O2 output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O2 execution test
FAIL: libffi.call/err_bad_typedef.c -O2 execution test
FAIL: libffi.call/huge_struct.c -O2 output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 21474836484 30064771078 0 0
%.0f 0x40220000 0 0 0 0 16386 305419896 8589934593 17179869187 0 0 %.
0f 0x8 0 0 0 0 1076101120 0 70380286902272 4600387192 0 0 %.0f 0x6 7
0: 8 0 0 0 0 1076101120 12682136550675316736 1311768464867737602 0 0
%.0f 0x4 5 6 7 8 0 9 0 1076101120 0 0 %.0f 0x12345679 3 4 5 6 7 8 9
10 11 12 %.0f (nil) 0 2 22138 4 5 6 34359738375 42949672969 0 0 %.0f
0x40280000 0 0
FAIL: libffi.call/cls_longdouble_va.c -O3 output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O3 execution test
FAIL: libffi.call/err_bad_typedef.c -O3 execution test
FAIL: libffi.call/huge_struct.c -O3 output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 21474836484 30064771078 0 0
%.0f 0x40220000 0 0 0 0 16386 305419896 8589934593 17179869187 0 0 %.
0f 0x8 0 0 0 0 1076101120 0 70380286902272 4600387192 0 0 %.0f 0x6 7
0: 8 0 0 0 0 1076101120 12682136550675316736 1311768464867737602 0 0
%.0f 0x4 5 6 7 8 0 9 0 1076101120 0 0 %.0f 0x12345679 3 4 5 6 7 8 9
10 11 12 %.0f (nil) 0 2 22138 4 5 6 34359738375 42949672969 0 0 %.0f
0x40280000 0 0
FAIL: libffi.call/cls_longdouble_va.c -Os output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -Os execution test
FAIL: libffi.call/err_bad_typedef.c -Os execution test
FAIL: libffi.call/huge_struct.c -Os output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 21474836484 30064771078 0 0
%.0f 0x40220000 0 0 0 0 16386 305419896 8589934593 17179869187 0 0 %.
0f 0x8 0 0 0 0 1076101120 0 70380286902272 4600387192 0 0 %.0f 0x6 7
0: 8 0 0 0 0 1076101120 12682136550675316736 1311768464867737602 0 0
%.0f 0x4 5 6 7 8 0 9 0 1076101120 0 0 %.0f 0x12345679 3 4 5 6 7 8 9
10 11 12 %.0f (nil) 0 2 22138 4 5 6 34359738375 42949672969 0 0 %.0f
0x40280000 0 0
FAIL: libffi.call/cls_longdouble_va.c -O2 -fomit-frame-pointer
output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O2 -fomit-frame-pointer execution
test
FAIL: libffi.call/err_bad_typedef.c -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/huge_struct.c -O2 -fomit-frame-pointer output
pattern test, is 1 2 3 4 5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3
21474836484 30064771078 0 0 %.0f 0x40220000 0 0 0 0 16386 305419896
8589934593 17179869187 0 0 %.0f 0x8 0 0 0 0 1076101120 0
70380286902272 4600387192 0 0 %.0f 0x6 7 0: 8 0 0 0 0 1076101120
12682136550675316736 1311768464867737602 0 0 %.0f 0x4 5 6 7 8 0 9 0
1076101120 0 0 %.0f 0x12345679 3 4 5 6 7 8 9 10 11 12 %.0f (nil) 0 2
22138 4 5 6 34359738375 42949672969 0 0 %.0f 0x40280000 0 0
64-bit:
FAIL: libffi.call/cls_dbls_struct.c -O0 -W -Wall output pattern
test, is 1.0 0.0
FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall output pattern
test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O0 -W -Wall execution test
FAIL: libffi.call/err_bad_typedef.c -O0 -W -Wall execution test
FAIL: libffi.call/huge_struct.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/huge_struct.c -O0 -W -Wall output pattern test, is
1 2 3 4 5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 4 5 9 10 %.0f 0x6 7
8 0 0 16386 305419896 1 2 9 10 %.0f 0x3 4 5 6 7 8 0
12682136550675316736 16386 9 10 %.0f 0x12345678 1 2: 3 4 5 6 7 8 0
-5764607523034234880 0 0 %.0f 0x1 2 2 3 4 5 6 7 8 0 10 %.0f
0x4026000000000000 0 0 16386 22137 3 4 5 6 0 0 %.0f 0x9 10 0 0 0 0
16386 305419898 4 0 0 %.0f 0x7 8 9
FAIL: libffi.call/stret_large.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_large2.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_medium.c -O0 -W -Wall (test for excess errors)
FAIL: libffi.call/stret_medium2.c -O0 -W -Wall (test for excess
errors)
FAIL: libffi.call/cls_dbls_struct.c -O2 output pattern test, is 1.0
0.0
FAIL: libffi.call/cls_longdouble_va.c -O2 output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O2 execution test
FAIL: libffi.call/err_bad_typedef.c -O2 execution test
FAIL: libffi.call/huge_struct.c -O2 output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 4 5 9 10 %.0f 0x6 7 8 0 0
16386 305419896 1 2 9 10 %.0f 0x3 4 5 6 7 8 0 12682136550675316736
16386 9 10 %.0f 0x12345678 1 2: 3 4 5 6 7 8 0 -5764607523034234880 0
0 %.0f 0x7fff00000001 2 2 3 4 5 6 7 8 0 10 %.0f 0x4026000000000000 0
0 16386 22137 3 4 4294967301 6 0 0 %.0f 0x9 10 0 0 -26442 0 16386
305419898 4 0 0 %.0f 0x7 8 9
FAIL: libffi.call/cls_dbls_struct.c -O3 output pattern test, is 1.0
0.0
FAIL: libffi.call/cls_longdouble_va.c -O3 output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O3 execution test
FAIL: libffi.call/err_bad_typedef.c -O3 execution test
FAIL: libffi.call/huge_struct.c -O3 output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 4 5 9 10 %.0f 0x6 7 8 0 0
16386 305419896 1 2 9 10 %.0f 0x3 4 5 6 7 8 0 12682136550675316736
16386 9 10 %.0f 0x12345678 1 2: 3 4 5 6 7 8 0 -5764607523034234880 0
0 %.0f 0x7fff00000001 2 2 3 4 5 6 7 8 0 10 %.0f 0x4026000000000000 0
0 16386 22137 3 4 4294967301 6 0 0 %.0f 0x9 10 0 0 -26442 0 16386
305419898 4 0 0 %.0f 0x7 8 9
FAIL: libffi.call/cls_dbls_struct.c -Os output pattern test, is 1.0
0.0
FAIL: libffi.call/cls_longdouble_va.c -Os output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -Os execution test
FAIL: libffi.call/err_bad_typedef.c -Os execution test
FAIL: libffi.call/huge_struct.c -Os output pattern test, is 1 2 3 4
5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 4 5 9 10 %.0f 0x6 7 8 0 0
16386 305419896 1 2 9 10 %.0f 0x3 4 5 6 7 8 0 12682136550675316736
16386 9 10 %.0f 0x12345678 1 2: 3 4 5 6 7 8 218546344456
-5764607523034234880 0 0 %.0f 0x1 2 2 3 4 5 6 140733193388039 8 0 10
%.0f 0x4026000000000000 16 0 16386 22137 3 4 140733193388037
140733193388038 0 0 %.0f 0x9 10 0 0 0 0 16386 305419898 4 0 0 %.0f
0x7 8 9
FAIL: libffi.call/cls_dbls_struct.c -O2 -fomit-frame-pointer output
pattern test, is 1.0 0.0
FAIL: libffi.call/cls_longdouble_va.c -O2 -fomit-frame-pointer
output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O2 -fomit-frame-pointer execution
test
FAIL: libffi.call/err_bad_typedef.c -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/huge_struct.c -O2 -fomit-frame-pointer output
pattern test, is 1 2 3 4 5 6 7 8 9 10 %.0f (nil) 0 2 22136 1 2 3 4 5
9 10 %.0f 0x6 7 8 0 0 16386 305419896 1 2 9 10 %.0f 0x3 4 5 6 7 8 0
12682136550675316736 16386 9 10 %.0f 0x12345678 1 2: 3 4 5 6 7 8 0
-5764607523034234880 0 0 %.0f 0x7fff00000001 2 2 3 4 5 6 7 8 0 10 %.
0f 0x4026000000000000 0 0 16386 22137 3 4 4294967301 6 0 0 %.0f 0x9
10 0 0 -26442 0 16386 305419898 4 0 0 %.0f 0x7 8 9