[GHC] #14353: PowerPC: HEAD validate fails due to warnings in libffi
#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
#14353: PowerPC: HEAD validate fails due to warnings in libffi ----------------------------------------+-------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 8.3 Resolution: | 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: | ----------------------------------------+-------------------------------- Changes (by trommler): * owner: (none) => trommler * component: Compiler => Runtime System -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14353#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14353: PowerPC: HEAD validate fails due to warnings in libffi ----------------------------------------+---------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4181 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by trommler): * status: new => patch * differential: => Phab:D4181 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14353#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14353: PowerPC: HEAD validate fails due to warnings in libffi ----------------------------------------+---------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: patch Priority: normal | Milestone: Component: Runtime System | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4181 Wiki Page: | ----------------------------------------+---------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"8b1020ed21ec8af1accdd900f0d48c3c92b6ed83/ghc" 8b1020ed/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="8b1020ed21ec8af1accdd900f0d48c3c92b6ed83" RTS: Disable warnings in ffi.h The update of GHC's in-tree libffi causes warnings about undefined macros and hence validate fails. Also mark broken tests that have a ticket. Fixes #14353 Test Plan: ./validate (on AIX and powerpc if possible) Reviewers: bgamari, hvr, erikd, simonmar Reviewed By: bgamari Subscribers: snowleopard, rwbarton, thomie GHC Trac Issues: #14353, #11259, #14455, #11261 Differential Revision: https://phabricator.haskell.org/D4181 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14353#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14353: PowerPC: HEAD validate fails due to warnings in libffi ----------------------------------------+---------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Runtime System | Version: 8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4181 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed * milestone: => 8.4.1 Comment: I've updated hadrian as well. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14353#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC