From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 949203858D37; Tue, 16 Apr 2024 12:36:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 949203858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713271013; bh=+VIIlixAxh/1w0b4RKCDXmv6RYBrWyqobqTZd79HPkk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Zb8cijIfYTDq/jdNs3+sVBfpcCW+Ad1RHfk06xC4lKcIrtvKxkx7ce8XoP/xuBZcP wFU5wRJMY6/m9cs8aQTz5czGzi25wizGhUK3wUH49cWV9Mt8FOJMj+tPXeeTekVWkv hCb77FRdvDUlJ9fsx582VnRI+YtDhv9Jo/UwVq0g= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/114735] Gcov not working with gcc version 11.4.0 Date: Tue, 16 Apr 2024 12:36:53 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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=3D114735 --- Comment #3 from Andrew Pinski --- The "fix" was to how to build to be able to use gcov. Basically you build t= o an object file first and then link the object file to get the old behavior and= the behavior that gcov expects.=