[Haskell-cafe] Weird warnings from recent GHC snapshot

Carter Schonwald carter.schonwald at gmail.com
Thu Mar 17 18:32:49 CET 2011


1) if you copy the 10.5sdk from developer-old into the new developer folder
sdk folder, the standard ghc distro will work again
2) theres a ghc ticket for that, its apparently partly because theres no
-nowarnunwind flag or the like

On Thu, Mar 17, 2011 at 6:11 AM, Michael Vanier <mvanier42 at gmail.com> wrote:

> I run haskell on Mac OS X (Snow Leopard).  After upgrading my Xcode
> installation to 4.0 I had a tricky time getting ghc working again; the
> version bundled with the Haskell Platform no longer works and I had to
> compile a recent snapshot (ghc-7.1.20110315) from source.  This worked fine,
> but now when I compile my code I keep getting really weird warnings.  For
> instance:
>
> ld: warning: could not create compact unwind for .LFB3: non-standard
> register 5 being saved in prolog
>
> and
>
> SpecConstr
>    Function `$w$j{v s3hL} [lid]'
>      has one call pattern, but the limit is 0
>    Use -fspec-constr-count=n to set the bound
>    Use -dppr-debug to see specialisations
> SpecConstr
>    Function `$w$j{v s3ic} [lid]'
>      has two call patterns, but the limit is 1
>    Use -fspec-constr-count=n to set the bound
>    Use -dppr-debug to see specialisations
>
> The code seems to work, but this is quite irritating.  Is there anything
> that can be done about these warnings?
>
> Thanks,
>
> Mike
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110317/0b41bdf1/attachment.htm>


More information about the Haskell-Cafe mailing list