
#11277: Undeclared `CCS_MAIN` in unregisterised build -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 c8c44fd91b509b9eb6. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11277 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler