GHC7 (on OSX.5)

wren ng thornton wren at freegeek.org
Sun Mar 20 20:01:47 CET 2011


So I'm having a go of installing ghc-7.0.2 and 
haskell-platform-2011.2.0.0 on OSX 10.5. Since 10.5 is no longer 
supported I've had to compile from source. The good news is, so far as I 
can tell, everything works right out of the box.[1]

But I've noticed when compiling the base libraries and HP a lot of 
warnings like the following:

     SpecConstr
         Function `a_s2Qn{v} [lid]'
           has three call patterns, but the limit is 1
         Use -fspec-constr-count=n to set the bound
         Use -dppr-debug to see specialisations

Though the number of call patterns and the limit vary. Googling led me 
to the SpecConstr file which I read briefly, so I know it has to do with 
optimizing away constructor allocations, but that's about it. Are these 
warnings I should be concerned about?


[1]
OSX   10.5.8
arch  x86_64 (though it calls itself i386)
Xcode 3.1.2  (not that it matters)
gcc   4.0.1  (i686-apple-darwin9-gcc-4.0.1 Apple Inc. build 5490)
ghc   6.12.1 / hp 2010.1.0.0

-- 
Live well,
~wren



More information about the Glasgow-haskell-users mailing list