error while building leon3 with gcov flags

Joel Sherrill joel at rtems.org
Wed Jun 6 15:19:13 UTC 2018


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?


On Wed, Jun 6, 2018 at 9:40 AM, Vijay Kumar Banerjee <
vijaykumar9597 at 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 at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180606/856c8edf/attachment-0002.html>


More information about the devel mailing list