#1288: ghci 6.6 foreign import stdcall broken, panic, panic!!!!
-------------------------------------------------+--------------------------
 Reporter:  [EMAIL PROTECTED]                   |          Owner:               
   
     Type:  bug                                  |         Status:  new         
    
 Priority:  high                                 |      Milestone:              
    
Component:  GHCi                                 |        Version:  6.6         
    
 Severity:  critical                             |     Resolution:              
    
 Keywords:  ghci foreign ffi dll import stdcall  |     Difficulty:  Moderate (1 
day)
 Testcase:                                       |   Architecture:  x86         
    
       Os:  Windows                              |  
-------------------------------------------------+--------------------------
Comment (by guest):

 appon reflection 5c of above ...

   hey this has me stumped test_proxy5b.o imports symbol [EMAIL PROTECTED]
 test1b.dll exports symbol _test hmmm how is the symbol [EMAIL PROTECTED] 
resolved
 ??? why isn't the stack corrupted when test is called ??? MYSTERY ???


 if ghci is doing the linking and uses the same name resolution to resolve
 these names i.e. '''[EMAIL PROTECTED]''' is dropping the '''@4''' to get 
'''_test'''
 then it would make sense that linking is successful. But why dosn't it
 crash when called?

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