This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
PowerPC failures (Was: [PATCH] Add variadic support)
- From: Anthony Green <green at redhat dot com>
- To: "Dr. David Alan Gilbert" <david dot gilbert at linaro dot org>
- Cc: libffi-discuss at sourceware dot org, Marcus dot Shawcroft at arm dot com, cltang at linaro dot org
- Date: Wed, 23 Feb 2011 16:17:38 -0500
- Subject: PowerPC failures (Was: [PATCH] Add variadic support)
- References: <20110222154022.GA29862@davesworkthinkpad>
"Dr. David Alan Gilbert" <david.gilbert@linaro.org> writes:
> 2) I've tested it on i386 (1659 expected passes, 15 unsupported),
> armel (1654 expected passes, 5 unexpecteed passes (cls_longdouble.c), 15 unsupported)
> armhf (1654 expected passes, 5 unexpecteed passes (cls_longdouble.c), 15 unsupported)
> s390x (1639 expected passes, 5 unexpected failures - err_bad_abi.c)
> Those cls_longdouble unexpected passes and err_bad_abi.c
> failure are there in the current head.
> powerpc64 seems to be broken on current head, but I tested this patch
> on powerpc64 on the .0.9 release and it was OK.
I just tested the head on powerpc64-unknown-linux-gnu and had no
problems. You appear to be testing powerpc64-unknown-linux-gnu like me,
but with a different gcc and binutils version.
You wrote on the wiki...
> Failure is src/powerpc/ffi.c:961 where cif->abi is expected to be
> FFI_GCC_SYSV or FFI_SYSV but is getting FFI_LINUX
Line 961 is only run when POWERPC64 isn't defined.
POWERPC64 is defined in src/powerpc/ffitarget.h. Could you please see
why it's not being defined in your build environment?
Thanks!
AG