
#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