<div dir="ltr">Hello!<div><br></div><div>I am hoping to apply to Gsoc'18 for the runtime tracing project. I am following the RTEMS tracing documentation [1] and have been trying to run the fileio trace sample to familiarise with how traces are generated. I have set the rtems-path to the installed BSP erc32 in the fileio-trace.ini. The directory structure of my set up is the same as provided in the User manual. However while trying to link the fileio.exe I get a few errors:</div><div><br></div><div>Command: </div><div><br></div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">sparc-rtems5-gcc -Bsparc-rtems5/erc32/lib/ -specs bsp_specs -qrtems \</p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="gmail-Apple-converted-space">          </span>-mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \</p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="gmail-Apple-converted-space">          </span>-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes \</p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="gmail-Apple-converted-space">          </span>-Wnested-externs -Wl,--gc-sections -mcpu=cypress \</p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><span class="gmail-Apple-converted-space">          </span>-o sparc-rtems5/c/erc32/testsuites/samples/fileio/fileio.exe sparc-rtems5/c/erc32/testsuites/samples/fileio/init.o</p></div><div><br></div><div>Error:</div><div> <span class="gmail-s1" style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><b>sparc-rtems5-gcc:</b> </span><span class="gmail-s2" style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>error:<span class="gmail-Apple-converted-space"> </span></b><span style="color:rgb(0,0,0)">bsp_specs: No such file or director</span></span></div><div><br></div><div><br></div><div>Command:</div><div><br></div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">rtems-tld -C fileio-trace.ini -W fileio-wrapper -- -Bsparc-rtems5/erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mcpu=cypress -o sparc-rtems5/c/erc32/testsuites/samples/fileio/fileio.exe sparc-rtems5/c/erc32/testsuites/samples/fileio/init.o</span></p>


<br></div><div>Error:</div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">error: /development/rtems/kernel/erc32: Invalid RTEMS path</span></p>


<br></div><div>I am in quite a fix. My directory structure seems okay. Would appreciate some insight.</div><div><br></div><div><br></div><div>References:</div><div>[1] <a href="https://devel.rtems.org/wiki/Developer/Tracing/Trace_Buffering">https://devel.rtems.org/wiki/Developer/Tracing/Trace_Buffering</a></div><div><br></div><div>Best,</div><div>Vidushi</div></div>