GHC API displays linker messages to stdout instead of via log_action
|Reported by:||MikolajKonarski||Owned by:||igloo|
|Operating System:||Linux||Architecture:||x86_64 (amd64)|
|Type of failure:||Other||Test Case:|
|Related Tickets:||Differential Revisions:|
At least in the LinkInMemory mode, GHC API displays linker messages, such as
Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done.
on stdout instead of using the log_action handler for them, just as for all the other kinds of messages. Moreover, I haven't found any way of suppressing these messages apart of setting verbosity=0, which turns off other important messages. I can see no GHC flags that does this and this linker does not accept any special linker flags. I don't know the policy about severity levels, but I suppose severity SevOutput could be fine for these messages, by similarity to "compiling M ... done." messages which have such severity.
Change History (3)
comment:1 Changed 23 months ago by igloo
- difficulty set to Unknown
- Milestone set to 7.8.1
- Owner changed from duncan, MikolajKonarski to igloo
- Priority changed from normal to high