This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCOV Loading error.
- From: Akshya Chhabra <akshya dot chhabra at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 5 Mar 2014 15:22:46 -0500
- Subject: GCOV Loading error.
- Authentication-results: sourceware.org; auth=none
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