GHC 6.8.1 port on FreeBSD-amd64?

Wilhelm B. Kloke wb at arb-phys.uni-dortmund.de
Fri Nov 23 07:30:06 EST 2007


As I have got an amd64 machine again, I am returning to my previous
porting effort.

When I try to build to .hc files on i386 system, I
get the following error:
> ...
> gmake[2]: Entering directory `/usr/home/wb/ghc-6.8.1/libraries/unix'
> ../../compiler/stage1/ghc-inplace -package-name unix-2.2.0.0 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsUnix.h" -#include "execvpe.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.0.0 -package directory-1.0.0.0 -O -XCPP -XForeignFunctionInterface -idist/build  -H32m -O0 -fasm -Rghc-timing -keep-hc-files -O -c dist/build/System/Posix/Process.hs -o dist/build/System/Posix/Process.o  -ohi dist/build/System/Posix/Process.hi
> Prologue junk?:         .type   s32x_ret, @function
> s32x_ret:
>         pushl   %ebp
>         movl    %esp, %ebp
> 
> <<ghc: 114363808 bytes, 9 GCs, 2951168/5799936 avg/max bytes residency (2 samples), 33M in use, 0.00 INIT (0.00 elapsed), 0.78 MUT (2.33 elapsed), 0.20 GC (0.23 elapsed) :ghc>>
> gmake[2]: *** [dist/build/System/Posix/Process.o] Fehler 255
> gmake[2]: Leaving directory `/usr/home/wb/ghc-6.8.1/libraries/unix'
> gmake[1]: *** [make.library.unix] Fehler 2
> gmake[1]: Leaving directory `/usr/home/wb/ghc-6.8.1/libraries'
> gmake: *** [stage1] Fehler 2

which I don't understand at all. The build of ghc-6.8.1 for native
use on a FreeBSD-6.2 i386 did not cause any problems.

Perhaps someone else has done the porting work already. Please give me
a note, if anybody is able to provide me a set of files to get the
bootstrap further.
-- 
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
PGP: http://vestein.arb-phys.uni-dortmund.de/~wb/mypublic.key



More information about the Glasgow-haskell-users mailing list