Skip to content

ghc --make sends progress output to stderr

This is a relatively minor problem, but it is really annoying. Running ghc --make generates progress output on the standard error stream rather than the usual standard out. For example, lines such as the following appear on stderr:

[ 1 of 13] Compiling Poly             ( tools/mackerel/Poly.hs, Poly.o )
[ 2 of 13] Compiling Space            ( tools/mackerel/Space.hs, Space.o )

Could you please consider changing this so that progress output goes to stdout and only actual errors go to stderr? Without this, it is much harder to quieten the output from ghc but still see actual errors, and various build system tools incorrectly identify the progress output as error messages.

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
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