#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.12.2             
    Keywords:                    |   Difficulty:                     
          Os:  MacOS X           |     Testcase:                     
Architecture:  Unknown/Multiple  |      Failure:  Building GHC failed
       Patch:  0                 |  
---------------------------------+------------------------------------------
 Validate goes through on OS X, but a normal build (such as that done by
 the nightly builder) fails with:
 {{{
 "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.20100425 -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.
 ghc-stage2: internal error: Invalid Mach-O file:Address out of bounds
 while relocating object file
     (GHC version 6.13.20100425 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 one passed:
 http://darcs.haskell.org/ghcBuilder/builders/tn23/8.html

 This one failed:
 http://darcs.haskell.org/ghcBuilder/builders/tn23/9.html

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4013>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to