On Mon, May 28, 2007 at 10:13:57PM +1000, Gabriele Keller wrote:
> I had a serious problem building ghc head under Intel MacOS today. The
> first problem was that the FIND makefile var wasn't initialized
> properly.
Can you please send me config.log?
Also, what do these commands say?:
* which find
* find Makefile -print
* find . -maxdepth 1 -name Makefile -print
> ifBuildable/ifBuildable base setup/Setup build \
> --ghc-option=-O
> --ghc-option=-Rghc-timing --ghc-option=-fgenerics
> Preprocessing library base-2.1...
> Building base-2.1...
> [ 1 of 155] Compiling GHC.PrimopWrappers ( GHC/PrimopWrappers.hs,
> dist/build/GHC/PrimopWrappers.o )
> /tmp/ghc6079_0/ghc6079_0.split__178.s:unknown:missing indirect symbols
> for section (__TEXT,__symbol_stub)
> <<ghc: 210234056 bytes, 69 GCs, 2181117/4524304 avg/max bytes residency
> (4 samples), 11M in use, 0.01 INIT (0.00 elapsed), 0.56 MUT (9.56
> elapsed), 0.11 GC (0.12 elapsed) :ghc>>
> make: *** [build.library.base] Error 1
> Macintosh-2 keller 708 (.../ghc/libraries): ls
This looks like the problem Thorkil pointed out, but I don't think we
ever got to the bottom of it.
If, in libraries/base, you run
rm -r dist/build
mkdir foo
setup/Setup build --ghc-option=-O --ghc-option=-Rghc-timing
--ghc-option=-fgenerics --ghc-option=-tmpdir --ghc-option=foo
--ghc-option=-keep-tmp-files --ghc-option=-v
then it should leave the temporary files in foo/. Can you send these,
along with the command's output, please?
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc