Bug 340777 has been resolved with different changes over the last two years.
The last important commit is r16261.
--- trunk/NEWS (original)
+++ trunk/NEWS Tue Apr 4 11:40:22 2017
@@ -93,6 +93,7 @@
where XXXXXX is the bug number as listed below.
162848 --log-file output isn't split when a program forks
+340777 Illegal instruction on mips (ar71xx)
341481 MIPS64: Iop_CmpNE32 triggers false warning on MIPS64 platforms
342040 Valgrind mishandles clone with CLONE_VFORK | CLONE_VM that clones
to a different stack.