cannot build 'vector' with profiling

Carter Schonwald carter.schonwald at gmail.com
Wed Jun 10 11:59:02 UTC 2015


What ghc version and how was it built?

On Wednesday, June 10, 2015, Ranjit Jhala <jhala at cs.ucsd.edu> wrote:

> Hi all,
>
> I cannot build 'vector' (or 'cmdargs') with profiling on.
>
> specifically when I run:
>
>     $ cabal install --enable-executable-profiling
> --enable-library-profiling --ghc-options="-O2 -rtsopts -prof -auto-all
> -caf-all" vector
>
>
> I get the message:
>
>     Perhaps you haven't installed the "p_dyn" libraries for package
> ‛integer-gmp’
>
>     https://ghc.haskell.org/trac/ghc/ticket/8677
>
> Per some advice I tried to add the '--disable-shared'
>
>
>     $ cabal install --disable-shared --enable-executable-profiling
> --enable-library-profiling --ghc-options="-O2 -rtsopts -prof -auto-all
> -caf-all" vector
>
> but then I get this:
>
>     Loading package primitive-0.6 ... <command line>: can't load .so/.DLL
> for: libHSprimitive-0.6.dylib (dlopen(libHSprimitive-0.6.dylib, 9): image
> not found)
>
>
> Any idea whats going on or for any work arounds? Pretty stumped! Thanks in
> advance!
>
> Ranjit.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20150610/d5fdb926/attachment.html>


More information about the Glasgow-haskell-users mailing list