porting ghc-6.4 to x86_64

Andrei A. Voropaev av at simcon-mt.com
Wed Mar 23 04:17:41 EST 2005


Sorry. Forgot to ask the next question on this process. Now that I have
unregistered compiler, how do I build the registered one?

I've tried to start with new tree and then run

./configure --with-ghc=T/ghc/compiler/ghc-inplace
make

But this resulted in an error
==fptools== make boot - --no-print-directory -r;
 in /home/andrei/ghc-6.4/ghc/lib/compat
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend    -I../../includes  -- -O    -- cbits/directory.c cbits/rawSystem.c 
/usr/local/src/ghc-6.4/ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend  -osuf o    -H16m -O -I. -Rghc-timing -I../../../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs
<<ghc: 33291072 bytes, 5 GCs, 104016/104016 avg/max bytes residency (1 samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.07 MUT (0.13 elapsed), 0.03 GC (0.02 elapsed) :ghc>>
make all
rm -f Compat/Directory.o; if [ ! -d Compat/Directory_split ]; then mkdir Compat/Directory_split; else /usr/bin/find Compat/Directory_split -name '*.o' -print | xargs rm -f __rm_food; fi;   
/usr/local/src/ghc-6.4/ghc/compiler/ghc-inplace -H16m -O -I. -Rghc-timing  -I../../../libraries -fglasgow-exts -no-recomp -split-objs    -c Compat/Directory.hs -o Compat/Directory.o  -ohi Compat/Directory.hi
/tmp/ghc31448.s: Assembler messages:
/tmp/ghc31448.s:74: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:148: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:218: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:230: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:241: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:310: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:384: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:533: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:1013: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:1352: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:1530: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:2484: Error: symbol `__stg_split_marker' is already defined
/tmp/ghc31448.s:2632: Error: symbol `__stg_split_marker' is already defined
<<ghc: 120223056 bytes, 25 GCs, 3289938/7904640 avg/max bytes residency (4 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.57 MUT (0.84 elapsed), 0.17 GC (0.22 elapsed) :ghc>>
make[4]: *** [Compat/Directory.o] Error 1
make[3]: *** [boot] Error 2
make[2]: *** [boot] Error 1
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/andrei/ghc-6.4/ghc'
make: *** [build] Error 1

-- 
Minds, like parachutes, function best when open


More information about the Glasgow-haskell-users mailing list