Opened 5 years ago

Closed 5 years ago

#7617 closed bug (fixed)

LLVM backend broken on 32bit OS X (when 64bit host)

Reported by: dterei Owned by: dterei
Priority: normal Milestone:
Component: Compiler (LLVM) Version:
Keywords: Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


OSX 32bit GHC is broken when running on a 64bit host. This is as we aren't passing the correct flags through to clang (the assembler used) to indicate it should compile as 32bit instead of 64bit...

Change History (2)

comment:1 Changed 5 years ago by davidterei@…

commit fa1e5933bf39f3c4cc09457f7fc9d7e928b5e611

Author: David Terei <>
Date:   Tue Jan 22 23:05:46 2013 -0800

    Fix llvm backend when 32bit build on 64bit OSX. (#7617)

 compiler/main/DriverPipeline.hs |   16 ++++++++--------
 compiler/main/SysTools.lhs      |   13 ++++++++++---
 2 files changed, 18 insertions(+), 11 deletions(-)

comment:2 Changed 5 years ago by dterei

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.