Re: multiple definition of __getreent (in newlib's crt0.c and RTEMS' confdefs.h)

2018-04-16 Thread Sebastian Huber
Hello, you found a nasty piece in the RTEMS Newlib/GCC configuration. Newlib provides a crt0.o file which contains a bunch of global symbols suitable enough to make the GCC link-time configure tests happy. This file must never be used for a real RTEMS application. The default startfile of GCC

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Cillian O'Donnell
Also if there's any file in covoar directory of coverage-merge branch that's called symbol-set.c symbol_set_reader.h or any variation of that, that you don't already have pull all of them into your current branch. On Tue, 17 Apr 2018, 07:19 Cillian O'Donnell, wrote: > Some things are definitely

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Cillian O'Donnell
Some things are definitely missing there. Git checkout main.c coverage-merge. If you have that branch lying around, that definitely has everything in it. I must of missed of some things updating to current master. Fingers crossed this solves our problems On Mon, 16 Apr 2018, 22:52 Vijay Kumar Ban

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Joel Sherrill
Cillian.. is he missing a patch? On Mon, Apr 16, 2018 at 4:52 PM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > > > On Tue, 17 Apr 2018, 03:19 Joel Sherrill, wrote: > >> >> >> On Mon, Apr 16, 2018 at 4:47 PM, Vijay Kumar Banerjee < >> vijaykumar9...@gmail.com> wrote: >> >>> >>> >>> O

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Vijay Kumar Banerjee
On Tue, 17 Apr 2018, 03:19 Joel Sherrill, wrote: > > > On Mon, Apr 16, 2018 at 4:47 PM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> >> >> On 17 April 2018 at 01:43, Cillian O'Donnell >> wrote: >> >>> >>> >>> On 16 April 2018 at 17:46, Joel Sherrill wrote: >>> O

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Joel Sherrill
On Mon, Apr 16, 2018 at 4:47 PM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > > > On 17 April 2018 at 01:43, Cillian O'Donnell > wrote: > >> >> >> On 16 April 2018 at 17:46, Joel Sherrill wrote: >> >>> >>> >>> On Mon, Apr 16, 2018 at 2:33 AM, Vijay Kumar Banerjee < >>> vijaykumar9..

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Vijay Kumar Banerjee
On 17 April 2018 at 01:43, Cillian O'Donnell wrote: > > > On 16 April 2018 at 17:46, Joel Sherrill wrote: > >> >> >> On Mon, Apr 16, 2018 at 2:33 AM, Vijay Kumar Banerjee < >> vijaykumar9...@gmail.com> wrote: >> >>> current status : >>> the coverage is running now with rtems-test and generating

Re: multiple definition of __getreent (in newlib's crt0.c and RTEMS' confdefs.h)

2018-04-16 Thread Joel Sherrill
On Mon, Apr 16, 2018 at 3:53 PM, Amaan Cheval wrote: > Hi! > > I haven't had much time to continue investigating this specific problem, > but as I suspected, I've been able to work around it for the time being by > simply using gcc 7.2.0 with Newlib 2.5.0 with my patch[1] tacked on to it > (which

Re: multiple definition of __getreent (in newlib's crt0.c and RTEMS' confdefs.h)

2018-04-16 Thread Amaan Cheval
Hi! I haven't had much time to continue investigating this specific problem, but as I suspected, I've been able to work around it for the time being by simply using gcc 7.2.0 with Newlib 2.5.0 with my patch[1] tacked on to it (which seems to have fallen through the cracks - I'd appreciate any inpu

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Cillian O'Donnell
On 16 April 2018 at 17:46, Joel Sherrill wrote: > > > On Mon, Apr 16, 2018 at 2:33 AM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> current status : >> the coverage is running now with rtems-test and generating the report, >> however, the report doesn't show any data. >> > > I'v

Re: [PATCH] Remove register keyword from public header files

2018-04-16 Thread Joel Sherrill
I'm a bit surprised we had this many left. I thought we had generally come to agreement not to use register and were slowly removing it anyway. Feel free to commit Please update the Coding Conventions to include not using register. https://devel.rtems.org/wiki/Developer/Coding/Conventions --joel

Re: the generated coverage report doesn't contain any data

2018-04-16 Thread Joel Sherrill
On Mon, Apr 16, 2018 at 2:33 AM, Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > current status : > the coverage is running now with rtems-test and generating the report, > however, the report doesn't show any data. > I've been lurking as you have been making progress. Now you have cros

the generated coverage report doesn't contain any data

2018-04-16 Thread Vijay Kumar Banerjee
current status : the coverage is running now with rtems-test and generating the report, however, the report doesn't show any data. -- vijay ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: error while running rtems-test with coverage

2018-04-16 Thread Cillian O'Donnell
Yup good idea. On Mon, 16 Apr 2018, 08:23 Vijay Kumar Banerjee, wrote: > the coverage is running now, shall we start a new mail thread for > covoar report ? > > -- vijay > > On 16 April 2018 at 12:35, Vijay Kumar Banerjee > wrote: > >> Ok thanks, so now we need to look into covoar. >> Do you ha

Re: error while running rtems-test with coverage

2018-04-16 Thread Vijay Kumar Banerjee
the coverage is running now, shall we start a new mail thread for covoar report ? -- vijay On 16 April 2018 at 12:35, Vijay Kumar Banerjee wrote: > Ok thanks, so now we need to look into covoar. > Do you have any sample output that will give me an idea of what it should > look like ? > > On Mon

Re: error while running rtems-test with coverage

2018-04-16 Thread Cillian O'Donnell
I don't have a screen shot of it. If you firefox report.html and have a look, all the bits that are NaN and all that will be filled with a percentage coverage for all symbol sets tested (the only set in symbol-sets.cfg is score at the moment so the coverage will be the tests that were run on that s

Re: error while running rtems-test with coverage

2018-04-16 Thread Vijay Kumar Banerjee
Ok thanks, so now we need to look into covoar. Do you have any sample output that will give me an idea of what it should look like ? On Mon, 16 Apr 2018, 11:13 Cillian O'Donnell, wrote: > Probably what'll happen is, when the reports are generating properly, > Chris will review the changes and co