#3654: Mach-O GHCi linker lacks support for a range of relocation entries
---------------------------------+------------------------------------------
    Reporter:  chak              |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  6.12.3      
   Component:  Runtime System    |      Version:  6.13        
    Keywords:                    |   Difficulty:  Unknown     
          Os:  MacOS X           |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by PHO):

 Attached PPC_RELOC_LOCAL_SECTDIFF.patch solves problems like
 {{{
 ghc-stage2: internal error: Don't know how to handle this Mach-O scattered
 reloc
 ation entry: object file /usr/pkgsrc/wip/ghc/work/ghc-6.12.2/libraries
 /ghc-prim/
 dist-install/build/HSghc-prim-0.2.0.0.o; entry type 15; address 0x458a0
 }}}

 but I prefer using dlopen() instead of our own dynamic linker to simplify
 things.

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