profiling

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue Jun 18 14:43:55 CEST 2013


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