ghc -M 7.8 does not add underscores when -dep-suffix is used
https://www.haskell.org/ghc/docs/7.8.3/html/users_guide/separate-compilation.html says:
Make extra dependencies that declare that files with suffix .<suf>_<osuf> depend on interface files with suffix .<suf>_hi
but ghc 7.8 doesn't do that any more, it drops the _ underscore.
This undocumented (neither in User Guide nor in Changelog) change was introduced for #7381 (closed) in https://git.haskell.org/ghc.git/commitdiff/af072fc35d8dbe7962e62700da052593e999c0ef.
Is this a documentation bug or a ghc -M bug?
How should one write ghc -M invocations that work on both 7.6 and 7.8?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | #7381 (closed) |
| Blocking | |
| CC | nh2 |
| Operating system | |
| Architecture |