Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40377 - [gcc] 4.9 breals gcov profiling

Attached to Project: Arch Linux
Opened by Andreas Boerner (aboerner) - Thursday, 15 May 2014, 15:45 GMT
Last edited by Allan McRae (Allan) - Monday, 02 June 2014, 13:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The update to gcc version 4.9 breaks the gcov profiling generation.

When I compile C++ code with the following options:

-std=gnu++11 -Wall -I. -O0 -march=native -ggdb -fprofile-arcs -ftest-coverage -finstrument-functions

and then run the executable, I get messages like the following:

profiling:/.../Func_643.cc.gcda:Version mismatch - expected 409* got 408*

I deleted all *.gcda and *.gcno files, error still happens.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 02 June 2014, 13:25 GMT
Reason for closing:  No response
Comment by Allan McRae (Allan) - Friday, 16 May 2014, 10:27 GMT
I can not replicate. Have you tried on a "hello world!" style program in a new directory?
Comment by Andreas Boerner (aboerner) - Friday, 23 May 2014, 03:53 GMT
if you search for gcov gcc 4.9 in google you find several problem reports; e.g.
http://lkml.iu.edu/hypermail/linux/kernel/1405.1/04070.html

Comment by Allan McRae (Allan) - Friday, 23 May 2014, 04:08 GMT
So... are you going to answer the question?

Loading...