httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject test coverage error
Date Sat, 03 Jun 2006 08:43:08 GMT

Googling seems to suggest a patch to GCC is needed.  I'm hoping not.
I'm going to try other (newer) gcc versions as I happen to have them handy.

Any thoughts on the below ?

gcc -v
   gcc version 3.4.4 [FreeBSD] 20050518
   apr svn trunk


CFLAGS="-fprofile-arcs -ftest-coverage"
		--prefix=/usr/local/software/3.4.4/apr/r411403  \		

cd test
/usr/local/bin/bash /home/pgollucci/dev/repos/asf/apr/apr/trunk/libtool 
--silent --mode=compile gcc -Wall -Wmissing-prototypes 
-Wstrict-prototypes -Wmissing-declarations -pg  -fprofile-arcs 
-ftest-coverage -DHAVE_CONFIG_H -DAPR_POOL_DEBUG=31   -I../include 
-I./../include  -o testlockperf.lo -c testlockperf.c && touch 
/usr/local/bin/bash /home/pgollucci/dev/repos/asf/apr/apr/trunk/libtool 
--silent --mode=link  gcc -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -pg  -fprofile-arcs -ftest-coverage 
-DHAVE_CONFIG_H -DAPR_POOL_DEBUG=31   -I../include -I./../include 
-no-install    -o testlockperf testlockperf.lo ../   -lcrypt 
/usr/bin/ld: testlockperf: hidden symbol `__gcov_flush' in 
/usr/lib/libgcov.a(_gcov.o) is referenced by DSO
*** Error code 1

Stop in /usr/home/pgollucci/dev/repos/asf/apr/apr/trunk/test.
*** Error code 1

Stop in /usr/home/pgollucci/dev/repos/asf/apr/apr/trunk/test.

Philip M. Gollucci ( 323.219.4708
Consultant /
Senior Software Engineer - TicketMaster -
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

View raw message