Error building head on OS X

Simon Marlow marlowsd at gmail.com
Wed Jul 21 04:04:53 EDT 2010


On 20/07/10 22:08, Ian Lynagh wrote:
> On Tue, Jul 20, 2010 at 10:45:36PM +0200, Johan Tibell wrote:
>> Building from a clean checkout of HEAD (from today) I get:
>>
>> ghc-stage2: internal error: Invalid Mach-O file:Address out of bounds while
>> relocating object file
>>      (GHC version 6.13.20100720 for i386_apple_darwin)
>>      Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>> make[1]: ***
>> [libraries/dph/dph-seq/dist-install/build/Data/Array/Parallel/Lifted/PArray.o]
>> Abort trap
>> make: *** [all] Error 2
>
> This is http://hackage.haskell.org/trac/ghc/ticket/4013

If you don't want to read the ticket BTW, the workaround is apparently 
to set SplitObjs=NO, which most of the canned build configurations in 
mk/build.mk.sample do.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list