Re: parallelizing ghc

2012-01-27 Thread Simon Marlow
On 26/01/2012 23:37, Evan Laforge wrote: I'm slightly surprised by this - in my experience parallel builds beat --make as long as the parallelism is a factor of 2 or more. Is your dependency graph very narrow, or do you have lots of very small modules? I get full parallelism, 4 threads at

Error when building cabal package with template haskell configured for profiling

2012-01-27 Thread Bas van Dijk
Hello, I would like to profile a cabal package that contains template haskell code. However I get the following error: $ cabal configure --ghc-options=-O2 -prof -auto-all -caf-all ... $ cabal build ... Dynamic linking required, but this is a non-standard build (eg. prof). You need to build

Re: Error when building cabal package with template haskell configured for profiling

2012-01-27 Thread Felipe Almeida Lessa
On Fri, Jan 27, 2012 at 12:06 PM, Bas van Dijk v.dijk@gmail.com wrote: $ cabal configure --ghc-options=-O2 -prof -auto-all -caf-all Why aren't you using the specific options for profiling? $ cabal configure --help | grep profiling -p --enable-library-profiling Enable Library profiling

Re: Error when building cabal package with template haskell configured for profiling

2012-01-27 Thread Bas van Dijk
On 27 January 2012 15:14, Felipe Almeida Lessa felipe.le...@gmail.com wrote: On Fri, Jan 27, 2012 at 12:06 PM, Bas van Dijk v.dijk@gmail.com wrote: $ cabal configure --ghc-options=-O2 -prof -auto-all -caf-all Why aren't you using the specific options for profiling? $ cabal configure

Re: ANNOUNCE: GHC 7.4.1 Release Candidate 2

2012-01-27 Thread Evan Laforge
Unfortunately ghci still segfaults for me most times (the previous release candidate did too). Anyone else seeing this? What should I do to troubleshoot? OS X 10.6.8, using GHC-7.4.0.20120126-x86_64.pkg I'll try GHC-7.4.0.20120126-i386.pkg in a bit, but I probably do need the 64 bit version,

Re: ANNOUNCE: GHC 7.4.1 Release Candidate 2

2012-01-27 Thread Austin Seipp
I too was seeing this with RC1, but I haven't tried RC2. Looking at the commits on the 7.4 branch, I don't see anything that would have likely affected/fixed it, so I speculate I'll see the same thing with RC2. I'll try tonight and report back. I will note that manually built copies of HEAD work