From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D96AEC433B4 for ; Wed, 7 Apr 2021 21:21:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AECEC611CC for ; Wed, 7 Apr 2021 21:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232496AbhDGVVh (ORCPT ); Wed, 7 Apr 2021 17:21:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:42954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbhDGVVd (ORCPT ); Wed, 7 Apr 2021 17:21:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 61A9661175; Wed, 7 Apr 2021 21:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1617830482; bh=o8qxPnJ+j1q0xf7lkD4ZrFQFOtWVhbzPe6KygNi37aw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=R73EQ1qQOJLsA2EYjLE2NnBV7mRwgfgmYv9jf8VkbfbljNVMo8M7kIcQOYj3zla58 emLwyX0mRrvhc+9fhPY5ef9dLZIH0Ebk1SzJWSUReCV83bft6rQBppZY4QKSBWZzGu Bt4YqxsQbWqW0I/T+Gun1l4XHG5ABwpm+VSrk/8k= Date: Wed, 7 Apr 2021 14:21:21 -0700 From: Andrew Morton To: Nick Desaulniers Cc: Peter Oberparleiter , Nathan Chancellor , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Fangrui Song , Prasad Sodagudi , stable@vger.kernel.org Subject: Re: [PATCH 1/2] gcov: re-fix clang-11+ support Message-Id: <20210407142121.677e971e9e5dc85643441811@linux-foundation.org> In-Reply-To: <20210407185456.41943-2-ndesaulniers@google.com> References: <20210407185456.41943-1-ndesaulniers@google.com> <20210407185456.41943-2-ndesaulniers@google.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Apr 2021 11:54:55 -0700 Nick Desaulniers wrote: > LLVM changed the expected function signature for > llvm_gcda_emit_function() in the clang-11 release. Users of clang-11 or > newer may have noticed their kernels producing invalid coverage > information: > > $ llvm-cov gcov -a -c -u -f -b .gcda -- gcno=.gcno > 1 : checksum mismatch, \ > (, ) != (, ) > 2 Invalid .gcda File! > ... > > Fix up the function signatures so calling this function interprets its > parameters correctly and computes the correct cfg checksum. In > particular, in clang-11, the additional checksum is no longer optional. Which tree is this against? I'm seeing quite a lot of rejects against Linus's current.