https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122787
--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
This may be related to make running multiple instances of this test at the same
time.
$ ps -a
PID TTY TIME CMD
2522 tty2 00:00:00 gnome-session-b
43043 pts/4 00:00:00 ssh
269519 pts/5 00:00:00 lock_1.exe
269520 pts/5 00:00:00 lock_1.exe
269521 pts/5 00:00:00 lock_1.exe
269522 pts/5 00:00:00 lock_1.exe
269524 pts/5 00:00:00 lock_1.exe
269525 pts/5 00:00:00 lock_1.exe
269526 pts/5 00:00:00 lock_1.exe
1833980 pts/5 00:00:00 make
1834084 pts/5 00:00:00 sh
1834088 pts/5 00:00:00 make
This with -j40