<div dir="ltr">I wanted to test the ENABLE_STRICT_ORDER_MUTEX=1 related sptests for "nested mutex" GSOC project. So please let me know what can be done.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Thanks,<div><br></div><div>Saurabh Gadia</div></div></div></div>
<br><div class="gmail_quote">On Sun, May 31, 2015 at 9:33 PM, Saurabh Gadia <span dir="ltr"><<a href="mailto:gadia@usc.edu" target="_blank">gadia@usc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br></div>so I am working for sparc-sis setting and master branch. And if you see the code in threadimpl.h and threadchangepriority.c and coremutexsurrender.c the definition of <b>_Thread_Change_priority() </b>is having mismatch calling. Git records says that there was change to above function structure done by sebastian huber. But I guess he forgot to change the definition of <b>_Thread_Change_priority() in threadimpl.h </b>and call in coremutexsurrender.c<br><br></div>Configuration command: <br>./configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis --enable-tests --disable-posix ENABLE_STRICT_ORDER_MUTEX=1<br><br></div>Error Log:<br><br>                                                                      ^<br>In file included from ../../cpukit/../../../sis/lib/include/rtems/score/coremuteximpl.h:24:0,<br>                 from ../../../../../../rtems/c/src/../../cpukit/score/src/coremutexsurrender.c:23:<br>../../cpukit/../../../sis/lib/include/rtems/score/threadimpl.h:394:6: note: expected 'void *' but argument is of type 'int'<br> void _Thread_Change_priority(<br>      ^<br>../../../../../../rtems/c/src/../../cpukit/score/src/coremutexsurrender.c:60:7: error: too few arguments to function '_Thread_Change_priority'<br>       _Thread_Change_priority( holder, mutex->queue.priority_before, true );<br>       ^<br>In file included from ../../cpukit/../../../sis/lib/include/rtems/score/coremuteximpl.h:24:0,<br>                 from ../../../../../../rtems/c/src/../../cpukit/score/src/coremutexsurrender.c:23:<br>../../cpukit/../../../sis/lib/include/rtems/score/threadimpl.h:394:6: note: declared here<br> void _Thread_Change_priority(<br>      ^<br>make[6]: *** [src/libscore_a-coremutexsurrender.o] Error 1<br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Thanks,<div><br></div><div>Saurabh Gadia</div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Sun, May 31, 2015 at 8:25 PM, Nick Withers <span dir="ltr"><<a href="mailto:nick.withers@anu.edu.au" target="_blank">nick.withers@anu.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does re-running bootstrap in the source dir and re-configuring sort it?<br>
--<br>
Nick Withers<br>
<br>
Embedded Systems Programmer<br>
Department of Nuclear Physics, Research School of Physics and Engineering<br>
The Australian National University (CRICOS: 00120C)<br>
<div><div><br>
On Sun, 2015-05-31 at 20:31 -0400, Joel Sherrill wrote:<br>
> More information is needed. Target architecture, bsp, configure command.<br>
><br>
> I have been building all bsps regularly and unless it got broken this weekend, something else is up<br>
><br>
><br>
> On May 31, 2015 7:57:04 PM EDT, Saurabh Gadia <<a href="mailto:gadia@usc.edu" target="_blank">gadia@usc.edu</a>> wrote:<br>
> >The problem is on master branch<br>
> ><br>
> ><br>
> >Thanks,<br>
> ><br>
> ><br>
> >Saurabh Gadia<br>
> ><br>
> ><br>
> >On Sun, May 31, 2015 at 4:44 PM, Saurabh Gadia <<a href="mailto:gadia@usc.edu" target="_blank">gadia@usc.edu</a>> wrote:<br>
> ><br>
> >Logs:<br>
> ><br>
> >make[6]: Entering directory<br>
> >`/home/saurabh/dev1/kernel/b-sis/sparc-rtems4.11/c/sis/cpukit/score'<br>
> >make[6]: *** No rule to make target `src/apimutexislocked.c', needed by<br>
> >`src/libscore_a-apimutexislocked.o'.  Stop.<br>
> >make[6]: Leaving directory<br>
> >`/home/saurabh/dev1/kernel/b-sis/sparc-rtems4.11/c/sis/cpukit/score'<br>
> >make[5]: *** [all-recursive] Error 1<br>
> ><br>
> >...............................................................................................................<br>
> ><br>
> >There is no makefile but I am also not able to find apimutexislocked.c<br>
> ><br>
> >How do I proceed about this.<br>
> ><br>
> ><br>
> ><br>
> >Thanks,<br>
> ><br>
> ><br>
> >Saurabh Gadia<br>
><br>
> --joel<br>
</div></div>> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
<br>
<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>