profiling

Geoffrey Mainland mainland at apeiron.net
Tue Jun 18 14:51:26 CEST 2013


Yes, this is a bug; see #7978. I am working with Simon to get it fixed.

Geoff

On 06/18/2013 01:43 PM, Kazu Yamamoto (山本和彦) wrote:
> Hi,
>
> The following command can install acme-http with profiling if GHC
> 7.6.3 is used:
>
> % cabal install -p --ghc-options="-prof -fprof-auto"
--enable-executable-profiling -j10 acme-http
>
> But if GHC head is used, the following error occurs:
>
> % cabal install -p --ghc-options="-prof -fprof-auto"
--enable-executable-profiling -j10 acme-http
> In function `sofa_closure':
> (.data+0xe8): undefined reference to `CCCS'
>
/ghc-head/lib/ghc-7.7.20130616/Cabal-1.17.0/libHSCabal-1.17.0_p.a(Setup__1680.p_o):(.data+0x88):
> more undefined references to `CCCS' follow
>
> Is this a bug?
>
> I'm using Linux 3 and Cabal version is:
>
> % cabal --version
> cabal-install version 1.16.0.2
> using version 1.16.0 of the Cabal library
>
> --Kazu




More information about the ghc-devs mailing list