From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Harry Trinta <harrytpc@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Error in Gcov for ARM
Date: Tue, 20 Sep 2011 07:46:00 -0000 [thread overview]
Message-ID: <CAH6eHdQtMY310gP1VoYhwe9YzbDptseOCJ0gO7p0OO2BRMDoAg@mail.gmail.com> (raw)
In-Reply-To: <CA+waeaWYH8f2ogvsPgj4W_Wt-1AepTk8xYP2GYpzu=sVM1O9MQ@mail.gmail.com>
On 20 September 2011 06:13, Harry Trinta wrote:
> Dear,
>
> I am having a problem when compiling a program with options
> -ftest-coverage and -fprofile-arcs to run on an embedded system with
> ARM processor.
> I'm using a GCC cross-compiler (arm-elf) to compile the program.
>
> The errors is as follows:
>
> - undefined reference to `__gcov_merge_add'
> - undefined reference to `__gcov_init'
>
>
> is there any restriction on the use of these parameters for this type
> of processor?
Are you linking with -fprofile-arcs or -lgcov?
next prev parent reply other threads:[~2011-09-20 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-20 5:14 Harry Trinta
2011-09-20 7:46 ` Jonathan Wakely [this message]
2011-09-20 10:08 ` Kai Ruottu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6eHdQtMY310gP1VoYhwe9YzbDptseOCJ0gO7p0OO2BRMDoAg@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=harrytpc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).