[GHC] #8562: Builtin function __builtin___clear_cache is unavailable on GCC 4.2
GHC
ghc-devs at haskell.org
Wed Nov 27 01:30:17 UTC 2013
#8562: Builtin function __builtin___clear_cache is unavailable on GCC 4.2
--------------------------------------------+------------------------------
Reporter: heatsink | Owner: simonmar
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
--------------------------------------------+------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"9fbb8c788d4bdf091709778b42a1294bbdabef95/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="9fbb8c788d4bdf091709778b42a1294bbdabef95"
Rejigger flushExec implementation (#8562, #8561)
Instead, just don't do anything on x86/amd64, and on !x86, use either A)
__clear_cache from libgcc, or B) sys_icache_invalidate for OS X (and
iOS.)
Signed-off-by: Austin Seipp <austin at well-typed.com>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8562#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list