Bug 40385 - new testcases bought in by Revision 148285 fail on ia64
Summary: new testcases bought in by Revision 148285 fail on ia64
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libffi (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 10:32 UTC by H.J. Lu
Modified: 2010-04-14 22:29 UTC (History)
3 users (show)

See Also:
Host:
Target: ia64-unknown-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-06-13 19:23:03


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2009-06-09 10:32:01 UTC
On Linux/ia64, revision 148285:

http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg00265.html

caused:

FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall output pattern test, is %.1f
FAIL: libffi.call/cls_longdouble_va.c -O2 -fomit-frame-pointer output pattern test, is %.1f
FAIL: libffi.call/cls_longdouble_va.c -O2 output pattern test, is %.1f
FAIL: libffi.call/cls_longdouble_va.c -O3 output pattern test, is %.1f
FAIL: libffi.call/cls_longdouble_va.c -Os output pattern test, is %.1f
FAIL: libffi.call/err_bad_abi.c -O0 -W -Wall execution test
FAIL: libffi.call/err_bad_abi.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/err_bad_abi.c -O2 execution test
FAIL: libffi.call/err_bad_abi.c -O3 execution test
FAIL: libffi.call/err_bad_abi.c -Os execution test
FAIL: libffi.call/err_bad_typedef.c -O0 -W -Wall execution test
FAIL: libffi.call/err_bad_typedef.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/err_bad_typedef.c -O2 execution test
FAIL: libffi.call/err_bad_typedef.c -O3 execution test
FAIL: libffi.call/err_bad_typedef.c -Os execution test
Comment 1 Andrew Haley 2009-06-09 10:38:26 UTC
These are new tests, and real bugs.  They are not regressions, and may be XFAILed on ia64-unknown-linux-gnu.
Comment 2 Dominique d'Humieres 2009-06-11 20:46:43 UTC
You can add *-apple-darwin9 to the list of platforms on which these tests fail:

/Volumes/MacBook/opt/gcc/i686-darwin/gcc/xgcc  version 4.5.0 20090611 (experimental) [trunk revision 148383] (GCC) 

		=== libffi tests ===


Running target unix
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/err_bad_abi.c -O2 execution test
FAIL: libffi.call/err_bad_typedef.c -O2 execution test
FAIL: libffi.call/err_bad_abi.c -O3 execution test
FAIL: libffi.call/err_bad_typedef.c -O3 execution test
FAIL: libffi.call/err_bad_abi.c -Os execution test
FAIL: libffi.call/err_bad_typedef.c -Os execution test
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

		=== libffi Summary for unix ===

# of expected passes		1594
# of unexpected failures	10
# of unsupported tests		15

Running target unix/-m64
FAIL: libffi.call/closure_loc_fn0.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_dbls_struct.c -O0 -W -Wall output pattern test, is 1.0 0.0
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/closure_loc_fn0.c -O2 execution test
FAIL: libffi.call/cls_dbls_struct.c -O2 output pattern test, is 1.0 0.0
FAIL: libffi.call/err_bad_abi.c -O2 execution test
FAIL: libffi.call/err_bad_typedef.c -O2 execution test
FAIL: libffi.call/closure_loc_fn0.c -O3 execution test
FAIL: libffi.call/cls_dbls_struct.c -O3 output pattern test, is 1.0 0.0
FAIL: libffi.call/err_bad_abi.c -O3 execution test
FAIL: libffi.call/err_bad_typedef.c -O3 execution test
FAIL: libffi.call/closure_loc_fn0.c -Os execution test
FAIL: libffi.call/cls_dbls_struct.c -Os output pattern test, is 1.0 0.0
FAIL: libffi.call/err_bad_abi.c -Os execution test
FAIL: libffi.call/err_bad_typedef.c -Os execution test
FAIL: libffi.call/closure_loc_fn0.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_dbls_struct.c -O2 -fomit-frame-pointer output pattern test, is 1.0 0.0
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

		=== libffi Summary for unix/-m64 ===

# of expected passes		1579
# of unexpected failures	20
# of unsupported tests		15

		=== libffi Summary ===

# of expected passes		3173
# of unexpected failures	30
# of unsupported tests		30

See also http://gcc.gnu.org/ml/gcc-testresults/2009-06/msg00821.html for ppc.
Comment 3 Andrew Pinski 2009-06-13 19:23:03 UTC
As mentioned, this is not a regression, just new testcase changing the summary and removing the target milestone.
Comment 4 Dominique d'Humieres 2009-06-15 09:05:08 UTC
I have applied the following patch on revision 148472

diff -up libffi/testsuite/libffi.call/err_bad_abi.c /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/err_bad_abi.c
--- libffi/testsuite/libffi.call/err_bad_abi.c	2009-06-12 19:21:34.000000000 +0200
+++ /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/err_bad_abi.c	2009-06-15 00:31:41.000000000 +0200
@@ -4,7 +4,7 @@
    PR:			none.
    Originator:	Blake Chaffin 6/6/2007	 */
 
-/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* } } */
+/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* *-apple-* } } */
 #include "ffitest.h"
 
 static void
