This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCOV Loading error.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]