* GCOV Loading error.
@ 2014-03-07 14:39 Akshya Chhabra
2014-03-09 22:32 ` AKSHYA CHHABRA
0 siblings, 1 reply; 2+ messages in thread
From: Akshya Chhabra @ 2014-03-07 14:39 UTC (permalink / raw)
To: gcc-help
Hi,
I am trying to setup GCOV in my env for that I have added these
flags in for compilation and linking.
CFLAGS_linux= -m32 -fPIC -g -Wall -fprofile-arcs -ftest-coverage
LDFLAGS_linux= -m32 -shared -L/usr/lib -fprofile-arcs
After this I am able to compile properly and the corresponding .o and
.gcno files are generated.
But when I am trying to start my process it is giving me this error
while starting the process.
ERROR bad load_module for:
"/u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so":
/u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so: undefined
symbol: __gcov_merge_add
Can you please help me in fixing this issue asap.
--
Rgds,
Akshya
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCOV Loading error.
2014-03-07 14:39 GCOV Loading error Akshya Chhabra
@ 2014-03-09 22:32 ` AKSHYA CHHABRA
0 siblings, 0 replies; 2+ messages in thread
From: AKSHYA CHHABRA @ 2014-03-09 22:32 UTC (permalink / raw)
To: gcc-help
Akshya Chhabra <akshya.chhabra <at> gmail.com> writes:
>
> Hi,
> I am trying to setup GCOV in my env for that I have added these
> flags in for compilation and linking.
>
> CFLAGS_linux= -m32 -fPIC -g -Wall -fprofile-arcs -ftest-coverage
>
> LDFLAGS_linux= -m32 -shared -L/usr/lib -fprofile-arcs
>
> After this I am able to compile properly and the corresponding .o and
> .gcno files are generated.
>
> But when I am trying to start my process it is giving me this error
> while starting the process.
>
> ERROR bad load_module for:
> "/u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so":
> /u02/sms/achhabra/B6400_BRANCH/sms_bins/lib/fm_sir_utils.so: undefined
> symbol: __gcov_merge_add
>
> Can you please help me in fixing this issue asap.
>
After fixing the above issue I am facing this issue now ..
For me the .gcda files is itself not getting generated any where in my env.
I hope I have not missed anything . I am working with shared libraries. Any
pointer ???
for me the .gcno is generated properly after compilation and the .gcno and
.so is in the same directory . The main process which I am running is
loading this shared library and calling it for during various operations.
With this main process I am doing those operations but somehow the .gcda is
not getting generated because of which I am not able to run gocv on the
source file.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-07 20:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 14:39 GCOV Loading error Akshya Chhabra
2014-03-09 22:32 ` AKSHYA CHHABRA
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).