.hc files for building ghc-6.4.1 on amd64 ?
Wilhelm B. Kloke
wb at arb-phys.uni-dortmund.de
Sat Sep 17 17:04:54 EDT 2005
Simon Marlow <simonmar at microsoft.com> schrieb:
> On 12 September 2005 12:53, Wilhelm B. Kloke wrote:
>
>> BTW, should I hold my breath for 6.4.1?
>
> You should certainly bootstrap using a 6.4.1 snapshot source tree,
> because there have been plenty of amd64-related fixes. There won't be a
> lot of change between now and the 6.4.1 release.
I tried it again today. One of my problems was related to gmake version.
The configure script should warn, if gmake is older than 3.80 (I had 3.78).
The building of the .hc bundle fails wirth the following messages:
...
tar czf ghc-6.4.1-x86_64-unknown-freebsd-hc.tar.gz `cat hc-files-to-go`
tar: ghc-6.4.1/ghc/rts/PrimOps.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/StgStartup.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/StgStdThunks.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/Updates.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/Apply.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/Exception.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/HeapStackCheck.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/ghc/rts/StgMiscClosures.hc: Cannot stat: No such file or directory
tar: ghc-6.4.1/libraries/haskell-src/Language/Haskell/Parser.hs: Cannot stat: No such file or directory
gmake: *** [hc-file-bundle] Fehler 1
I tried to go back to ghc/rts to build more files following the ipattern of
the last steps before, but this destroys genapply.
Further, there are some hsc.c files of length 0 like:
~/Haskell/fptools-i386amd64/ghc-6.4.1 0$ ls -l libraries/base/System/*hsc.c
-rw-r--r-- 1 wb ifado 0 17 Sep 21:31 libraries/base/System/CPUTime_hsc.c
-rw-r--r-- 1 wb ifado 0 17 Sep 21:31 libraries/base/System/Time_hsc.c
The building process on the target system fails with messages that
there is no rule to build those files. Also, I needed to have happy and alex
on the target system, because make boot fails without them (catch 22).
A final glitch is that (at least, my) FreeBSD-amd64-6.0 gcc does not
include -I/usr/local/include and -L/usr/local/lib in the search path.
So libgmp is not found.
--
Dipl.-Math. Wilhelm Bernhard Kloke
Institut fuer Arbeitsphysiologie an der Universitaet Dortmund
Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
More information about the Glasgow-haskell-users
mailing list