2009/7/4 Duncan Coutts
<duncan.coutts@worc.ox.ac.uk>
Did you say this was an ordinary Debian install? What version, what
hardware platform?
What version of binutils was that? Was ld using a massive amount of
memory? Was it using an amount of memory that pushed everything into
swap? Presumably it's the final link that is taking so long, not
compiling and linking Setup.hs ?
Duncan
Quick answers are
yes, ordinary install - Debian 5.1 i386, I chose the basic workstation and desktop installs that are the defaults, nothing fancy. I used the packages for GHC 6.8.2 and then added 6.8.3 and 6.10.3 from source, slow but expected. Cabal 1.6 took hours and hours to install from source.
The machine is an old compaq with 2.4Ghz P4 and 40Gb drive with lots of space, since I only just installed it, and 256Mb RAM. I know it's not a fast machine, but still... nothing else takes 8+ hrs to install!
I didn't get any memory usage off it at the time because the whole machine was so locked up I could barely type, so "ps ax" was as far as I got before cursing, using "renice" to up the priorities, and then turn off the screen and leave it till it finished.
binutils is version...
GNU ld (GNU Binutils for Debian) 2.18.0.20080103
I reinstalled all the obvious things like gcc and, oh, this is better -
Reinstalled the following packages:
binutils (2.18.1~cvs20080103-7)
gcc (4:4.3.2-2)
gcc-4.1 (4.1.2-25)
gcc-4.3 (4.3.2-1.1)
pkg-config (0.22-1)
Tomorrow I'll start another install and save some of the output for you. If there's any commands in particular you want me to pick up then let me know.
Iain