[GHC] #8077: Make write_barrier and friends show up with KEEP_INLINES

GHC ghc-devs at haskell.org
Sat Jul 20 22:18:20 CEST 2013


#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




More information about the ghc-tickets mailing list