On 17/12/2011 21:10, Karel Gardas wrote:

Hello,

first I've not followed GHC development for about 2 months now so I'm
sorry if this is well known information.

Now I'm compiling ghc-7.4.0.20111215 snapshot obtained from haskell.org
on my ARM/Linux system. This fails with:

"inplace/bin/ghc-stage1" -H32m -O -package-name base-4.5.0.0
-hide-all-packages -i -ilibraries/base/.
-ilibraries/base/dist-install/build
-ilibraries/base/dist-install/build/autogen
-Ilibraries/base/dist-install/build
-Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include
-optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
-optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package
ghc-prim-0.2.0.0 -package integer-gmp-0.4.0.0 -package rts-1.0
-package-name base -XHaskell98 -XCPP -O2 -no-user-package-conf -rtsopts
-odir libraries/base/dist-install/build -hidir
libraries/base/dist-install/build -stubdir
libraries/base/dist-install/build -hisuf hi -osuf o -hcsuf hc -c
libraries/base/./System/Posix/Internals.hs -o
libraries/base/dist-install/build/System/Posix/Internals.o

/tmp/ghc29799_0/ghc29799_0.c:4:17:
fatal error: ffi.h: No such file or directory
compilation terminated.
make[1]: ***
[libraries/base/dist-install/build/System/Posix/Internals.o] Error 1


I've copied rts/dist/build/ffi.h and rts/dist/build/ffitarget.h into
includes/. directory and compilation so far continues well.

May I asks if this is known issue with this snapshot or if I'm just
alone on this so I shall investigate more? BTW: I've started compilation
with -j2 so this might also be some race-condition in build machinery...

This should have been fixed by


http://hackage.haskell.org/trac/ghc/changeset/616b669738e6ddaf0588957ad974b91944420983

Ian, could you merge it please?

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to