https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77684
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- It doesn't look like r247962 resolves the failures. I continue to see them with the top of trunk. $ nice make -C /opt/notnfs/msebor/build/gcc-77671/gcc -j56 RUNTESTFLAGS='tree-prof.exp' check-c 2>&1 | grep FAIL FAIL: gcc.dg/tree-prof/crossmodule-indircall-1.c execution, -g FAIL: gcc.dg/tree-prof/val-prof-8.c execution, -g FAIL: gcc.dg/tree-prof/pr52027.c execution, -g FAIL: gcc.dg/tree-prof/val-prof-1.c execution, -g FAIL: gcc.dg/tree-prof/ic-misattribution-1.c execution, -g FAIL: gcc.dg/tree-prof/val-prof-2.c execution, -g FAIL: gcc.dg/tree-prof/pr79587.c execution, -g FAIL: gcc.dg/tree-prof/peel-1.c execution, -g $ nice make -C /opt/notnfs/msebor/build/gcc-77671/gcc -j56 RUNTESTFLAGS='tree-prof.exp' check-c 2>&1 | grep FAIL FAIL: gcc.dg/tree-prof/prof-robust-1.c execution, -g FAIL: gcc.dg/tree-prof/pr49299-1.c execution, -g FAIL: gcc.dg/tree-prof/val-prof-8.c execution, -g FAIL: gcc.dg/tree-prof/val-prof-2.c execution, -g FAIL: gcc.dg/tree-prof/pr52150.c execution, -g The log shows the same errors: spawn [open ...] Permission error mapping pages. Consider increasing /proc/sys/kernel/perf_event_mlock_kb, or try again with a smaller value of -m/--mmap_pages. (current value: 4294967295,0) FAIL: gcc.dg/tree-prof/pr52150.c execution, -g This is on the same 65-core x86_64 machine running Fedora 25, and with the same 512 setting in perf_event_mlock_kb.