#631: GHCi doesn't work unregisterised
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |          Owner:  simonmar
     Type:  bug                  |         Status:  closed  
 Priority:  normal               |      Milestone:  6.10.1  
Component:  GHCi                 |        Version:  6.4.1   
 Severity:  minor                |     Resolution:  fixed   
 Keywords:                       |     Difficulty:  Unknown 
 Testcase:                       |   Architecture:  Multiple
       Os:  Multiple             |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Now fixed; I have an unregisterised build on x86_64/Linux with a
 completely working GHCi, including FFI (using libffi) and debugger.  The
 final fix was:

 {{{
 Mon Jul 28 08:56:21 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
   * Change the calling conventions for unboxed tuples slightly
   When returning an unboxed tuple with a single non-void component, we
   now use the same calling convention as for returning a value of the
   same type as that component.  This means that the return convention
   for IO now doesn't vary depending on the platform, which make some
   parts of the RTS simpler, and fixes a problem I was having with making
   the FFI work in unregisterised GHCi (the byte-code compiler makes
   some assumptions about calling conventions to keep things simple).
 }}}

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