Hi Roman,

strangely enough, now that I've recompiled the program cabal does pass the correct flag and everything works as expected.
Which kinda surprise me. The only explanation I have is that I've modified the source code, so cabal was forced to recompile everything with the new flags.

Thanks,
A.


On 20 October 2013 16:40, Roman Cheplyaka <roma@ro-che.info> wrote:
You could start by running cabal with -v and seeing if it passes the
right option to ghc during the linking phase.

Roman

* Alfredo Di Napoli <alfredo.dinapoli@gmail.com> [2013-10-20 15:27:54+0100]
> Hello guys,
>
> I'm integrating EKG in my webserver and I've stumbled upon a peculiar
> behaviour: Putting this inside my cabal manifest seems to not trigger any
> effect (EKG shows flat lines):
>
>     GHC-Options:
>         -Wall
>         -threaded
>         -Werror
>         -fwarn-tabs
>         -with-rtsopts=-T
>
> Whereas, if I run my webserver with "blablabla [...] +RTS -T" everything
> works as expected. What am I missing?
>
> I am on GHC 7.6.3, Cabal 1.18 and Mac OS X 64 bit.
>
> Alfredo

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe