1 Aug 2005 14:00
RE: Installation problem
Simon Marlow <simonmar <at> microsoft.com>
2005-08-01 12:00:08 GMT
2005-08-01 12:00:08 GMT
On 30 July 2005 12:58, Dieter wrote: > I'm using Linux 9.3 on a PC with a 64-architecture. > > I'd like to install GHC and thought the easiest way would be to take > an appropriate rpm-file.So I downloaded an rpm file, it was said to > running with SUSE 9.2 without problems. > But when starting rpm -i ghc.-6.4-1.i386.rpm I got the message: > > error: Failed dependencies: > libgmp.so.3 is needed by ghc-6.4-1 > > But it is installed on my systems. I downloaded it again and > installed it again and copied it (3 files: - the symlink libgmp.so, > the symlink libgmp.so.3 and the file the libgmp.so.3.3.3) into > several lib directories. NO SUCCESS > > What is wrong? > Has anyone an idea? Are you running an x86_64 OS, or just a plain i386 one? If you're running x86_64, then perhaps you only have the 64-bit version of libgmp installed? Cheers, Simon
Cheers,
Simon
]
Ok, we made some progress on performance last week, but there's still
plenty to do. Here's a summary:
- Simon PJ found an O(n^2) case in the simplifier that appears to
be the cause of most, if not all, of the cases of GHC going out
to lunch when compiling certain modules. However, while testing
the fix we discovered that it caused worse code to be generated
for some programs, so we're still looking into this.
- I added a hack in GHC's back end to do some lightweight buffering of
the output, which results in about a 10% speedup in compilation
time. The C output was also using the full pretty printer, when
it doesn't really need to do indentation.
- I tweaked the garbage collector in a few places, to get some
modest speedup.
- A nasty space leak in the native code generator was found & fixed.
The space usage of GHC in general remains worse than we'd like.
- A few other minor optimisations were made in the compiler.
We plan to put the simplifier fix into 6.4.1, and the NCG space-leak fix
is already in. The other fixes are a little too intrusive with 6.4.1
being so close, so we'll hold off on those (possibly for 6.4.2).
Cheers,
Simon
RSS Feed