[pcre-dev] [Bug 1350] New: JIT doesn't compile on MIPS/uclib…

Kezdőlap
Üzenet törlése
Szerző: Giuseppe D'Angelo
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1350] New: JIT doesn't compile on MIPS/uclibc
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1350
           Summary: JIT doesn't compile on MIPS/uclibc
           Product: PCRE
           Version: 8.32
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: dangelog@???
                CC: pcre-dev@???



For some reason, uclibc on MIPS defines POSIX_MADV_DONTNEED even if it lacks
posix_madvise. This causes a link error when compiling JIT (in sljitUtils.c).

Workaround: test first for MADV_DONTNEED and then for POSIX_MADV_DONTNEED, see
attached patch.

From: https://codereview.qt-project.org/#change,54879


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email