diff -up libffi/testsuite/libffi.call/err_bad_typedef.c /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/err_bad_typedef.c
--- libffi/testsuite/libffi.call/err_bad_typedef.c	2009-06-12 19:21:34.000000000 +0200
+++ /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/err_bad_typedef.c	2009-06-15 00:31:00.000000000 +0200
@@ -4,7 +4,7 @@
    PR:			none.
    Originator:	Blake Chaffin 6/6/2007	 */
 
-/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* } } */
+/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* *-apple-* } } */
 #include "ffitest.h"
 
 int main (void)

and I get:

		=== libffi tests ===


Running target unix

		=== libffi Summary for unix ===

# of expected passes		1594
# of expected failures		10
# of unsupported tests		15

Running target unix/-m64
FAIL: libffi.call/closure_fn0.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn1.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn2.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn3.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn4.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn5.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn6.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_loc_fn0.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_12byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_16byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_18byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_19byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_1_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_20byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_20byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_24byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_2byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_3byte2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_4_1byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_4byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_5_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_5byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_64byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_6_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_6byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_7_1_byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_7byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_8byte.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_9byte1.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_9byte2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_double.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_float.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble_split.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_pointer.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint16.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint32.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_sint64.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint16.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint32.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_align_uint64.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_dbls_struct.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_double.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_double_va.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_float.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_longdouble.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_longdouble_va.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_schar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_sshort.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_sshortchar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_uchar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_ushort.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_multi_ushortchar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_pointer.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_pointer_stack.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_schar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_sint.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_sshort.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_uchar.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_uint.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_ulonglong.c -O0 -W -Wall execution test
FAIL: libffi.call/cls_ushort.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct1.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct10.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct2.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct3.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct4.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct5.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct6.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct7.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct8.c -O0 -W -Wall execution test
FAIL: libffi.call/nested_struct9.c -O0 -W -Wall execution test
FAIL: libffi.call/problem1.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_large.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_large2.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_medium.c -O0 -W -Wall execution test
FAIL: libffi.call/stret_medium2.c -O0 -W -Wall execution test
FAIL: libffi.call/closure_fn0.c -O2 execution test
FAIL: libffi.call/closure_fn1.c -O2 execution test
FAIL: libffi.call/closure_fn2.c -O2 execution test
FAIL: libffi.call/closure_fn3.c -O2 execution test
FAIL: libffi.call/closure_fn4.c -O2 execution test
FAIL: libffi.call/closure_fn5.c -O2 execution test
FAIL: libffi.call/closure_fn6.c -O2 execution test
FAIL: libffi.call/closure_loc_fn0.c -O2 execution test
FAIL: libffi.call/cls_12byte.c -O2 execution test
FAIL: libffi.call/cls_16byte.c -O2 execution test
FAIL: libffi.call/cls_18byte.c -O2 execution test
FAIL: libffi.call/cls_19byte.c -O2 execution test
FAIL: libffi.call/cls_1_1byte.c -O2 execution test
FAIL: libffi.call/cls_20byte.c -O2 execution test
FAIL: libffi.call/cls_20byte1.c -O2 execution test
FAIL: libffi.call/cls_24byte.c -O2 execution test
FAIL: libffi.call/cls_2byte.c -O2 execution test
FAIL: libffi.call/cls_3_1byte.c -O2 execution test
FAIL: libffi.call/cls_3byte1.c -O2 execution test
FAIL: libffi.call/cls_3byte2.c -O2 execution test
FAIL: libffi.call/cls_4_1byte.c -O2 execution test
FAIL: libffi.call/cls_4byte.c -O2 execution test
FAIL: libffi.call/cls_5_1_byte.c -O2 execution test
FAIL: libffi.call/cls_5byte.c -O2 execution test
FAIL: libffi.call/cls_64byte.c -O2 execution test
FAIL: libffi.call/cls_6_1_byte.c -O2 execution test
FAIL: libffi.call/cls_6byte.c -O2 execution test
FAIL: libffi.call/cls_7_1_byte.c -O2 execution test
FAIL: libffi.call/cls_7byte.c -O2 execution test
FAIL: libffi.call/cls_8byte.c -O2 execution test
FAIL: libffi.call/cls_9byte1.c -O2 execution test
FAIL: libffi.call/cls_9byte2.c -O2 execution test
FAIL: libffi.call/cls_align_double.c -O2 execution test
FAIL: libffi.call/cls_align_float.c -O2 execution test
FAIL: libffi.call/cls_align_longdouble.c -O2 execution test
FAIL: libffi.call/cls_align_longdouble_split.c -O2 execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -O2 execution test
FAIL: libffi.call/cls_align_pointer.c -O2 execution test
FAIL: libffi.call/cls_align_sint16.c -O2 execution test
FAIL: libffi.call/cls_align_sint32.c -O2 execution test
FAIL: libffi.call/cls_align_sint64.c -O2 execution test
FAIL: libffi.call/cls_align_uint16.c -O2 execution test
FAIL: libffi.call/cls_align_uint32.c -O2 execution test
FAIL: libffi.call/cls_align_uint64.c -O2 execution test
FAIL: libffi.call/cls_dbls_struct.c -O2 execution test
FAIL: libffi.call/cls_double.c -O2 execution test
FAIL: libffi.call/cls_double_va.c -O2 execution test
FAIL: libffi.call/cls_float.c -O2 execution test
FAIL: libffi.call/cls_longdouble.c -O2 execution test
FAIL: libffi.call/cls_longdouble_va.c -O2 execution test
FAIL: libffi.call/cls_multi_schar.c -O2 execution test
FAIL: libffi.call/cls_multi_sshort.c -O2 execution test
FAIL: libffi.call/cls_multi_sshortchar.c -O2 execution test
FAIL: libffi.call/cls_multi_uchar.c -O2 execution test
FAIL: libffi.call/cls_multi_ushort.c -O2 execution test
FAIL: libffi.call/cls_multi_ushortchar.c -O2 execution test
FAIL: libffi.call/cls_pointer.c -O2 execution test
FAIL: libffi.call/cls_pointer_stack.c -O2 execution test
FAIL: libffi.call/cls_schar.c -O2 execution test
FAIL: libffi.call/cls_sint.c -O2 execution test
FAIL: libffi.call/cls_sshort.c -O2 execution test
FAIL: libffi.call/cls_uchar.c -O2 execution test
FAIL: libffi.call/cls_uint.c -O2 execution test
FAIL: libffi.call/cls_ulonglong.c -O2 execution test
FAIL: libffi.call/cls_ushort.c -O2 execution test
FAIL: libffi.call/nested_struct.c -O2 execution test
FAIL: libffi.call/nested_struct1.c -O2 execution test
FAIL: libffi.call/nested_struct10.c -O2 execution test
FAIL: libffi.call/nested_struct2.c -O2 execution test
FAIL: libffi.call/nested_struct3.c -O2 execution test
FAIL: libffi.call/nested_struct4.c -O2 execution test
FAIL: libffi.call/nested_struct5.c -O2 execution test
FAIL: libffi.call/nested_struct6.c -O2 execution test
FAIL: libffi.call/nested_struct7.c -O2 execution test
FAIL: libffi.call/nested_struct8.c -O2 execution test
FAIL: libffi.call/nested_struct9.c -O2 execution test
FAIL: libffi.call/problem1.c -O2 execution test
FAIL: libffi.call/stret_large.c -O2 execution test
FAIL: libffi.call/stret_large2.c -O2 execution test
FAIL: libffi.call/stret_medium.c -O2 execution test
FAIL: libffi.call/stret_medium2.c -O2 execution test
FAIL: libffi.call/closure_fn0.c -O3 execution test
FAIL: libffi.call/closure_fn1.c -O3 execution test
FAIL: libffi.call/closure_fn2.c -O3 execution test
FAIL: libffi.call/closure_fn3.c -O3 execution test
FAIL: libffi.call/closure_fn4.c -O3 execution test
FAIL: libffi.call/closure_fn5.c -O3 execution test
FAIL: libffi.call/closure_fn6.c -O3 execution test
FAIL: libffi.call/closure_loc_fn0.c -O3 execution test
FAIL: libffi.call/cls_12byte.c -O3 execution test
FAIL: libffi.call/cls_16byte.c -O3 execution test
FAIL: libffi.call/cls_18byte.c -O3 execution test
FAIL: libffi.call/cls_19byte.c -O3 execution test
FAIL: libffi.call/cls_1_1byte.c -O3 execution test
FAIL: libffi.call/cls_20byte.c -O3 execution test
FAIL: libffi.call/cls_20byte1.c -O3 execution test
FAIL: libffi.call/cls_24byte.c -O3 execution test
FAIL: libffi.call/cls_2byte.c -O3 execution test
FAIL: libffi.call/cls_3_1byte.c -O3 execution test
FAIL: libffi.call/cls_3byte1.c -O3 execution test
FAIL: libffi.call/cls_3byte2.c -O3 execution test
FAIL: libffi.call/cls_4_1byte.c -O3 execution test
FAIL: libffi.call/cls_4byte.c -O3 execution test
FAIL: libffi.call/cls_5_1_byte.c -O3 execution test
FAIL: libffi.call/cls_5byte.c -O3 execution test
FAIL: libffi.call/cls_64byte.c -O3 execution test
FAIL: libffi.call/cls_6_1_byte.c -O3 execution test
FAIL: libffi.call/cls_6byte.c -O3 execution test
FAIL: libffi.call/cls_7_1_byte.c -O3 execution test
FAIL: libffi.call/cls_7byte.c -O3 execution test
FAIL: libffi.call/cls_8byte.c -O3 execution test
FAIL: libffi.call/cls_9byte1.c -O3 execution test
FAIL: libffi.call/cls_9byte2.c -O3 execution test
FAIL: libffi.call/cls_align_double.c -O3 execution test
FAIL: libffi.call/cls_align_float.c -O3 execution test
FAIL: libffi.call/cls_align_longdouble.c -O3 execution test
FAIL: libffi.call/cls_align_longdouble_split.c -O3 execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -O3 execution test
FAIL: libffi.call/cls_align_pointer.c -O3 execution test
FAIL: libffi.call/cls_align_sint16.c -O3 execution test
FAIL: libffi.call/cls_align_sint32.c -O3 execution test
FAIL: libffi.call/cls_align_sint64.c -O3 execution test
FAIL: libffi.call/cls_align_uint16.c -O3 execution test
FAIL: libffi.call/cls_align_uint32.c -O3 execution test
FAIL: libffi.call/cls_align_uint64.c -O3 execution test
FAIL: libffi.call/cls_dbls_struct.c -O3 execution test
FAIL: libffi.call/cls_double.c -O3 execution test
FAIL: libffi.call/cls_double_va.c -O3 execution test
FAIL: libffi.call/cls_float.c -O3 execution test
FAIL: libffi.call/cls_longdouble.c -O3 execution test
FAIL: libffi.call/cls_longdouble_va.c -O3 execution test
FAIL: libffi.call/cls_multi_schar.c -O3 execution test
FAIL: libffi.call/cls_multi_sshort.c -O3 execution test
FAIL: libffi.call/cls_multi_sshortchar.c -O3 execution test
FAIL: libffi.call/cls_multi_uchar.c -O3 execution test
FAIL: libffi.call/cls_multi_ushort.c -O3 execution test
FAIL: libffi.call/cls_multi_ushortchar.c -O3 execution test
FAIL: libffi.call/cls_pointer.c -O3 execution test
FAIL: libffi.call/cls_pointer_stack.c -O3 execution test
FAIL: libffi.call/cls_schar.c -O3 execution test
FAIL: libffi.call/cls_sint.c -O3 execution test
FAIL: libffi.call/cls_sshort.c -O3 execution test
FAIL: libffi.call/cls_uchar.c -O3 execution test
FAIL: libffi.call/cls_uint.c -O3 execution test
FAIL: libffi.call/cls_ulonglong.c -O3 execution test
FAIL: libffi.call/cls_ushort.c -O3 execution test
FAIL: libffi.call/nested_struct.c -O3 execution test
FAIL: libffi.call/nested_struct1.c -O3 execution test
FAIL: libffi.call/nested_struct10.c -O3 execution test
FAIL: libffi.call/nested_struct2.c -O3 execution test
FAIL: libffi.call/nested_struct3.c -O3 execution test
FAIL: libffi.call/nested_struct4.c -O3 execution test
FAIL: libffi.call/nested_struct5.c -O3 execution test
FAIL: libffi.call/nested_struct6.c -O3 execution test
FAIL: libffi.call/nested_struct7.c -O3 execution test
FAIL: libffi.call/nested_struct8.c -O3 execution test
FAIL: libffi.call/nested_struct9.c -O3 execution test
FAIL: libffi.call/problem1.c -O3 execution test
FAIL: libffi.call/stret_large.c -O3 execution test
FAIL: libffi.call/stret_large2.c -O3 execution test
FAIL: libffi.call/stret_medium.c -O3 execution test
FAIL: libffi.call/stret_medium2.c -O3 execution test
FAIL: libffi.call/closure_fn0.c -Os execution test
FAIL: libffi.call/closure_fn1.c -Os execution test
FAIL: libffi.call/closure_fn2.c -Os execution test
FAIL: libffi.call/closure_fn3.c -Os execution test
FAIL: libffi.call/closure_fn4.c -Os execution test
FAIL: libffi.call/closure_fn5.c -Os execution test
FAIL: libffi.call/closure_fn6.c -Os execution test
FAIL: libffi.call/closure_loc_fn0.c -Os execution test
FAIL: libffi.call/cls_12byte.c -Os execution test
FAIL: libffi.call/cls_16byte.c -Os execution test
FAIL: libffi.call/cls_18byte.c -Os execution test
FAIL: libffi.call/cls_19byte.c -Os execution test
FAIL: libffi.call/cls_1_1byte.c -Os execution test
FAIL: libffi.call/cls_20byte.c -Os execution test
FAIL: libffi.call/cls_20byte1.c -Os execution test
FAIL: libffi.call/cls_24byte.c -Os execution test
FAIL: libffi.call/cls_2byte.c -Os execution test
FAIL: libffi.call/cls_3_1byte.c -Os execution test
FAIL: libffi.call/cls_3byte1.c -Os execution test
FAIL: libffi.call/cls_3byte2.c -Os execution test
FAIL: libffi.call/cls_4_1byte.c -Os execution test
FAIL: libffi.call/cls_4byte.c -Os execution test
FAIL: libffi.call/cls_5_1_byte.c -Os execution test
FAIL: libffi.call/cls_5byte.c -Os execution test
FAIL: libffi.call/cls_64byte.c -Os execution test
FAIL: libffi.call/cls_6_1_byte.c -Os execution test
FAIL: libffi.call/cls_6byte.c -Os execution test
FAIL: libffi.call/cls_7_1_byte.c -Os execution test
FAIL: libffi.call/cls_7byte.c -Os execution test
FAIL: libffi.call/cls_8byte.c -Os execution test
FAIL: libffi.call/cls_9byte1.c -Os execution test
FAIL: libffi.call/cls_9byte2.c -Os execution test
FAIL: libffi.call/cls_align_double.c -Os execution test
FAIL: libffi.call/cls_align_float.c -Os execution test
FAIL: libffi.call/cls_align_longdouble.c -Os execution test
FAIL: libffi.call/cls_align_longdouble_split.c -Os execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -Os execution test
FAIL: libffi.call/cls_align_pointer.c -Os execution test
FAIL: libffi.call/cls_align_sint16.c -Os execution test
FAIL: libffi.call/cls_align_sint32.c -Os execution test
FAIL: libffi.call/cls_align_sint64.c -Os execution test
FAIL: libffi.call/cls_align_uint16.c -Os execution test
FAIL: libffi.call/cls_align_uint32.c -Os execution test
FAIL: libffi.call/cls_align_uint64.c -Os execution test
FAIL: libffi.call/cls_dbls_struct.c -Os execution test
FAIL: libffi.call/cls_double.c -Os execution test
FAIL: libffi.call/cls_double_va.c -Os execution test
FAIL: libffi.call/cls_float.c -Os execution test
FAIL: libffi.call/cls_longdouble.c -Os execution test
FAIL: libffi.call/cls_longdouble_va.c -Os execution test
FAIL: libffi.call/cls_multi_schar.c -Os execution test
FAIL: libffi.call/cls_multi_sshort.c -Os execution test
FAIL: libffi.call/cls_multi_sshortchar.c -Os execution test
FAIL: libffi.call/cls_multi_uchar.c -Os execution test
FAIL: libffi.call/cls_multi_ushort.c -Os execution test
FAIL: libffi.call/cls_multi_ushortchar.c -Os execution test
FAIL: libffi.call/cls_pointer.c -Os execution test
FAIL: libffi.call/cls_pointer_stack.c -Os execution test
FAIL: libffi.call/cls_schar.c -Os execution test
FAIL: libffi.call/cls_sint.c -Os execution test
FAIL: libffi.call/cls_sshort.c -Os execution test
FAIL: libffi.call/cls_uchar.c -Os execution test
FAIL: libffi.call/cls_uint.c -Os execution test
FAIL: libffi.call/cls_ulonglong.c -Os execution test
FAIL: libffi.call/cls_ushort.c -Os execution test
FAIL: libffi.call/nested_struct.c -Os execution test
FAIL: libffi.call/nested_struct1.c -Os execution test
FAIL: libffi.call/nested_struct10.c -Os execution test
FAIL: libffi.call/nested_struct2.c -Os execution test
FAIL: libffi.call/nested_struct3.c -Os execution test
FAIL: libffi.call/nested_struct4.c -Os execution test
FAIL: libffi.call/nested_struct5.c -Os execution test
FAIL: libffi.call/nested_struct6.c -Os execution test
FAIL: libffi.call/nested_struct7.c -Os execution test
FAIL: libffi.call/nested_struct8.c -Os execution test
FAIL: libffi.call/nested_struct9.c -Os execution test
FAIL: libffi.call/problem1.c -Os execution test
FAIL: libffi.call/stret_large.c -Os execution test
FAIL: libffi.call/stret_large2.c -Os execution test
FAIL: libffi.call/stret_medium.c -Os execution test
FAIL: libffi.call/stret_medium2.c -Os execution test
FAIL: libffi.call/closure_fn0.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn3.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn4.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn5.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_fn6.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/closure_loc_fn0.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_12byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_16byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_18byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_19byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_1_1byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_20byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_20byte1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_24byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_2byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_3_1byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_3byte1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_3byte2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_4_1byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_4byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_5_1_byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_5byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_64byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_6_1_byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_6byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_7_1_byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_7byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_8byte.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_9byte1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_9byte2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_double.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_float.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_longdouble.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_longdouble_split.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_longdouble_split2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_pointer.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_sint16.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_sint32.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_sint64.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_uint16.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_uint32.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_align_uint64.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_dbls_struct.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_double.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_double_va.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_float.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_longdouble.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_longdouble_va.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_schar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_sshort.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_sshortchar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_uchar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_ushort.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_multi_ushortchar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_pointer.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_pointer_stack.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_schar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_sint.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_sshort.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_uchar.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_uint.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_ulonglong.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/cls_ushort.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct10.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct3.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct4.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct5.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct6.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct7.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct8.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/nested_struct9.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/problem1.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/stret_large.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/stret_large2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/stret_medium.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.call/stret_medium2.c -O2 -fomit-frame-pointer execution test
FAIL: libffi.special/unwindtest.cc  -shared-libgcc -lstdc++ execution test
FAIL: libffi.special/unwindtest.cc  -shared-libgcc -lstdc++ execution test
FAIL: libffi.special/unwindtest.cc  -shared-libgcc -lstdc++ execution test
FAIL: libffi.special/unwindtest.cc  -shared-libgcc -lstdc++ execution test

		=== libffi Summary for unix/-m64 ===

