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

GHC ghc-devs at haskell.org
Tue Nov 26 06:21:45 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
      Resolution:                    |         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:  #8562
-------------------------------------+-------------------------------------

Comment (by amosrobinson):

 Thanks! I'm trying now on OSX10.8.5 & GCC 4.2.1.
 I got a warning (and error due to -Werror) that clearCache didn't have a
 prototype before it, so I made it static.

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


More information about the ghc-tickets mailing list