Skip to content

building on an AMD64

I hope I'm right here to report my troubles with ghc
I'm running a Debian/unstable on an AMD64 and installed
ghc6.2 from the debian packages. Because I wanted to
compile pug I have to build ghc6.4, configure runs fine
but compilation fails with:
make all
rm -f System/Directory/Internals.o; if [ ! -d
System/Directory/Internals_split ]; then mkdir
System/Directory/Internals_split; else /usr/bin/find
System/Directory/Internals_split -name '*.o' -print |
xargs rm -f __rm_food; fi;
/usr/bin/ghc -H16m -O -I. -Rghc-timing 
-I../../../libraries -fglasgow-exts -no-recomp
-split-objs    -c System/Directory/Internals.hs -o
System/Directory/Internals.o  -ohi
System/Directory/Internals.hi
warning: don't know how to split object files on this
architecture
<<ghc: 76370968 bytes, 13 GCs, 1530288/2592840 avg/max
bytes residency (3 samples), 19M in use, 0.00 INIT
(0.00 elapsed), 0.35 MUT (1.19 elapsed), 0.06 GC (0.09
elapsed) :ghc>>
( cd System/Directory/Internals_split; rm -f ld.script;
touch ld.script; echo "INPUT(" *.o ")" >>ld.script;
/usr/bin/ld -r -x -o ../Internals.o ld.script; );
/usr/bin/ld:ld.script: file format not recognized;
treating as linker script
/usr/bin/ld:ld.script:1: parse error

could someone give me a hand on this?

Regards
Freidrich
Trac metadata
Trac field Value
Version 6.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information