Cross-compile failure : Not in scope: ‘gcdInt'’
When cross-compiling from x86_64-linux to armhf-linux using the quick-cross
setting from mk/build.mk.sample
I get:
libraries/base/GHC/Real.hs:28:25: Not in scope: ‘gcdInt'’
libraries/base/GHC/Real.hs:28:34: Not in scope: ‘gcdWord'’
It turns out these functions are exported un-conditionally but are only defined within an #ifdef
.
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | dfeuer |
Operating system | |
Architecture |