#4318: Crash while building HEAD on OS X
-------------------------------+--------------------------------------------
    Reporter:  gwright         |        Owner:                     
        Type:  bug             |       Status:  new                
    Priority:  normal          |    Milestone:                     
   Component:  Compiler        |      Version:  6.13               
    Keywords:                  |     Testcase:                     
   Blockedby:                  |   Difficulty:                     
          Os:  MacOS X         |     Blocking:                     
Architecture:  x86_64 (amd64)  |      Failure:  Building GHC failed
-------------------------------+--------------------------------------------

Comment(by gwright):

 This does appear to be a linker bug.  I can reproduce it just by running
 `ghc-stage2 --interactive`.  The incorrectly resolved symbol is
 `_stg_bh_upd_frame_info`.  This address is pushed on the stack in
 `_base_GHCziIOziHandleziFD_stdin_info` (referenced in
 `initInterpBuffering`).  `_stg_bh_upd_frame_info` is resolved as zero, and
 when the null pointer on the stack is dereferenced the crash occurs.  In
 the simple case of just trying to start `ghc-stage2` interactively, it
 happens when `threadPaused` scans the stack.

 I'll try `+RTS -Dl` and report what I find.

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