Subject: bug#10645: Guile 2.0.3: fails make check on s390x in test-ffi

From: Mark H Weaver <[email-masked]>
Date: Tue, 31 Jan 2012 13:47:18 -0500

Rob Browning <[email-masked]> writes:
> Make check fails on the s390x architecture:
[...]
>   ERROR: incorrect result (7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7)
>   FAIL: test-ffi
>
> You can see the full build log here:
>
> https://buildd.debian.org/status/fetch.php?pkg=guile-2.0&arch=s390x&ver=2.0.3%2B1-3&stamp=1327875038

I suspect this is a bug in libffi.  The most recent Debian build log for
libffi on s390x/sid shows several failures during its 'make check'.

    Thanks,
      Mark

https://buildd.debian.org/status/fetch.php?pkg=libffi&arch=s390x&ver=3.0.10-3%2Bb1&stamp=1322451421

> Test Run By buildd on Mon Nov 28 03:35:35 2011
> Native configuration is s390x-ibm-linux-gnu
> 
>                 === libffi tests ===
> 
> Schedule of variations:
>     unix
> 
> Running target unix
> Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
> Using /build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/testsuite/config/default.exp as tool-and-target-specific interface file.
> Running /build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/testsuite/libffi.call/call.exp ...
> FAIL: libffi.call/err_bad_abi.c -O0 -W -Wall execution test
> FAIL: libffi.call/err_bad_abi.c -O2 execution test
> FAIL: libffi.call/err_bad_abi.c -O3 execution test
> FAIL: libffi.call/err_bad_abi.c -Os execution test
> FAIL: libffi.call/err_bad_abi.c -O2 -fomit-frame-pointer execution test
> Running /build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/testsuite/libffi.special/special.exp ...
> 
>                 === libffi Summary ===
> 
> # of expected passes            1644
> # of unexpected failures        5
> # of unsupported tests          15
> make[3]: *** [check-DEJAGNU] Error 1
> make[3]: Leaving directory `/build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/build/testsuite'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/build/testsuite'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/build/buildd-libffi_3.0.10-3+b1-s390x-FETPHI/libffi-3.0.10/build'