Skip to content

Warn about missing profiled libs when using the Interpreter.

Andreas Klebinger requested to merge AndreasK/ghc:warnProfDyn into master

Warn about missing profiled libs when using the Interpreter.

When GHC itself, or it's interpreter is profiled we need to load
profiled libraries as well.

This requirement is not always obvious, especially when TH
implicilty uses the interpreter.

When the libs were not found we fall back to assuming the
are in a DLL. This is usually not the case and ghc paniced.
So now we warn users when we do so. This makes it more obvious what is
happening and gives users a way to fix the issue.

This fixes #17121.

Merge request reports