[GHC] #7591: CodeGen.Platform.hs not including ghcautoconf.h as it should, breaks ARMv5 compiler

GHC cvs-ghc at haskell.org
Fri Feb 1 09:59:15 CET 2013


#7591: CodeGen.Platform.hs not including ghcautoconf.h as it should, breaks ARMv5
compiler
----------------------------------+-----------------------------------------
    Reporter:  StephenBlackheath  |       Owner:                     
        Type:  bug                |      Status:  patch              
    Priority:  normal             |   Milestone:                     
   Component:  Compiler           |     Version:  7.7                
    Keywords:  arm cross llvm     |          Os:  Unknown/Multiple   
Architecture:  arm                |     Failure:  Building GHC failed
  Difficulty:  Unknown            |    Testcase:                     
   Blockedby:                     |    Blocking:  7623               
     Related:                     |  
----------------------------------+-----------------------------------------

Comment(by docks.cattlemen.stephen@…):

 commit 8bb9548a991142137d13a8d77fb6f46ed2f49f4d
 {{{
 Author: Stephen Blackheath <docks.cattlemen.stephen at blacksapphire.com>
 Date:   Wed Jan 16 14:28:42 2013 +1300

     MachRegs.h requires ghcautoconf.h to be included before it (#7591)

     Because, in the case of ARM processors, it needs to know what ARM
     variant is being used. This patch fixes that in
     includes/CodeGen.Platform.hs, otherwise there is a mismatch between
     the compiler and llvm.

  includes/CodeGen.Platform.hs |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 }}}

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



More information about the ghc-tickets mailing list