Peter, I should have added that when I last tested libffi at -m64 on Darwin PPC and saw roughly half of the tests fail...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29152 ...it seemed that the failures were all in the dg-output tests. Hopefully this fix will have some positive results in the libffi testsuite. Jack