#4828: ghci fails to load fat binary archives on OS X
---------------------------------+------------------------------------------
    Reporter:  gwright           |        Owner:  igloo     
        Type:  bug               |       Status:  patch     
    Priority:  normal            |    Milestone:  7.2.1     
   Component:  Runtime System    |      Version:  7.0.1     
    Keywords:                    |     Testcase:            
   Blockedby:                    |   Difficulty:            
          Os:  MacOS X           |     Blocking:            
Architecture:  Unknown/Multiple  |      Failure:  GHCi crash
---------------------------------+------------------------------------------

Comment(by gwright):

 There's something quite odd going on here.  I've made changes (not tested
 fully) to fix the "run off the end of the archive" issue.  I've added more
 debug statements to see what's going on with the duplicate symbols.  The
 code in `ocGetNames_MachO` looks as if it checks `N_EXT` and `N_SECT`
 correctly, but symbols that shouldn't be inserted (because `N_EXT` isn't
 set) are inserted anyway.

 This is probably just some C subtlety that is right before my eyes, but I
 don't see it yet.

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