On 6 June 2018 at 20:49, Joel Sherrill <j...@rtems.org> wrote: > I can't duplicate this. My configure command was: > > ../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=leon3 > --prefix=/home/joel/rtems-work/tools/5 \ > --disable-networking --enable-posix --disable-smp > --disable-multiprocessing \ > --enable-tests --enable-cxx --enable-maintainer-mode > > What was yours? > > I didn't have --enable-cxx and --enable-maintainer-more.
I made some tries and somehow it's perfectly working now. I am trying to find out now how covoar generates the reports. I made a file with a list of all gcno in score/ and run with -g argument now I'mg seeing the following error while running covoar ====================== Generating Gcov reports... Processing file: libscore_a-allocatormutex.gcno Unable to open libscore_a-allocatormutex.gcno Processing file: libscore_a-apimutexisowner.gcno Unable to open libscore_a-apimutexisowner.gcno Processing file: libscore_a-apimutexlock.gcno Unable to open libscore_a-apimutexlock.gcno Processing file: libscore_a-apimutexunlock.gcno Unable to open libscore_a-apimutexunlock.gcno Processing file: libscore_a-chain.gcno Unable to open libscore_a-chain.gcno Processing file: libscore_a-chainnodecount.gcno . . . ====================== > > On Wed, Jun 6, 2018 at 9:40 AM, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> Hello, >> >> I have added the following changes in the bsps/sparc/leon3/config/leon3. >> cfg >> >> ---------- >> CFLAGS_OPTIMIZE_V = -Os -g >> CFLAGS_OPTIMIZE_V += -ftest-coverage >> ------- >> >> While trying to build with these flags, I got a bunch of >> the following errors: >> >> ========== >> {standard input}: Assembler messages: >> {standard input}:6510: Error: can't resolve `.data._SPARC_Counter' >> {.data._SPARC_Counter section} - `.LLtext0' {.text section} >> {standard input}:6511: Error: can't resolve `.data._SPARC_Counter' >> {.data._SPARC_Counter section} - `.LLtext0' {.text section} >> >> =================== >> >> after the `make install` I do get a lot of .gcno files, and no >> executables. >> >> -- vijay >> >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel >> > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel