[GHC] #5903: GHC 7.4.1 32 bit: LLVM backend fails on OSX 64bit

GHC cvs-ghc at haskell.org
Tue Feb 28 10:07:51 CET 2012


#5903: GHC 7.4.1 32 bit: LLVM backend fails on OSX 64bit
--------------------------------+-------------------------------------------
 Reporter:  dterei              |          Owner:  dterei         
     Type:  bug                 |         Status:  new            
 Priority:  normal              |      Component:  Compiler (LLVM)
  Version:  7.4.1               |       Keywords:                 
       Os:  MacOS X             |   Architecture:  x86_64 (amd64) 
  Failure:  Compile-time crash  |       Testcase:                 
Blockedby:                      |       Blocking:                 
  Related:                      |  
--------------------------------+-------------------------------------------
 If running:

 * GHC: 7.4.1, 32bit
 * OSX: 64 bit
 * LLVM: 3.0

 Things fail because the correct 32bit mode flag isn't being passed to the
 clang compiler used by the LLVM backend as the assembler.


 Work around for now is to compile using:
 {{{
 $ ghc -opta-m32 -fllvm
 }}}

 But need to fix for 7.4.2

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



More information about the Glasgow-haskell-bugs mailing list