#4269: Abort trap when building HEAD on OS X
------------------------+---------------------------------------------------
    Reporter:  judahj   |       Owner:                     
        Type:  bug      |      Status:  new                
    Priority:  normal   |   Component:  Compiler           
     Version:  6.13     |    Keywords:                     
    Testcase:           |   Blockedby:                     
          Os:  MacOS X  |    Blocking:                     
Architecture:  x86      |     Failure:  Building GHC failed
------------------------+---------------------------------------------------

Comment(by judahj):

 The problem appears to be with the stage-1 build:
 {{{
 $ cat ~/tmp/TestFoo.hs
 module Main where
 main = putStrLn "Hello, world!"
 $ inplace/bin/ghc-stage1 --make -fforce-recomp ~/tmp/TestFoo.hs
 [1 of 1] Compiling Main             ( /Users/judah/tmp/TestFoo.hs,
 /Users/judah/tmp/TestFoo.o )
 Linking /Users/judah/tmp/TestFoo ...
 $ ~/tmp/TestFoo
 Hello, world!
 Abort trap
 }}}
 Strangely, if I pass `-debug` to `ghc-stage1`, the resulting executable
 `TestFoo` runs successfully.

 I also tried reinstalled GHC (the .pkg installer of 6.12.3), but got this
 same error.

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