Preparing a Registered hc-file-bundle (Was Bootstrapping with
HC files)
Andrew Walrond
andrew at walrond.org
Tue Dec 13 13:58:12 EST 2005
Well, I gave it a blast anyway. All went well creating the hc files until the
last command:
> $ make hc-file-bundle Project=Ghc
at which point it failed with
tar czf ghc-6.4.1-x86_64-unknown-linux-hc.tar.gz `cat hc-files-to-go`
tar: ghc-6.4.1/ghc/rts/AutoApply_thr.hc: Cannot stat: No such file or
directory
tar: ghc-6.4.1/ghc/rts/AutoApply_thr_p.hc: Cannot stat: No such file or
directory
tar: ghc-6.4.1/ghc/rts/AutoApply_debug.hc: Cannot stat: No such file or
directory
tar: Error exit delayed from previous errors
make: *** [hc-file-bundle] Error 2
Googling suggests this might be harmless, so I tried bootstrapping on the
target machine using the created tarball, but that failed with
/bin/ld: cannot find -lghccompat
collect2: ld returned 1 exit status
make[1]: *** [stage1/ghc-6.4.1] Error 1
make: *** [all] Error 1
make: Leaving directory `/home/andrew/test/ghc/bs/target/ghc-6.4.1/ghc'
Any pointers gladly accepted!
Andrew Walrond
More information about the Glasgow-haskell-users
mailing list