[GHC] #14353: PowerPC: HEAD validate fails due to warnings in libffi

GHC ghc-devs at haskell.org
Sat Oct 14 11:01:30 UTC 2017


#14353: PowerPC: HEAD validate fails due to warnings in libffi
--------------------------------+----------------------------------------
           Reporter:  trommler  |             Owner:  (none)
               Type:  bug       |            Status:  new
           Priority:  normal    |         Milestone:
          Component:  Compiler  |           Version:  8.3
           Keywords:            |  Operating System:  Unknown/Multiple
       Architecture:  powerpc   |   Type of failure:  Building GHC failed
          Test Case:            |        Blocked By:
           Blocking:            |   Related Tickets:
Differential Rev(s):            |         Wiki Page:
--------------------------------+----------------------------------------
 Validate produces the following error message:
 {{{
 In file included from rts/dist/build/ffi.h:58:0: error:
     0,
                      from rts/Adjustor.c:46:

 rts/dist/build/ffitarget.h:157:7: error:
      error: "FFI_TYPE_LAST" is not defined [-Werror=undef]
      #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST  \
 }}}
 and a few more like this.

 Perhaps, we could turn off the warning for files that include `ffi.h` on
 PowerPC.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14353>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list