[GHC] #10244: "memory barriers unimplemented on this architecture" on ARM pre-ARMv7

GHC ghc-devs at haskell.org
Mon May 18 21:26:08 UTC 2015


#10244: "memory barriers unimplemented on this architecture" on ARM pre-ARMv7
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  simonmar
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Runtime System    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  Building GHC      |               Test Case:
  failed                             |                Blocking:
      Blocked By:                    |  Differential Revisions:  Phab:D894
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by Sergei Trofimovich <siarheit@…>):

 In [changeset:"eaaa38ba24d5152623cb202a98f71ed09deef0bb/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="eaaa38ba24d5152623cb202a98f71ed09deef0bb"
 includes/stg/SMP.h: implement simple load_/store_load_barrier on armv6 and
 older

 Assuming there is no real SMP systems on these CPUs
 I've added only compiler barrier (otherwise write_barrier
 and friends need to be fixed as well).

 Patch also fixes build breakage reported in #10244.

 Signed-off-by: Sergei Trofimovich <siarheit at google.com>

 Reviewers: rwbarton, nomeata, austin

 Reviewed By: nomeata, austin

 Subscribers: bgamari, thomie

 Differential Revision: https://phabricator.haskell.org/D894

 GHC Trac Issues: #10244
 }}}

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


More information about the ghc-tickets mailing list