Simon Marlow:
Manuel M T Chakravarty wrote:
In the meantime, I followed SimonPJ's suggestion on the ghc list to
If you do a 'darcs pull' then 'make distclean' then 'make' you may
(just now) get errors of various kinds when 'make' reaches utils/
ghc-pkg.
Solution: cd compat; rm **/*.{hi,o}
That only works with zsh, if using bash you should probably instead
find compat | grep '\.(o|hi)$' | xargs rm -f
or pick your favourite recursive directory shell idiom.
Thanks for that. It helped. Now I get:
if ifBuildable/ifBuildable /Users/chak/Code/ghc-test/libraries/boot-
packages base; then \
cd base && \
cmp -s /Users/chak/Code/ghc-test/libraries/Makefile.local
Makefile.local || cp /Users/chak/Code/ghc-test/libraries/
Makefile.local .; \
mv GNUmakefile GNUmakefile.tmp; \
/Users/chak/Code/ghc-test/libraries/cabal-bin /opt/local/bin/ghc /
Users/chak/Code/ghc-test/libraries/bootstrapping.conf makefile -f
GNUmakefile; \
cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp
GNUmakefile; \
make -r --jobserver-fds=3,4 -j && \
/Users/chak/Code/ghc-test/libraries/cabal-bin /opt/local/bin/ghc /
Users/chak/Code/ghc-test/libraries/bootstrapping.conf register --
inplace; \
fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library base-3.0...
Undefined symbols:
"_base_GHCziStable_StablePtr_con_info", referenced from:
"_ghczmprim_GHCziBool_True_closure", referenced from:
"_base_GHCziPtr_Ptr_con_info", referenced from:
"_base_GHCziFloat_Fzh_con_info", referenced from:
"_base_GHCziIOBase_BlockedIndefinitely_closure", referenced from:
"_ghczmprim_GHCziBool_False_closure", referenced from:
"_base_GHCziIOBase_stackOverflow_closure", referenced from:
"_base_GHCziFloat_Fzh_static_info", referenced from:
"_base_GHCziIOBase_NonTermination_closure", referenced from:
"_base_GHCziFloat_Dzh_con_info", referenced from:
"_base_GHCziWord_W16zh_static_info", referenced from:
"_base_GHCziInt_I32zh_static_info", referenced from:
"_base_GHCziWord_W8zh_static_info", referenced from:
"_base_GHCziBase_Izh_con_info", referenced from:
"_base_GHCziConc_ensureIOManagerIsRunning_closure", referenced from:
"_base_GHCziWord_Wzh_static_info", referenced from:
"_base_GHCziWeak_runFinalizzerBatch_closure", referenced from:
"_base_GHCziInt_I8zh_static_info", referenced from:
"_base_GHCziWord_W64zh_static_info", referenced from:
"_base_GHCziWord_W32zh_static_info", referenced from:
"_base_GHCziBase_Czh_static_info", referenced from:
"_base_GHCziBase_Czh_con_info", referenced from:
"_base_GHCziInt_I16zh_static_info", referenced from:
"_base_GHCziPack_unpackCString_closure", referenced from:
"_base_GHCziIOBase_Deadlock_closure", referenced from:
"_base_GHCziPtr_Ptr_static_info", referenced from:
"_base_GHCziFloat_Dzh_static_info", referenced from:
"_base_GHCziIOBase_NestedAtomically_closure", referenced from:
"_base_GHCziStable_StablePtr_static_info", referenced from:
"_base_GHCziInt_I64zh_static_info", referenced from:
"_base_GHCziBase_Izh_static_info", referenced from:
"_base_GHCziPtr_FunPtr_con_info", referenced from:
"_base_GHCziIOBase_BlockedOnDeadMVar_closure", referenced from:
"_base_GHCziIOBase_heapOverflow_closure", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
linking dist/build/System/CPUTime_hsc_make.o failed
command was: /Users/chak/Code/ghc-test/compiler/stage1/ghc-inplace -no-
link-haskell98 dist/build/System/CPUTime_hsc_make.o -o dist/build/
System/CPUTime_hsc_make
make[2]: *** No targets specified and no makefile found. Stop.
make[1]: *** [make.library.base] Error 2
make: *** [stage1] Error 2
EthicsGradient-2 chak 16 (.../Code/ghc-test):
I don't want to sound too negative, but do you guys still use validate?
Manuel
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc