Skip to content

Clang/iOS: __builtin___clear_cache doesn't exist in clang, use __clear_cache instead

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)

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC thoughtpolice
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information