'stg_killMyself' undeclared (first use in this function)
Compiling git HEAD on PPC64 and i get:
rts_dist_HC rts/dist/build/Exception.o
/tmp/ghc28686_0/ghc28686_0.hc: In function 'stg_killThreadzh':
/tmp/ghc28686_0/ghc28686_0.hc:233:1:
error: 'stg_killMyself' undeclared (first use in this function)
/tmp/ghc28686_0/ghc28686_0.hc:233:1:
note: each undeclared identifier is reported only once for each function it appears in
stg_killMyself is defined and used in the same file rts/Exception.cmm, but it is used before it is defined. Is CMM like C and not accept the use of a function before it is defined?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | InstallationFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |