[GHC] #9886: Undefined reference to `__sync_fetch_and_xor_8'

GHC ghc-devs at haskell.org
Wed Dec 31 09:50:23 UTC 2014


#9886: Undefined reference to `__sync_fetch_and_xor_8'
----------------------------------------+----------------------------------
        Reporter:  erikd                |                   Owner:  erikd
            Type:  bug                  |                  Status:  new
        Priority:  normal               |               Milestone:
       Component:  Compiler (CodeGen)   |                 Version:  7.11
      Resolution:                       |                Keywords:
Operating System:  Unknown/Multiple     |            Architecture:  powerpc
 Type of failure:  Building GHC failed  |               Test Case:
      Blocked By:                       |                Blocking:
 Related Tickets:                       |  Differential Revisions:
----------------------------------------+----------------------------------
Changes (by erikd):

 * owner:   => erikd
 * version:  7.8.3 => 7.11


Comment:

 It seems that these `__sync_fetch_*` function were used around gcc 4.4 but
 have been replaced in gcc 4.8 with a different set of functions
 `__atomic_*`.

 Working on a patch to sort this out.

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


More information about the ghc-tickets mailing list