Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Kurt Fitzner <kurt.fitzner@gm...> - 2010-10-24 22:43:25
I am trying to produce an optimized build of libbzip2. I have compiled
bzip2 with -fprofile-arcs -fprofile-values -fvpt -ftest-coverage. The
compiler correctly produces .gcno files, and the executable correctly
produces .gcda files when it exits. I can successfully run gcov on the
produced .gcda files. Everything seems fine, except when I then go to
recompile with -fbranch-probabilties, gcc says it cannot find its .gcda
gcc -Wall -Winline -O3 -mtune=native -g -D_FILE_OFFSET_BITS=64
-fbranch-probabilities -c -o blocksort.o blocksort.c
blocksort.c: In function 'mainGtU':
blocksort.c:1089:1: note: file
W:\SelfImage2\lib\libbzip2/blocksort.gcda not found, execution counts
The .gcda files are there, just gcc goesn't seem to see them. Has
anyone else been able to get -fbranch-probabilities to work with MinGW's
From: Kurt Fitzner <kurt.fitzner@gm...> - 2010-10-28 22:09:49
On 24 Oct 10 19:43, Kurt Fitzner wrote:
> I am trying to produce an optimized build of libbzip2 ... Everything seems fine, except when I then go to recompile with -fbranch-probabilties, gcc says it cannot find its .gcda
I am still trying to get -fbranch-probabilities to work without
success. Does anyone know if this worked with earlier MinGW releases?
I'm using gcc 184.108.40.206 at the moment - I would be willing to revert to
earlier versions if this worked on any of them.
Any information at all would be greatly appreciated.