Hi all,

We're trying to use GCOV together with the ARM-ELF development 
environment.

Our installation is:
arm-elf-gcc: 3.4.3
arm-elf-ld:  2.15
arm-elf-ar, binutils: 2.15


(1) First we've compiled with the following standard gcc command line
    gcc -fprofile-arcs -ftest-coverage -o sample sample.c
    Running the image works fine, the expected gcov data file sample.da
    has been created.

(2) After them, we've tried it with the arm-elf-gcc
    arm-elf-gcc -fprofile-arcs -ftest-coverage -o sample sample.c
    Running the image in the arm emulation arm-elf-run, no gcov data
    file sample.gda has been created.

(3) Next, we've puted debugging printf to the fuctions gcov_init
    and gcov_flush, after rebuilding libgcov.a and building sample.c
    we've seen, that the code of these functions isn't entered.

What do we do wrong ? 

thank you,

Franz Kaufleitner


-- 
           Summary: arm-elf-gcc with gcov option do not work
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov/profile
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: franz dot kaufleitner at gmx dot at


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26313

Reply via email to