Skip to content

CLI option to silence "Loading package foo ... linking ... done" output

When building libraries with GHC that require compile-time evaluations, such as TemplateHaskell, the per-compilation unit progress output, i.e.

[ n of N] Compiling Foo.Bar.Doo ( ... )

is flooded with several

Loading package foo ... linking ... done.

lines for each library required by the interpreted compile-time code.

Although this information is definitely useful for tracking down compile-time linking issues, its a bit too verbose IMHO.

I couldn't find any CLI option, to selectively disable just those linker messages, but keep the compilation progress output, therefore I'd hereby request the feature to provide a CLI option to disable outputting just those Loading package ... message while keeping everything else as is.

Trac metadata
Trac field Value
Version 7.2.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information