[GHC] #8561: Clang/iOS: __builtin___clear_cache doesn't exist in clang, use __clear_cache instead

GHC ghc-devs at haskell.org
Sat Nov 23 21:57:04 UTC 2013


#8561: Clang/iOS: __builtin___clear_cache doesn't exist in clang, use
__clear_cache instead
-------------------------------------+-------------------------------------
       Reporter:  lukexi             |             Owner:
           Type:  bug                |            Status:  new
       Priority:  high               |         Milestone:
      Component:  Compiler           |           Version:  7.6.3
       Keywords:                     |  Operating System:  Other
   Architecture:  Unknown/Multiple   |   Type of failure:  Building GHC
     Difficulty:  Easy (less than 1  |  failed
  hour)                              |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 The __builtin___clear_cache from GCC is just called __clear_cache with
 clang, and must be declared. Otherwise the build fails

 (introduced in
 https://github.com/ghc/ghc/commit/5bab1a57f572e29dfdffd6d1ce8e53a2772b18fd)

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


More information about the ghc-tickets mailing list