Passing -optP-traditional to the preprocessor breaks the build.
The build of 7.0.1 breaks when the preprocessor is explicitly specified by the -pgmP option and the -traditional flag is passed using -optP-traditional. The trouble is that most of ghc requires -traditional flag, but .cmm files don't. The -optP-traditional option needs to be filtered out from the options passed when compiling .cmm files.
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |