progress on Freebsd-amd64 (Was: .hc files for building
ghc-6.4.1 onamd64 ?)
simonmar at microsoft.com
Thu Sep 22 04:49:03 EDT 2005
On 21 September 2005 21:14, Wilhelm B. Kloke wrote:
> Simon Marlow <simonmar at microsoft.com> schrieb:
>> Int64# primitive type (it's the same as Int#). You might want to
>> make sure that ghc/includes/ghcautoconf.h on the host machine is the
>> right one - it should have been copied from the target machine.
> Yes. ghcautoconf.h had been rebuilt accidentally.
> Now I have an unregisterised ghc-inplace. What is the fastest way to
> test its usability?
You should be able to build a simple Haskell program and run it, like
$ cat >hello.hs
main = putStrLn "hello world!"
$ $target/ghc/compiler/ghc-inplace hello.hs
> The next failure is at Control/Arrow.hc after reconfiguration in
> ==fptools== gmake all -wr;
> in /data/home/wb/Haskell/fptools-amd64/ghc-6.4.1/libraries/base
> gcc -x c Control/Arrow.hc -o Control/Arrow.raw_s -S -O
> -D__GLASGOW_HASKELL__=604 -O
> -I. `echo | sed 's/^$/-DSTOLEN_X86_REGS=4/'` Control/Arrow.hc: In
> function `s39r_entry':
> Control/Arrow.hc:25: error: `stg_ap_p_ret' undeclared (first use in
> this function)
> Control/Arrow.hc:25: error: (Each undeclared identifier is reported
> only once
> Control/Arrow.hc:25: error: for each function it appears in.)
> Control/Arrow.hc: In function `s39v_entry':
> Control/Arrow.hc:46: error: `stg_ap_p_ret' undeclared (first use in
> this function) ...
Just to confirm - this is at the stage after "*** Building libraries..."
I don't think the reconfigure step has worked properly. It still seems
to be attempting to compile the .hc file, when in fact it should be
using ghc-inplace to compile the .hs file.
Check that mk/config.mk has BootingFromUnregisterisedHc=NO and
More information about the Glasgow-haskell-users