https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77684

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-11-22
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The failures are due to the following error:

Running
/opt/notnfs/msebor/src/gcc/trunk/gcc/testsuite/../config/i386/gcc-auto-p
rofile -o perf.data  -o
/opt/notnfs/msebor/build/gcc-trunk/gcc/testsuite/gcc15/s
ection-attr-1.perf.data
/opt/notnfs/msebor/build/gcc-trunk/gcc/testsuite/gcc15/s
ection-attr-1.x01
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)
FAIL: gcc.dg/tree-prof/section-attr-1.c execution,    -g


perf_event_mlock_kb is set to the default 516

$ cat /proc/sys/kernel/perf_event_mlock_kb
516

The file is only writeable by root so the error message claiming that the
current value is 4294967295 isn't right (i.e., it seems unlikely that the test
suite tries to temporarily raise it).

I tried bumping it up to 1k, 4k, and 64k but the failures persisted until I
finally raised to 1MB.  With that all the tests passed even with make -j128.

Reply via email to