#3935: buggy libffi
---------------------------------+------------------------------------------
    Reporter:  guest             |       Owner:                     
        Type:  bug               |      Status:  new                
    Priority:  normal            |   Component:  Compiler           
     Version:  6.13              |    Keywords:                     
          Os:  Unknown/Multiple  |    Testcase:                     
Architecture:  Unknown/Multiple  |     Failure:  Building GHC failed
---------------------------------+------------------------------------------
 The version of libffi in use in the current builds has a bug in it which
 cauzes the build to fail on the nightly snapshots
 (ghc-6.13.20100320-src.tar.bz2 etc)

 and on the STABLE package in darcs.haskell.org (atleast it did here).

 In src/x86/ffi.c

 line 136-137 should be

     case FFI_TYPE_DOUBLE:
 #ifdef HAVE_LONG_DOUBLE
     case FFI_TYPE_LONGDOUBLE:
 #endif

 instead of

     case FFI_TYPE_DOUBLE:
     case FFI_TYPE_LONGDOUBLE:

 updating to libffi-0.3.9 should fix this.

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