Undeclared `CCS_MAIN` in unregisterised build
The unregisterised build currently fails with:
"inplace/bin/ghc-stage1" -static -prof -O -H64m -Wall -Iincludes
-Iincludes/dist -Iincludes/dist-derivedconstants/header
-Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS
-this-package-key rts -optc-DNOSMP -dcmm-lint -i -irts
-irts/dist/build -irts/dist/build/autogen -Irts/dist/build
-Irts/dist/build/autogen -O2 c rts/PrimOps.cmm -o rts/dist/build/PrimOps.p_o
/tmp/ghc12993_0/ghc_3.hc: In function ‘clB_entry’:
/tmp/ghc12993_0/ghc_3.hc:2983:24: error:
error: ‘CCS_MAIN’ undeclared (first use in this function)
*((P_)(_cly+8)) = (W_)&CCS_MAIN;
^
/tmp/ghc12993_0/ghc_3.hc:2983:24: error:
note: each undeclared identifier is reported only once for each
function it appears in
/tmp/ghc12993_0/ghc_3.hc: In function ‘stg_mkApUpd0zh’:
/tmp/ghc12993_0/ghc_3.hc:3031:24: error:
error: ‘CCS_MAIN’ undeclared (first use in this function)
*((P_)(_clP+8)) = (W_)&CCS_MAIN;
^
/tmp/ghc12993_0/ghc_3.hc: In function ‘stg_clearCCSzh’:
/tmp/ghc12993_0/ghc_3.hc:3323:40: error:
error: ‘CCS_MAIN’ undeclared (first use in this function)
CCCS = (struct CostCentreStack_ *)(W_)&CCS_MAIN;
which is almost certainly a result of commit c8c44fd9.
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 | simonmar |
Operating system | |
Architecture |