On 31 Jan 2012, at 20:35, Mark H Weaver wrote: >>>> The 'make check' gives this error, on OS X 10.7.2 using the compiler >>>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 supplied by Xcode 4.2.1: >>>> >>>> PASS: test-asmobs >>>> bad return from expression `(f-sum -1 2000 -30000 40000000000)': expected >>>> 39999971999; got 39999972255 >>> >>> I may be stating the obvious here, but the -1, which is declared to be >>> of type 'scm_t_int8' in the C function being called, is apparently being >>> interpreted as 255. This suggests that whatever is handling its >>> promotion to a full int is failing to extend its sign bit. I'm guessing >>> that this is libffi's job. >> >> It is broken (libffi from GIT, the only that works on OX 10.7): > > You need to install DejaGnu in order to run libffi's test suite. > <http://www.gnu.org/software/dejagnu/>
It seem they passed (not giving any details). Hans Test Run on Tue Jan 31 20:51:33 2012 Native configuration is x86_64-apple-darwin11.2.0 === libffi tests === Schedule of variations: unix Running target unix Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/local/src/libffi/git/libffi/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/local/src/libffi/git/libffi/testsuite/libffi.call/call.exp ... Running /usr/local/src/libffi/git/libffi/testsuite/libffi.special/special.exp ... === libffi Summary === # of expected passes 1659 # of unsupported tests 15 Making check in man make[1]: Nothing to be done for `check'. make[1]: Nothing to be done for `check-am'.