#5408: ghc-7.2.1 build failed for PowerPC
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  patch  
  Priority:  normal               |      Milestone:         
 Component:  Compiler             |        Version:  7.2.1  
Resolution:                       |       Keywords:         
        Os:  MacOS X              |   Architecture:  powerpc
   Failure:  Building GHC failed  |     Difficulty:  Unknown
  Testcase:                       |      Blockedby:         
  Blocking:                       |        Related:         
----------------------------------+-----------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown


Comment:

 Replying to [comment:9 PHO]:
 > Thank you for reviewing my patches.
 >
 > Replying to [comment:8 simonmar]:
 > > We should be finding `ffi.h` in the same way that we find `Rts.h`,
 whatever that is.
 > I agree with you, but unlike {{{Rts.h}}}, libffi headers {{{ffi.h}}} and
 {{{ffitarget.h}}} are dynamically generated by
 {{{libffi/build/configure}}} so the correct fix would be to treat them in
 a similar way as we treat {{{ghcautoconf.h}}} and {{{ghcplatform.h}}}.
 That is, let {{{libffi/ghc.mk}}} copy them directly into {{{includes}}},
 not into {{{rts/dist/build}}}. Do you think this is appropriate? If so,
 I'll rewrite my patch.

 I think the right thing to do is to add `TOP"/rts/dist/build"` to
 `include-dirs` in `rts/package.conf.in`.  We already have `TOP"/includes
 /dist-ghcconstants/header"` there, for a similar reason.

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