[Bug 205597] [mips] __clear_cache causes calling process to abort

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 25 13:39:00 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205597

            Bug ID: 205597
           Summary: [mips] __clear_cache causes calling process to abort
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: theraven at FreeBSD.org

The __clear_cache function (from libgcc / libcompier-rt) ought to issue a
system call that flushes instruction caches.  Instead, it aborts.  This makes
it impossible to correctly implement self-modifying code on MIPS (where i-cache
is not guaranteed to be coherent with d-cache).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list