# of expected passes		776
# of unexpected failures	409
# of expected failures		10
# of unsupported tests		15

		=== libffi Summary ===

# of expected passes		2370
# of unexpected failures	409
# of expected failures		20
# of unsupported tests		30

So libffi has been badly broken for -m64 by some revision between 148383 and 148472.

Also could someone answer the question I asked on http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00929.html:

> Is there any platform on which testsuite/libffi.call/err_bad_abi.c and 
> err_bad_typedef.c pass? see pr40385.

It was not meant to be a (bad) joke.

Comment 5 Andrew Haley 2009-06-15 09:07:35 UTC
That probably is my fault.  However, I can't do anything about it until I see the testsuite log file.
Comment 6 Andrew Haley 2009-06-15 09:08:53 UTC
Re http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00929.html:

That was answered on Fri, 12 Jun by Kaz Kojima.
Comment 7 Dominique d'Humieres 2009-06-15 09:19:30 UTC
> That probably is my fault.  However, I can't do anything about it until I see
> the testsuite log file.

The log file looks like:

...
Executing on host: /opt/gcc/i686-darwin/gcc/xgcc -B/opt/gcc/i686-darwin/gcc/ /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/closure_fn0.c  -O0 -W -Wall  -I/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libffi/include -I/opt/gcc/gcc-4.5-work/libffi/testsuite/../include  -I/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libffi/include/.. -L/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libffi/.libs -L/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libstdc++-v3/src/.libs  -shared-libgcc -lffi -lm   -m64 -o ./closure_fn0.exe    (timeout = 300)
PASS: libffi.call/closure_fn0.c -O0 -W -Wall (test for excess errors)
Setting LD_LIBRARY_PATH to .:/opt/gcc/i686-darwin/gcc:/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libffi/.libs:/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libstdc++-v3/src/.libs:.:/opt/gcc/i686-darwin/gcc:/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libffi/.libs:/opt/gcc/i686-darwin/i686-apple-darwin9/x86_64/libstdc++-v3/src/.libs
FAIL: libffi.call/closure_fn0.c -O0 -W -Wall execution test
...

