--with-gmp-includes not honoured everywhere
a normal build (i.e. stage1 with an existing install first) fails when --with-gmp-includes (and --with-gmp-libraries) is specified and gmp.h isn't in a (gcc) default path.
Reason: the include path for gmp.h is missing from the generated rts/package.conf.inplace and utils/hsc2hs/hsc2hs-inplace.
The attached diff fixes the build at least for OpenBSD.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | Multiple |