With a fresh darcs pull today, trying to build ghc for the first time on
MacOS X (10.4).  I followed the instructions in the HACKING guide
(mk/build.mk is exactly as shown there).

    $ ./darcs-all pull -a
    $ autoreconf
    $ ./configure
    $ make
    ....
    ../compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. 
-optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer 
-optc-fno-strict-aliasing -H32m -O -fasm -Rghc-timing -optc-O2 -static -I. 
-#include HCIncludes.h -fvia-C -dcmm-lint  -hisuf thr_hi -hcsuf thr_hc -osuf 
thr_o -optc-DTHREADED_RTS   -c posix/Signals.c -o posix/Signals.thr_o
    posix/Signals.c: In function 'ioManagerStart':

    posix/Signals.c:150:0:
         error: 'GHCziConc_ensureIOManagerIsRunning_closure' undeclared (first 
use in this function)

    posix/Signals.c:150:0:
         error: (Each undeclared identifier is reported only once

    posix/Signals.c:150:0:  error: for each function it appears in.)
    <<ghc: 2268228 bytes, 2 GCs, 46664/46664 avg/max bytes residency (1 
samples), 24M in use, 0.00 INIT (0.00 elapsed), 0.01 MUT (0.11 elapsed), 0.01 
GC (0.02 elapsed) :ghc>>
    make[2]: *** [posix/Signals.thr_o] Error 1
    make[1]: *** [all] Error 1
    make: *** [stage1] Error 1

Any ideas what is going wrong?  With all those -optc options, it kind of
looks like the -fasm flag in mk/build.mk is not being respected, but
maybe that is a red herring.  Perhaps I should have disabled the
threaded RTS somehow?

Previously installed ghc is 6.4.1.  gcc is 4.0.1 (Apple build 5247).

Regards,
    Malcolm
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to