[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-06-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-06-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #18 from Martin Liška --- Author: marxin Date: Thu Jun 8 07:51:07 2017 New Revision: 249006 URL: https://gcc.gnu.org/viewcvs?rev=249006=gcc=rev Log: gcov: Add block_info::block_info (PR gcov-profile/80911). 2017-06-08 Martin

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-30 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #17 from Tom de Vries --- (In reply to Martin Liška from comment #2) > Can't confirm that, running trunk@248556 works fine for me. > Utilizing valgrind also does not help. I also had problems reproducing the problem, so I decided to

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #16 from Martin Liška --- (In reply to Tom de Vries from comment #15) > (In reply to Tom de Vries from comment #13) > > (In reply to Martin Liška from comment #12) > > > Created attachment 41436 [details] > > > Candidate patch > > >

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #15 from Tom de Vries --- (In reply to Tom de Vries from comment #13) > (In reply to Martin Liška from comment #12) > > Created attachment 41436 [details] > > Candidate patch > > > > Please test the patch. > > Currently testing.

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #14 from Tom de Vries --- (In reply to Martin Liška from comment #11) > Ok, I'm probably starting to know what's wrong. Can you please following > patch and provide me output: > I have not yet been able to reproduce the problem in

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #13 from Tom de Vries --- (In reply to Martin Liška from comment #12) > Created attachment 41436 [details] > Candidate patch > > Please test the patch. Currently testing.

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 Martin Liška changed: What|Removed |Added Status|WAITING |NEW Assignee|unassigned at gcc

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #12 from Martin Liška --- Created attachment 41436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41436=edit Candidate patch Please test the patch.

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #11 from Martin Liška --- Ok, I'm probably starting to know what's wrong. Can you please following patch and provide me output: diff --git a/gcc/gcov.c b/gcc/gcov.c index a5aa4aadcac..b0417165642 100644 --- a/gcc/gcov.c +++

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #10 from Tom de Vries --- (In reply to Martin Liška from comment #6) > That said can you please verify gcov --version and gcov-dump --version. $ ./install/bin/gcov --version gcov (GCC) 8.0.0 20170524 (experimental) Copyright (C)

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #3) > When run from command line: > ... > nobootstrap/build/gcc/gcov gcov-1.c > gcov-1.gcno:corrupted > gcov-1.gcda:profile mismatch for 'main' > Segmentation fault >

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #8 from Martin Liška --- For the files you provided: $ gcov gcov-1.c && cat gcov-1.c.gcov /home/vries/gcc_versions/data/ref-master-17-05-24/src/gcc/testsuite/gcc.misc-tests/gcov-1.c:source file is newer than notes file

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #7 from Martin Liška --- Sorry, the previous comment is not correct as I see changes paths in the file. Investigating more...

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #6 from Martin Liška --- > > $ ./nobootstrap/install/bin/gcov-dump gcov-1.gcno > gcov-1.gcno:note:magic `gcno':version `A80e' > gcov-1.gcno:stamp 1402604930 > gcov-1.gcno: 0100: 19:FUNCTION ident=108032747, >

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #5 from Tom de Vries --- (In reply to Martin Liška from comment #2) > Can't confirm that, running trunk@248556 works fine for me. > Utilizing valgrind also does not help. > > Can you please run a single test manually: > > $ gcc

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #4 from Tom de Vries --- Created attachment 41434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41434=edit gcov-1.tgz $ tar cvfz gcov-1.tgz gcov-1.* gcov-1.exe gcov-1.gcda gcov-1.gcno

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #3 from Tom de Vries --- When run from command line: ... nobootstrap/build/gcc/gcov gcov-1.c gcov-1.gcno:corrupted gcov-1.gcda:profile mismatch for 'main' Segmentation fault ...

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug gcov-profile/80911] gcov failed: gcno corrupted

2017-05-29 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80911 --- Comment #1 from Tom de Vries --- Configured as: ... $ xgcc -v Using built-in specs. COLLECT_GCC=./nobootstrap/build/gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: src/configure --prefix=nobootstrap/install --with-gmp=infra