[GHC] #10433: Fix load/store barriers in pre-ARMv7 builds

GHC ghc-devs at haskell.org
Thu Jun 4 22:38:31 UTC 2015


#10433: Fix load/store barriers in pre-ARMv7 builds
-------------------------------------+---------------------------------
        Reporter:  thoughtpolice     |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.12.1
       Component:  Runtime System    |                 Version:
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #10244            |  Differential Revisions:
-------------------------------------+---------------------------------
Changes (by rwbarton):

 * owner:  rwbarton =>


Comment:

 I won't be getting around to fixing this any time soon.

 The easy, conservative thing to do would be to set NOSMP if
 arm_HOST_ARCH_PRE_ARMv7 is defined. The fancy way would be to detect at
 runtime whether we are on a system that supports memory barriers and patch
 them in if so (like Linux's altinstructions). Probably too fancy...

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


More information about the ghc-tickets mailing list