
On Thu, Aug 04, 2011 at 12:51:01PM +0100, Simon Marlow wrote:
On 04/08/2011 05:35, Jens Petersen wrote:
On 3 August 2011 19:01, Jens Petersen
wrote: Unexpected failures: [...] ffi/should_run fed001 [bad exit code] (normal) [...]
from http://koji.fedoraproject.org/koji/getfile?taskID=3251249&name=build.log .
The packages can be downloaded and installed as described in the previous mail from http://kojipkgs.fedoraproject.org/scratch/petersen/task_3251246
This looks like breakage in foreign import "wrapper". That's pretty serious - please open a ticket, and include as many details as possible.
The build log says: =====> fed001(normal) 634 of 2894 [0, 0, 0] cd ./ffi/should_run && '/builddir/build/BUILD/ghc-7.2.0.20110728/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -o fed001 fed001.hs >fed001.comp.stderr 2>&1 cd ./ffi/should_run && ./fed001 fed001.run.stdout 2>fed001.run.stderr /bin/sh: line 1: 32288 Segmentation fault ./fed001 < /dev/null > fed001.run.stdout 2> fed001.run.stderr Wrong exit code (expected 0 , actual 139 ) Stdout: Stderr: *** unexpected failure for fed001(normal) but it works fine for me on x86/Linux.
Note the Fedora build is patched to use system libffi.
Hmm. What happens if you don't patch it? Thanks Ian