[Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
howarth at bromo dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Thu Jan 15 19:55:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #23 from howarth at bromo dot med.uc.edu ---
The failures in Comment 8 at -m32 on x86_64 darwin appear to be eliminated with
this change...
Index: libffi/include/ffi.h.in
===================================================================
--- libffi/include/ffi.h.in (revision 219681)
+++ libffi/include/ffi.h.in (working copy)
@@ -494,7 +494,11 @@ void ffi_call(ffi_cif *cif,
#define FFI_TYPE_COMPLEX 15
/* This should always refer to the last type code (for sanity checks) */
+#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
#define FFI_TYPE_LAST FFI_TYPE_COMPLEX
+#else
+#define FFI_TYPE_LAST FFI_TYPE_POINTER
+#endif
#ifdef __cplusplus
}
which I guess makes sense as Darwin doesn't support
FFI_TARGET_HAS_COMPLEX_TYPE.
Test Run By root on Thu Jan 15 14:52:03 2015
Native configuration is x86_64-apple-darwin14.1.0
=== libffi tests ===
Schedule of variations:
unix/-m32
Running target unix/-m32
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.call/call.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.complex/complex.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.go/go.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.special/special.exp
...
=== libffi Summary ===
# of expected passes 1904
# of unsupported tests 30
More information about the Gcc-bugs
mailing list