#4013: build fails on OS X: Invalid Mach-O file:Address out of bounds while
relocating object file
-------------------------+--------------------------------------------------
    Reporter:  igloo     |        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
       Patch:  0         |  
-------------------------+--------------------------------------------------
Changes (by ujihisa):

  * version:  6.12.2 => 6.13
  * architecture:  Unknown/Multiple => x86


Comment:

 Same here. Precisely my Mac OS X is Leopard (not Snow Leopard)

 {{{
 $ make
 ===--- updating makefiles phase 0
 make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
 ===--- updating makefiles phase 1
 make -r --no-print-directory -f ghc.mk phase=1 just-makefiles
 ===--- updating makefiles phase 2
 make -r --no-print-directory -f ghc.mk phase=2 just-makefiles
 ===--- updating makefiles phase 3
 make -r --no-print-directory -f ghc.mk phase=3 just-makefiles
 ===--- finished updating makefiles
 make -r --no-print-directory -f ghc.mk all
 "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.20100424 -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 -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.1.0.4 ... 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.
 Loading package directory-1.0.1.1 ... linking ... done.
 Loading package pretty-1.0.1.1 ... linking ... done.
 Loading package process-1.0.1.2 ... linking ... done.
 ghc-stage2: internal error: Invalid Mach-O file:Address out of bounds
 while relocating object file
     (GHC version 6.13.20100424 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4013#comment:1>
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