Why is mixing profiling and dynamic linking unsupported?

Alexis King lexi.lambda at gmail.com
Thu Feb 1 11:15:33 UTC 2024


Hello all,

GHC does not support combining -prof and -dynamic. Various places note 
that these are incompatible, but I have never managed to find a 
rationale for this incompatibility. I am sure there a good reasons 
exists, but I am not sure what it is.

Does anyone know the reason? And, even better, is the reason written 
down somewhere? I’d love to understand this better.

Thanks,
Alexis



More information about the ghc-devs mailing list