<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/14/19 10:22 PM, Randy MacLeod
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ff3995a4-6c30-0e36-53ad-d02f7d037f81@windriver.com">...<br>
</blockquote>
<br>
<blockquote type="cite"
cite="mid:ff3995a4-6c30-0e36-53ad-d02f7d037f81@windriver.com">It's
tempting to just bump the timeout to 300 seconds
<br>
since anything that fails with that timeout really should
<br>
be fixed. The right thing is to pass the timeout from ptest-runner
<br>
down to valgrind's vg_regtest script. If we have people who set
<br>
timeouts to a non-default value and will be running valgrind's
<br>
ptest then I could do that.
<br>
<br>
Since I'm a completist, I'm going to try qemumips64 next! :)
<br>
</blockquote>
<p>Okay, so maybe I'm not a MIPS64 completist! <br>
</p>
<p><br>
</p>
<p>qemumips64 hangs on drd/tests/annotate_barrier. I'm not sure why.</p>
<p>When run under gdb:<br>
</p>
<pre>(gdb) bt
#0 vgPlain_machine_get_hwcaps () at ../../valgrind-3.15.0/coregrind/m_machine.c:1910
#1 0x00000000580b5a80 in valgrind_main (argc=<optimized out>, argv=0x580bb430 <_start_in_C_linux+224>, envp=0x120015520)
at ../../valgrind-3.15.0/coregrind/m_main.c:1375
#2 0x00000000580bb430 in _start_in_C_linux (pArgc=0xffffffabe0) at ../../valgrind-3.15.0/coregrind/m_main.c:2985
#3 0x00000000580b47e8 in __start ()
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0 vgPlain_machine_get_hwcaps () at ../../valgrind-3.15.0/coregrind/m_machine.c:1910
have_MSA = 1 '\001'
saved_set = {sig = {0, 0}}
tmp_set = {sig = {8, 0}}
saved_sigill_act = {sa_flags = 0, ksa_handler = 0x0, sa_mask = {sig = {0, 0}}, sa_restorer = 0xffffffae8e}
tmp_sigill_act = {sa_flags = 1073741824, ksa_handler = 0x58036f90 <handler_unsup_insn>, sa_mask = {sig = {0, 0}}, sa_restorer = 0xffffffae8e}
r = <optimized out>
__PRETTY_FUNCTION__ = "vgPlain_machine_get_hwcaps"
<font color="#FCE94F">1905 </font> <font color="#34E2E2">/* MSA instructions */</font>
<font color="#FCE94F">1906 </font> have_MSA = True;
<font color="#FCE94F">1907 </font> <font color="#FCE94F">if</font> (VG_MINIMAL_SETJMP(env_unsup_insn)) {
<font color="#FCE94F">1908 </font> have_MSA = False;
<font color="#FCE94F">1909 </font> } <font color="#FCE94F">else</font> {
<font color="#FCE94F">1910 </font> __asm__ __volatile__(<font color="#AD7FA8">".word 0x7800088E"</font>); <font color="#34E2E2">/* addv.b w2, w1, w0 */</font>
<font color="#FCE94F">1911 </font> }
</pre>
<pre class="moz-signature" cols="72">
The qemumips64 ptests for valgrind are now on the back burner.
--
# Randy MacLeod
# Wind River Linux
</pre>
</body>
</html>