<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 6, 2018, 2:07 PM Vijay Kumar Banerjee <<a href="mailto:vijaykumar9597@gmail.com">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 June 2018 at 20:49, Joel Sherrill <span dir="ltr"><<a href="mailto:joel@rtems.org" target="_blank" rel="noreferrer">joel@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I can't duplicate this. My configure command was:<div><br></div><div><div>../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=leon3 --prefix=/home/joel/rtems-work/tools/5 \</div><div> --disable-networking --enable-posix --disable-smp --disable-multiprocessing \</div><div> --enable-tests --enable-cxx --enable-maintainer-mode</div><div><br></div><div>What was yours?</div><div><br></div></div></div></blockquote><div>I didn't have --enable-cxx and --enable-maintainer-more.</div><div><br></div><div>I made some tries and somehow it's perfectly working now.</div><div><br></div><div>I am trying to find out now how covoar generates the reports.</div><div>I made a file with a list of all gcno in score/ and run with -g argument</div><div>now I'mg seeing the following error while running covoar </div><div><br></div><div>======================</div><div><div>Generating Gcov reports...</div><div>Processing file: libscore_a-allocatormutex.gcno</div><div>Unable to open libscore_a-allocatormutex.gcno</div><div>Processing file: libscore_a-apimutexisowner.gcno</div><div>Unable to open libscore_a-apimutexisowner.gcno</div><div>Processing file: libscore_a-apimutexlock.gcno</div><div>Unable to open libscore_a-apimutexlock.gcno</div><div>Processing file: libscore_a-apimutexunlock.gcno</div><div>Unable to open libscore_a-apimutexunlock.gcno</div><div>Processing file: libscore_a-chain.gcno</div><div>Unable to open libscore_a-chain.gcno</div><div>Processing file: libscore_a-chainnodecount.gcno</div></div><div>.</div><div>.</div><div>.</div><div>======================</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I suspect this is another instance of the path issues inside the build tree you and Cillian fixed earlier.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6531430755790798520gmail-m_5003576075350761045m_6232145959970312516m_-1971256666443113768gmail-h5">On Wed, Jun 6, 2018 at 9:40 AM, Vijay Kumar Banerjee <span dir="ltr"><<a href="mailto:vijaykumar9597@gmail.com" target="_blank" rel="noreferrer">vijaykumar9597@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_6531430755790798520gmail-m_5003576075350761045m_6232145959970312516m_-1971256666443113768gmail-h5"><div dir="ltr">Hello,<div><br></div><div>I have added the following changes in the bsps/sparc/leon3/config/leon3.cfg</div><div><br></div><div>----------</div><div>CFLAGS_OPTIMIZE_V = -Os -g</div><div>CFLAGS_OPTIMIZE_V += -ftest-coverage</div><div>-------</div><div><br></div><div>While trying to build with these flags, I got a bunch of</div><div>the following errors:</div><div><br></div><div>==========</div><div><div>{standard input}: Assembler messages:</div><div>{standard input}:6510: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}</div><div>{standard input}:6511: Error: can't resolve `.data._SPARC_Counter' {.data._SPARC_Counter section} - `.LLtext0' {.text section}</div></div><div><br></div><div>===================</div><div><br></div><div>after the `make install` I do get a lot of .gcno files, and no</div><div>executables.</div><span class="m_6531430755790798520gmail-m_5003576075350761045m_6232145959970312516m_-1971256666443113768gmail-m_91281897509097091HOEnZb"><font color="#888888"><div><br clear="all"><div><div class="m_6531430755790798520gmail-m_5003576075350761045m_6232145959970312516m_-1971256666443113768gmail-m_91281897509097091m_-3374816719011963540gmail_signature"><div dir="ltr"><div><div dir="ltr">-- vijay</div></div></div></div></div>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br></blockquote></div><br></div>
</blockquote></div><br></div></div>
</blockquote></div></div></div>