[GHC] #8951: genSym uses atomic_inc but doesn't link arm_atomic_spin_lock

GHC ghc-devs at haskell.org
Mon Dec 8 17:42:23 UTC 2014


#8951: genSym uses atomic_inc but doesn't link arm_atomic_spin_lock
-------------------------------------+-------------------------------------
              Reporter:  cjwatson    |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:  7.8.4
             Component:  Build       |          Version:  7.8.1-rc1
  System                             |         Keywords:
            Resolution:              |     Architecture:  arm
      Operating System:  Linux       |       Difficulty:  Unknown
       Type of failure:  Building    |       Blocked By:
  GHC failed                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * status:  new => patch


Comment:

 > So one thing I’m trying is to provide the stubs from rts/OldARMAtomic.c
 even in the unthreaded RTS. It will be dead code, but at least the linker
 will be happy.

 This helped, and seems to be the right thing to do. Patch at Phab:D564.
 I’m not committing it myself, as this is not my area of expertise...

 It would also be nice to get this into 7.8.4, as the Debian package will
 have to carry that anyways....

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


More information about the ghc-tickets mailing list