#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 simonmar):

 I expect it's a bug in the linker.  `newDynCAF` is a clue that you're
 running dynamically-loaded code, and it looks like the code has tried to
 jump to address zero: probably an address that should have been patched by
 the linker.

 You can turn on verbose debug output in the linker by compiling stage2
 with debugging on (`cd ghc; rm stage2/build/tmp/ghc-stage2; make 2
 GhcDebugged=YES`), and then run it with `+RTS -Dl`.  That will show you
 details about all the object files and relocations.

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