[GHC] #8077: Make write_barrier and friends show up with KEEP_INLINES
#8077: Make write_barrier and friends show up with KEEP_INLINES -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: Type: bug | Status: new Priority: low | Milestone: Component: Runtime System | Version: 7.7 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: Compile-time Difficulty: Easy (less than 1 | crash hour) | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+------------------------------------- The three barrier functions (write_barrier, store_load_barrier, load_load_barrier) are currently #defined macros when the non-threaded RTS is built. This means they are missed by the Inlines.c trick and can cause link errors in libraries that depend on them. The fix for this is obvious and this ticket is just a place to put the patch. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8077> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8077: Make write_barrier and friends show up with KEEP_INLINES -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: rrnewton Type: bug | Status: new Priority: low | Milestone: Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Compile-time | Difficulty: Easy (less than 1 crash | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Changes (by rrnewton): * cc: rrnewton@… (added) * owner: => rrnewton -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8077#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8077: Make write_barrier and friends show up with KEEP_INLINES -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: rrnewton Type: bug | Status: new Priority: low | Milestone: Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Compile-time | Difficulty: Easy (less than 1 crash | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Comment (by Ryan Newton <rrnewton@…>): In [changeset:372053c968ef92dbb822afe38f4ce70c3a7553af/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="372053c968ef92dbb822afe38f4ce70c3a7553af" In the non-threaded RTS, make *_barrier functions EXTERN_INLINE, not #define. (fixes #8077) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8077#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8077: Make write_barrier and friends show up with KEEP_INLINES -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: rrnewton Type: bug | Status: closed Priority: low | Milestone: Component: Runtime System | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Compile-time | Difficulty: Easy (less than 1 crash | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Changes (by rrnewton): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8077#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC