#3516: [PATCH] ppc64: broken 'foreign import wrapper'
------------------------------------------+---------------------------------
  Reporter:  slyfox                       |          Owner:                     
      Type:  bug                          |         Status:  new                
  Priority:  high                         |      Milestone:  6.12.2             
 Component:  Compiler (FFI)               |        Version:  7.1                
Resolution:                               |       Keywords:  ffi, wrapper, patch
  Testcase:  yet                          |      Blockedby:                     
Difficulty:  Unknown                      |             Os:  Unknown/Multiple   
  Blocking:                               |   Architecture:  powerpc64          
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by PHO):

  * owner:  igloo =>
  * status:  closed => new
  * version:  6.10.4 => 7.1
  * resolution:  fixed =>
  * type:  merge => bug


Comment:

 On the darcs HEAD:
 {{{
 "inplace/bin/ghc-stage1"   -H32m -O    -package-name base-4.3.0.0 -hide-
 all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build
 -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-
 install/build -Ilibraries/base/dist-install/build/autogen
 -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
 -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package
 ghc-prim-0.2.0.0 -package integer-gmp-0.2.0.2 -package rts-1.0  -package-
 name base -XMagicHash -XExistentialQuantification -XRank2Types
 -XScopedTypeVariables -XUnboxedTuples -XForeignFunctionInterface
 -XUnliftedFFITypes -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
 -XFlexibleInstances -XStandaloneDeriving -XPatternGuards -XEmptyDataDecls
 -XNoImplicitPrelude -XCPP -no-user-package-conf -rtsopts -O2 -XGenerics
 -odir libraries/base/dist-install/build -hidir libraries/base/dist-
 install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf
 o -hcsuf hc -c libraries/base/./Control/Concurrent.hs -o libraries/base
 /dist-install/build/Control/Concurrent.o

 In file included from libraries/base/dist-
 install/build/Control/Concurrent_stub.c:4:0:


 /Users/admin/sandbox/_haskell/ghc/libffi/dist-install/build/ffi.h:64:23:
      error: ffitarget.h: No such file or directory
 }}}

 The attached missing-dependency-on-ffitarget-h.patch solves this.

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