logo       

[ ghc-Bugs-1182027 ] building on an AMD64: msg#00104

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1182027 ] building on an AMD64

Bugs item #1182027, was opened at 2005-04-13 00:56
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1182027&group_id=8032

Category: Build System
Group: 6.4
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: building on an AMD64

Initial Comment:
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

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-04-23 07:59

Message:
Logged In: NO

Ok, I'll give it a try.

Regards
Friedrich

----------------------------------------------------------------------

Comment By: Simon Marlow (simonmar)
Date: 2005-04-13 04:40

Message:
Logged In: YES
user_id=48280

Please add

SplitObjs=NO

to mk/build.mk before building. Splitting isn't supported
on x86_64 at this time.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1182027&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise