I just always set profiling to True in ~/.cabal/config and then call it a
day :)
I believe cabal or something has a notion of profiling ghc options that are
only supplied when building profiling libs, but I don't remember precisely
where they are or if they are a thing
On Thursday, June 11, 2015,
Thanks Carter and Reid! (I suspect I'd copied those options from somewhere
a long time ago when they worked...) Things seem to be building now! Thanks
a bunch!
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.o
On Wed, Jun 10, 2015 at 12:18 AM, Ranjit Jhala wrote:
> Hi all,
>
> I cannot build 'vector' (or 'cmdargs') with profiling on.
>
The short answer is: Never use --ghc-options="-prof". Cabal knows to use
-prof to build profiling libraries and profiled executables, and will
handle everything correct
Remove the prof flag and it will work. GHC is trying to do dylib with
profiling
On Jun 11, 2015 11:12 AM, "Ranjit Jhala" wrote:
> Hi Carter,
>
> OK, here's the full info (see log below), this is on an MBP,
> running ghc 7.8.3 (From ghcformac).
>
> In a new directory, I create a FRESH cabal sandbo
Hi Carter,
OK, here's the full info (see log below), this is on an MBP,
running ghc 7.8.3 (From ghcformac).
In a new directory, I create a FRESH cabal sandbox, and then do:
$ cabal install --enable-library-profiling --ghc-options="-O2 -rtsopts
-prof -auto-all -caf-all" vector
In doing so I g
Please share the exact way you're doing things.
Vector does build fine as a static profiled lib on Mac, so the challege
lies in understanding where your local configuration is broken. Please
share more info. Or reinstall stuff
On Jun 11, 2015 12:51 AM, "Ranjit Jhala" wrote:
> Hi Carter,
>
> Are
Hi Carter,
Are you referring to the '--disable-shared' flag?
If so -- I added it because otherwise I got a bunch
of errors about:
Perhaps you haven't installed the "p_dyn"
libraries for package ‛integer-gmp’
Or were you referring to some other flag?
Thanks!
Ranjit.
On Wed, Jun
why were you trying to build profiling dylibs? i thought we only support
static linked profiling libs? (i could be wrong though)
On Wed, Jun 10, 2015 at 9:26 AM, Ranjit Jhala wrote:
> ah, my bad I thought I'd included that -- this is ghc 7.8.3, on MacOS,
> installed from https://ghcformacosx.git
ah, my bad I thought I'd included that -- this is ghc 7.8.3, on MacOS,
installed from https://ghcformacosx.github.io ...
Should I just move to 7.10?
On Wed, Jun 10, 2015 at 4:59 AM, Carter Schonwald <
carter.schonw...@gmail.com> wrote:
> What ghc version and how was it built?
>
>
> On Wednesday,
What ghc version and how was it built?
On Wednesday, June 10, 2015, Ranjit Jhala 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 -rtso
10 matches
Mail list logo