[GHC] #7822: Undeclared errors from CMM files during GHC PPC cross compiler build

GHC cvs-ghc at haskell.org
Mon Apr 8 20:52:43 CEST 2013


#7822: Undeclared errors from CMM files during GHC PPC cross compiler build
--------------------------------+-------------------------------------------
Reporter:  matts                |          Owner:          
    Type:  bug                  |         Status:  new     
Priority:  normal               |      Component:  Compiler
 Version:  7.7                  |       Keywords:          
      Os:  Linux                |   Architecture:  powerpc 
 Failure:  Building GHC failed  |      Blockedby:          
Blocking:                       |        Related:          
--------------------------------+-------------------------------------------
 I'm getting error: function undeclared errors when the Apply.cmm file is
 compiled and other CMM files if a parallel build is done.  I'm trying to
 build an powerpc target GHC cross compiler with the enabled-unregisterised
 configuration set.

 "inplace/bin/ghc-stage1" -static -optc-DDEBUG -ticky -DTICKY_TICKY  -H64m
 -O0 -fasm -Iincludes -
 Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
 ghcconstants/header -Irts
  -Irts/dist/build -DCOMPILING_RTS -package-name rts -optc-DNOSMP -dcmm-
 lint      -i -irts -irts/
 dist/build -irts/dist/build/autogen -Irts/dist/build
 -Irts/dist/build/autogen           -O2 -O0
    -c rts/Apply.cmm -o rts/dist/build/Apply.debug_o

 when making flags consistent: Warning:
     Compiler unregisterised, so compiling via C
 /tmp/ghc22044_0/ghc22044_0.hc: In function 'stg_ap_0_fast':

 /tmp/ghc22044_0/ghc22044_0.hc:21:12:
      error: 'debugBelch' undeclared (first use in this function)

 /tmp/ghc22044_0/ghc22044_0.hc:21:12:
      note: each undeclared identifier is reported only once for each
 function it appears in

 /tmp/ghc22044_0/ghc22044_0.hc:24:12:
      error: 'printClosure' undeclared (first use in this function)

 /tmp/ghc22044_0/ghc22044_0.hc:31:12:
      error: 'checkStackFrame' undeclared (first use in this function)
 /tmp/ghc22044_0/ghc22044_0.hc: In function 'stg_PAP_entry':

 /tmp/ghc22044_0/ghc22044_0.hc:127:12:
      error: 'barf' undeclared (first use in this function)
 make[1]: *** [rts/dist/build/Apply.debug_o] Error 1
 make: *** [all] Error 2

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7822>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list