<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><br></div><div>On 5 Jul 2018, at 5:20 am, Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 4, 2018, 1:46 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 4 July 2018 at 22:37, 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="auto"><span class="m_247801044271508425gmail-"><div><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 4, 2018, 3:06 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 4/7/18 5:55 pm, Vijay Kumar Banerjee wrote:<br>
> On 4 July 2018 at 13:09, Chris Johns <<a href="mailto:chrisj@rtems.org" rel="noreferrer noreferrer" target="_blank">chrisj@rtems.org</a><br>
> <mailto:<a href="mailto:chrisj@rtems.org" rel="noreferrer noreferrer" target="_blank">chrisj@rtems.org</a>>> wrote:<br>
> <br>
>     On 4/7/18 5:38 pm, Chris Johns wrote:<br>
>     > On 4/7/18 4:52 pm, Vijay Kumar Banerjee wrote:<br>
>     >><br>
>     >> I'm starting this thread for discussions on the gcov support <br>
>     >> in covoar.<br>
>     >><br>
>     >> Current status is that the code in it (like in <a href="http://GcovData.cc">GcovData.cc</a>) remained untouched <br>
>     >> for a long time and it had not been updated after the source tree reorganization<br>
>     >> which is why it runs into segmentation<br>
>     >> fault while trying to find the source files.<br>
>     >><br>
>     >> Joel was suggesting to copy the file gcov-io.h from the gcc<br>
>     >> source after a license discussion here.<br>
>     > <br>
>     > What license the file's license?<br>
> <br>
>     Sorry .. What is the file's license?<br>
> <br>
> GPL version 3 <br>
<br>
This license is not suitable.<br></blockquote></div></div><div dir="auto"><br></div></span><div dir="auto">It has the runtime exception and is the only file that defines the format of gcno and (need to double-check) gcda file. It does not contaminate anything.</div><div dir="auto"><br></div><div dir="auto">I don't see anyway to interpret gcno or write gcda data otherwise. </div><div dir="auto"><br></div><div dir="auto">How does llvm address this? Don't that have the same issue? </div><div dir="auto"><br></div></div></blockquote><div>llvm defines it in GCOV.h file in llvm/ProfileData/ under the license </div><div><span style="color:rgb(36,41,46);font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">it's mentioned there that it's distributed under University of Illinois Open Source License</span><br></div><div><a href="https://github.com/llvm-mirror/llvm/blob/master/include/llvm/ProfileData/GCOV.h" target="_blank" rel="noreferrer">https://github.com/llvm-mirror/llvm/blob/master/include/llvm/ProfileData/GCOV.h </a></div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That would be the preferred way to get this header. Is it technically acceptable?</div><div dir="auto"><br></div><div dir="auto">Chris.. license acceptable to you?</div></div></div></blockquote><div><br></div>Yes. Please avoid GPLv3 even with the exception. <div><br></div><div>Thanks</div><div>Chris<br></div><div><br></div></body></html>