From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 237233858D20; Wed, 17 Apr 2024 08:58:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 237233858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713344292; bh=wivMu9dxDJN+I98LHjZdL5fr5o/m3ojEmXtI9gc0L3Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bCvdKS0TGwpNmJbZOhV9GzU3Esz6OeE8zCz3C5L7twgp+9D10ajW9CME1dmQgbm+V tXgEF5GGrNKFhwgP+5Obd0QOCNmssdW5AXHjz6FJcGMKCekrjRDgt/oKnOk4F1kakS zMRpAvuB6/Y4Lzrbvxn90WD5U9vQNtK3tKz+3IIk= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/114751] .gcda:stamp mismatch with notes file Date: Wed, 17 Apr 2024 08:58:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 11.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114751 --- Comment #1 from Richard Biener --- >From reading what the gcov code does it somehow means that the gcda and gcno files were not created consistently. You can use gcov-dump to check the stamp, for an example pair I have around I see consistent stamps: > gcov-dump-13 t.gcda=20 t.gcda:data:magic `gcda':version `B32*' t.gcda:stamp 3774884159 t.gcda:checksum 2538568055 ... > gcov-dump-13 t.gcno t.gcno:note:magic `gcno':version `B32*' t.gcno:stamp 3774884159 t.gcno:checksum 0 ...=