This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: About testing other languages: was RE: [C++ PATCH, committed] Fix libstdc++ regressions due to my access checking changes


Andrew Haley writes:

> The invocation interface is busted, probably because IRIX libffi is
> broken.  Maybe it has no unwind info or broken inwind info, and maybe
> libffi closures don't work.  libffi has its own test suite, and that's
> the place to start.

Running the N32 ffitest, I get

long long tests not run. This is a known bug on this architecture.
509 return value tests run
long double return value tests ok!
2147483647 vs 2
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 675

If I comment the exit(EXIT_FAILURE) in ffitest.c (fail), the test gets
further:

long long tests not run. This is a known bug on this architecture.
509 return value tests run
long double return value tests ok!
2147483647 vs 2
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 677
float arg tests ok!
strlen tests passed
double return value tests ok!
many arg tests ok!
1383096 promotion tests run
structure test 1 ok!

5.55
6.66
4.55
5.66
structure test 2 ok!
0 246
Structure test 3 found structure passing bug.
  Current versions of GCC are not 100% compliant with the
  n32 ABI.  There is a known problem related to passing
  small structures.  Send a bug report to the gcc maintainers.
Bus error

For N64, I get

long long tests not run. This is a known bug on this architecture.
Test failure: /vol/gnu/src/gcc/gcc-dist/libffi/src/ffitest.c line 586

Obviously the N64 ABI isn't supported at all: judging from
include/ffi_mips.h, N64 is treated like O32 ;-(

Besides, ffi.h doesn't define FFI_CLOSURES for MIPS.

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]