Hi,
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 ?
FreeBSD 6.1-PRERELEASE
gcc -v
gcc version 3.4.4 [FreeBSD] 20050518
apr svn trunk
./buildconf
CFLAGS="-fprofile-arcs -ftest-coverage"
./configure
--prefix=/usr/local/software/3.4.4/apr/r411403 \
--enable-debug
--enable-maintainer-mode
--enable-profile
--enable-pool-debug=all
--enable-nonportable-atomics
--enable-threads
make
cd test
make
/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
testlockperf.lo
/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 ../libapr-1.la -lcrypt
-lpthread
/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 ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
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..."