[LLVMbugs] [Bug 5504] New: llvm::sys::Memory:: InvalidateInstructionCache breaks compilation against ARM

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 15 13:21:50 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=5504

           Summary: llvm::sys::Memory::InvalidateInstructionCache breaks
                    compilation against ARM
           Product: new-bugs
           Version: 2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: max.wolf at gmx.de
                CC: llvmbugs at cs.uiuc.edu


in order to compile against ARM on the maemo platform i had to remove the
"__clear_cache" call in Memory.cpp.
I have no idea, if removing the call is the correct solution, but at least it
solves the compilation problem and the comment suggests a problem anyway.

#  elif defined(__arm__) && defined(__GNUC__)
  // FIXME: Can we safely always call this for __GNUC__ everywhere?
  //char *Start = (char*) Addr;
  //char *End = Start + Len;
  __clear_cache(Start, End);
#  endif


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list