Not possible to build debug + prof, oversight or expected?

Ben Gamari ben at well-typed.com
Wed Jul 4 14:54:30 UTC 2018


Ömer Sinan Ağacan <omeragacan at gmail.com> writes:

> I just realized GHC 8.4.2 doesn't ship a debug + prof RTS, and HEAD doesn't
> build it with release build (no build.mk) or with prof flavor. It seems to me
> that this is a bug, because some debug files in RTS (e.g. Printer.c) actually
> check PROFILING macro in a few places and print different stuff depending on
> that.
>
> Anyone know if this is intentional? It's really inconvenient that I can't use
> debug runtime to debug profiling build issues..
>
Hmm, it sounds like a bug. I see debug_p in mk/ways.mk. It looks like
it's missing from GhcRTSWays, however (defined in mk/config.mk).

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180704/45ad3e7f/attachment.sig>


More information about the ghc-devs mailing list