Quite terse, isn't it? What would you need precisely?

Comment 8 Dominique d'Humieres 2009-06-15 09:24:40 UTC
> That was answered on Fri, 12 Jun by Kaz Kojima.

Not exactly, it answered about some future goal of the tests, but without any name of platform(s) on which they work. My implicit question is "does it make any sense to add XFAILed platforms instead of *-*-*, if the tests do not pass on any known platform?"

Comment 9 Andrew Haley 2009-06-15 09:29:34 UTC
I need to know why it's crashing.  Usually there's some sort of error message.  If there's not, there's no choice but to debug.

This Darwin problem is clearly not the same bug as 40385, so it needs a new Bugzilla entry.

I expect that a patch to xfail err_bad_abi.c on *-*-* would be approved.
Comment 10 Dominique d'Humieres 2009-06-15 09:42:32 UTC
> This Darwin problem is clearly not the same bug as 40385, so it needs a new
> Bugzilla entry.

This is now pr40444.

> I expect that a patch to xfail err_bad_abi.c on *-*-* would be approved.

Probably err_bad_typedef.c also.

Comment 11 Steve Ellcey 2010-04-14 22:29:21 UTC
I am going to close out this bug report since there are currently no failures on IA64, only expected failures for libffi.call/err_bad_abi.c and libffi.call/err_bad_typedef.c which are XFAIL'ed for all platforms.