apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: test coverage error
Date Wed, 07 Jun 2006 09:37:13 GMT
Joe Orton wrote:
> On Sat, Jun 03, 2006 at 02:02:18AM -0700, Philip M. Gollucci wrote:
>> 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 ?
> Does it work if you explicitly link -lgcov by passing LIBS=-lgcov to 
> configure too?
CFLAGS="-fprofile-arcs -ftest-coverage" ./configure
LIBS="-lgcov" CFLAGS="-fprofile-arcs -ftest-coverage" ./configure

Second works. (Thanks Joe)

Without out it, _all_ versions of gcc compiled from source also break. 
Even the 3.4.x branch after the fix was supposedly committed.

I tried these:
gcc version 2.95.3 20010315 (release)
gcc version 3.3.6
gcc version 3.2.3
gcc version 3.4.4 20050518
gcc version 3.4.6 (should work here, but doesn't)
gcc version 4.0.4 20060525 (prerelease)
gcc version 4.1.2 20060526 (prerelease)
gcc version 4.2.0 20060527 (experimental)

Philip M. Gollucci (pgollucci@p6m7g8.com) 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..."

View raw message