Sparc/leon3: Coverage analysis shows 0 bytes analysed

Hi,

I am trying to generate an RTEMS Coverage Analysis Report for the LEON3 as shown in this document
11.5. Coverage Analysis — RTEMS User Manual 7.1023b8c (8th January 2026) documentation, for the hello.exe application

RTEMS Version: 7

It produces the following error

Testing time: 0:00:00.751343
error: symbol parser write failed for score

I solved it by adding
RTEMS_DEBUG = True in config.ini

and running configuration and waf again,

But the generated HTML page says 0 bytes analysed

Am I missing anything?

Also added OPTIMIZATION_FLAG = -g -O0, in this case build fails on the following error

/home/ci230801053/Documents/Learning/opensourcecontrib/rtems_quickstart/rtems/7/lib/gcc/sparc-rtems7/15.2.0/../../../../sparc-rtems7/bin/ld: ./librtemscpu.a(check.c.62.o): in function `rtems_stack_checker_switch_extension':
/home/ci230801053/Documents/Learning/opensourcecontrib/rtems_quickstart/src/rtems/build/sparc/leon3/../../../cpukit/libmisc/stackchk/check.c:363:(.text+0x4e8): undefined reference to `Stack_checker_Reporter'
/home/ci230801053/Documents/Learning/opensourcecontrib/rtems_quickstart/rtems/7/lib/gcc/sparc-rtems7/15.2.0/../../../../sparc-rtems7/bin/ld: /home/ci230801053/Documents/Learning/opensourcecontrib/rtems_quickstart/src/rtems/build/sparc/leon3/../../../cpukit/libmisc/stackchk/check.c:363:(.text+0x4ec): undefined reference to `Stack_checker_Reporter'
collect2: error: ld returned 1 exit status

Unfortunately covoar broke when libdwarf was updated to account for a DWARF version change in the GNU tools.

There is a procedure for running the tests and using gcov to generate report. This is a better way to do coverage but I do not seem to be able to find the instructions right now. @opticron Do you know where these are?