* Test failures
@ 2009-06-05 15:24 Andrew Haley
2009-06-05 17:48 ` Timothy Wall
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Haley @ 2009-06-05 15:24 UTC (permalink / raw)
To: libffi-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Test failures
2009-06-05 15:24 Test failures Andrew Haley
@ 2009-06-05 17:48 ` Timothy Wall
2009-06-05 17:58 ` Andrew Haley
0 siblings, 1 reply; 3+ messages in thread
From: Timothy Wall @ 2009-06-05 17:48 UTC (permalink / raw)
To: Andrew Haley; +Cc: libffi-discuss
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Test failures
2009-06-05 17:48 ` Timothy Wall
@ 2009-06-05 17:58 ` Andrew Haley
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2009-06-05 17:58 UTC (permalink / raw)
To: Timothy Wall; +Cc: libffi-discuss
Timothy Wall wrote:
> 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?).
I'll have a look.
> IIRC, XFAIL won't avoid the "(test for excess errors)" compilation
> failures.
I looked at the cls_dbls_struct.c failure on x86_64, and we don't
handle doubles in structs correctly.
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-05 17:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05 15:24 Test failures Andrew Haley
2009-06-05 17:48 ` Timothy Wall
2009-06-05 17:58 ` Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).