RE: POSIX and return codes...

2018-02-28 Thread Jakob Viketoft
Hello Sebastian, From: Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Wednesday, February 28, 2018 11:55 > - Am 27. Feb 2018 um 13:11 schrieb Jakob Viketoft > jakob.viket...@aacmicrotec.com: > >> From: Joel Sherrill [j...@rtems.org] >> Sent: Monday, February 26, 2018 14:36 O

Re: N2X, GR740 and coverage: The impact of a linkcmds patch from 2014 to gcov_init calls

2018-02-28 Thread Sebastian Huber
It was a bug in the linker command file. See attached patches. - Am 28. Feb 2018 um 12:50 schrieb Thanassis Tsiodras thanassis.tsiod...@esa.int: >> However, I am not able to reproduce this problem. > > Hi Sebastian. > > Look at the reply I sent this morning to the mailing list - I uploaded

Re: N2X, GR740 and coverage: The impact of a linkcmds patch from 2014 to gcov_init calls

2018-02-28 Thread Thanassis . Tsiodras
> However, I am not able to reproduce this problem. Hi Sebastian. Look at the reply I sent this morning to the mailing list - I uploaded the code in a GitHub repository and provided instructions in the mailing list with the exact invocations that reproduce the issue. Hope this helps! Thanassi

Re: N2X, GR740 and coverage: The impact of a linkcmds patch from 2014 to gcov_init calls

2018-02-28 Thread Sebastian Huber
- Am 27. Feb 2018 um 17:30 schrieb Thanassis Tsiodras thanassis.tsiod...@esa.int: [...] > After quite a lot of hunting, we traced this failure to a patch in the > "linkcmds.base" - done back in 2014 ( commit 95cb09ed746 ) : > > This commit changed "c/src/lib/libbsp/sparc/shared/startup/linkc

Re: POSIX and return codes...

2018-02-28 Thread Sebastian Huber
- Am 27. Feb 2018 um 13:11 schrieb Jakob Viketoft jakob.viket...@aacmicrotec.com: > From: Joel Sherrill [j...@rtems.org] > Sent: Monday, February 26, 2018 14:36 >>> On Feb 26, 2018 8:27 AM, "Jakob Viketoft" >>> wrote: > >>> Hello Joel, > >>> From: Joel Sherrill [j...@rtems.org] >>> Sent:

Re: N2X, GR740 and coverage: The impact of a linkcmds patch from 2014 to gcov_init calls

2018-02-28 Thread Thanassis . Tsiodras
Hi Chris. You can clone this repository: https://github.com/ttsiodras/EmbeddedCoverage ...and then use different build invocations to easily reproduce - like this: First, with an older toolchain: = (master)$ /opt/rtems-4.11/bin/sparc-rtems4.11-gcc -v Using