<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Hi,</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto">I cloned the RTEMS GIT just before Christmas last year (around 20 or 19th Dec 2013).</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto">Should i clone the RTEMS git or also the newlib?</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto">Is newlib 2.1.0 ok to use? Since </SPAN><SPAN style="RIGHT: auto">I see that the rtems-m68k.bset suggests to use the newlib 2.1.0- 1</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto">We use the m5485FireEngine bsp.</SPAN></div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="BACKGROUND-COLOR: transparent; FONT-STYLE: normal; FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 16px"><SPAN style="RIGHT: auto">#<BR># Tools configuration.<BR>#<BR>4.11/rtems-autotools<BR>devel/expat-2.1.0-1<BR>tools/rtems-binutils-2.24-1<BR>tools/rtems-gcc-4.8.2-newlib-2.1.0-1<BR>tools/rtems-gdb-7.6.2-1<BR>tools/rtems-kernel-4.11<BR></SPAN></div>
<div style="RIGHT: auto">-Ali<BR style="RIGHT: auto"></div>
<DIV style="FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" dir=ltr>
<DIV style="LINE-HEIGHT: 0; MARGIN: 5px 0px; HEIGHT: 0px; FONT-SIZE: 0px" contentEditable=false readonly="true"></DIV><FONT size=2 face=Arial><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Sebastian Huber <sebastian.huber@embedded-brains.de><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> ali nasir <supremenasir@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "rtems-users@rtems.org" <rtems-users@rtems.org> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, April 23, 2014 3:34 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: Issue with Task delete<BR></FONT></DIV>
<DIV><BR>Hello Ali,<BR clear=none><BR clear=none>with the latest Newlib and RTEMS version the test works on a simulator BSP. <BR clear=none>Which Git revision do you use?<BR clear=none><BR clear=none>On 2014-04-23 11:43, ali nasir wrote:<BR clear=none>> I am not sure, what does it wait for as i cannot see the task in the OS. There<BR clear=none>> is a call to fwalk (which is called from _reclaim_reent) from the<BR clear=none>> newlib_delete_hook which never returns. There is no crash of the system.<BR clear=none>> I also noticed that further dynamic memory allocations are blocked for the<BR clear=none>> tasks which are already launched.<BR clear=none>> I see if there is an fprintf call from this task, only then we see the problem.<BR clear=none>> If there is no fprintf, then everything works fine. This could be the clue to<BR clear=none>> find the problem.<BR clear=none><BR clear=none>The newlib_delete_hook no longer exists. 
 I recently changed the thread <BR clear=none>deletion code to fix a couple of problems.  Can you please update to the latest <BR clear=none>Git master and see if the problem is still present. 
<DIV id=yqtfd40684><BR clear=none><BR clear=none>-- <BR clear=none>Sebastian Huber, embedded brains GmbH<BR clear=none><BR clear=none>Address : Dornierstr. 4, D-82178 Puchheim, Germany<BR clear=none>Phone  : +49 89 189 47 41-16<BR clear=none>Fax    : +49 89 189 47 41-09<BR clear=none>E-Mail  : <A href="mailto:sebastian.huber@embedded-brains.de" shape=rect ymailto="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</A><BR clear=none>PGP    : Public key available on request.<BR clear=none><BR clear=none>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<BR clear=none></DIV><BR><BR></DIV></DIV></DIV></div></body></html>