#4050: Mac OS X build fails: ghc.mk:96: *** Make has restarted itself 3 times; 
is
there a makefile bug?
----------------------------+-----------------------------------------------
    Reporter:  thorkilnaur  |        Owner:                     
        Type:  bug          |       Status:  new                
    Priority:  highest      |    Milestone:  6.14.1             
   Component:  Compiler     |      Version:  6.13               
    Keywords:               |   Difficulty:                     
          Os:  MacOS X      |     Testcase:                     
Architecture:  x86          |      Failure:  Building GHC failed
----------------------------+-----------------------------------------------

Comment(by thorkilnaur):

 Applying {{{libffi-ghc-mk.patch}}} (and other required patches), the tn23
 GHC builder ends:
 {{{
 "inplace/bin/ghc-stage2"   -H32m -O    -package-name dph-seq-0.4.0 -hide-
 all-packages -i -ilibraries/dph/dph-seq/../dph-common -ilibraries/dph/dph-
 seq/dist-install/build -ilibraries/dph/dph-seq/dist-install/build/autogen
 -Ilibraries/dph/dph-seq/dist-install/build -Ilibraries/dph/dph-seq/dist-
 install/build/autogen -Ilibraries/dph/dph-seq/.    -optP-include
 -optPlibraries/dph/dph-seq/dist-install/build/autogen/cabal_macros.h
 -package array-0.3.0.0 -package base-4.2.0.0 -package dph-base-0.4.0
 -package dph-prim-seq-0.4.0 -package ghc-6.13.20100507 -package ghc-
 prim-0.2.0.0 -package random-1.0.0.2 -package template-haskell-2.4.0.0
 -Odph -funbox-strict-fields -haddock -fcpr-off -fdph-this -package-name
 dph-seq -XTypeFamilies -XGADTs -XRankNTypes -XBangPatterns -XMagicHash
 -XUnboxedTuples -XTypeOperators -no-user-package-conf -rtsopts -O2
 -XGenerics -fno-warn-deprecated-flags -Wwarn     -odir libraries/dph/dph-
 seq/dist-install/build -hidir libraries/dph/dph-seq/dist-install/build
 -stubdir libraries/dph/dph-seq/dist-install/build -hisuf hi -osuf  o
 -hcsuf hc -c libraries/dph/dph-seq/../dph-
 common/Data/Array/Parallel/Lifted/PArray.hs -o libraries/dph/dph-seq/dist-
 install/build/Data/Array/Parallel/Lifted/PArray.o
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package array-0.3.0.0 ... linking ... done.
 Loading package containers-0.3.0.0 ... linking ... done.
 Loading package filepath-1.2.0.0 ... linking ... done.
 Loading package old-locale-1.0.0.2 ... linking ... done.
 Loading package old-time-1.0.0.4 ... linking ... done.
 Loading package unix-2.4.0.1 ... linking ... done.
 ghc-stage2: internal error: Invalid Mach-O file:Address out of bounds
 while relocating object file
     (GHC version 6.13.20100507 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
 }}}
 so we are back at #4013.

 Thanks and best regards
 Thorkil

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4050#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to