
#8562: Builtin function __builtin___clear_cache is unavailable on GCC 4.2 --------------------------------------------+------------------------------ Reporter: heatsink | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: GHC doesn't work at all | (amd64) Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: #8561 --------------------------------------------+------------------------------ Changes (by heatsink): * owner: simonmar => * status: closed => new * resolution: fixed => Comment: The fix only applies to linux (it's guarded by an `#if defined(linux_HOST_OS)`). On darwin, it still doesn't work. I'm attaching a patch to apply the fix to all OSes. It works for me, but I can't run the validation script because of #8266. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8562#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler