[GHC] #5201: unregisterised build broken on arm-linux platform

GHC cvs-ghc at haskell.org
Mon May 16 21:54:24 CEST 2011


#5201: unregisterised build broken on arm-linux platform
------------------------+---------------------------------------------------
    Reporter:  kgardas  |       Owner:  igloo              
        Type:  bug      |      Status:  new                
    Priority:  normal   |   Component:  Build System       
     Version:  7.0.3    |    Keywords:                     
    Testcase:           |   Blockedby:                     
          Os:  Linux    |    Blocking:                     
Architecture:  arm      |     Failure:  Building GHC failed
------------------------+---------------------------------------------------
 Hello,

 following git patch probably breaks unregisterised build on any platform
 for which NCG is not available (ARM, MIPS, IA64 etc.)

 {{{
 commit 066b369de2c6f7da03c88206288dca29ab061b31
 Author: Ian Lynagh <igloo at earth.li>
 Date:   Sun May 1 15:38:18 2011 +0100

     Remove the OMIT_NATIVE_CODEGEN ifdef

     We now test
         cGhcWithNativeCodeGen == "YES"
     instead.

 }}}

 the issue I see on ARM/Linux platform is this:

 {{{

 compiler/nativeGen/AsmCodeGen.lhs:39:0:
      error: #error "AsmCodeGen: unknown architecture"
 make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1
 make: *** [all] Error 2

 }}}

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



More information about the Glasgow-haskell-bugs mailing list