Using "-prof -auto-all" doesn't work in Haskell builds #709

Closed
letmaik opened this Issue Sep 26, 2012 · 5 comments

Projects

None yet

3 participants

@letmaik
letmaik commented Sep 26, 2012

See a failed build: http://travis-ci.org/#!/neothemachine/adp-multi/builds/2567508

Could not find module `Prelude'
Perhaps you haven't installed the profiling libraries for package `base'?
@michaelklishin
Contributor

Perhaps you have to install them in an install: step or two?

@letmaik
letmaik commented Oct 12, 2012

When I use the Haskell Platform locally, it already comes with the profiling libraries of the system-level packages. So, in my opinion it should be enough to use an alternative install command:

install:
  - cabal install --enable-tests --enable-library-profiling

But this won't work as the profiling libraries for the core modules are missing. And I highly doubt it's wise to try to install every core module afterwards in its profiling version like you suggest.

@drogus
Member
drogus commented Oct 12, 2012

I'll reopen this for further investigation.

@michaelklishin do you have anything against installing core modules with profiling enabled? If I understand correctly, it would solve the problem

@drogus drogus reopened this Oct 12, 2012
@michaelklishin
Contributor

We use stock Haskell Platform 7.4, no modifications, official tarballs, 32 bit. Maybe profiling tools are 64 bit only. We have ~40 runtimes to look after and cannot investigate every single thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment