Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2119971pxb; Fri, 29 Jan 2021 13:52:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFYA0xgts14S4Ovz5ovqcOxWslm+TuzC05Ol/zbpzM+nnAPqlQ7pbpuNiiIwoW3bMdDvwI X-Received: by 2002:a05:6402:c16:: with SMTP id co22mr7828794edb.175.1611957143321; Fri, 29 Jan 2021 13:52:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611957143; cv=none; d=google.com; s=arc-20160816; b=bKUO+L4zNY9INe1880RZ8FCqeHAcS7ugk8PWlhLxI+rnZGBjRKL6v3YCKj85P4S+gR OVJ2mGNX+ByELQQjx6dOs95c/ktME+26A5oPbZ1AzAhhk7HuH5VM1t5fqZD1z5LBfHBH whX8kUmvrSBeJBQzMYdFE1+pj0RbIdBkz5lXDYK1Vzq8HlpLQ02AuyYTGykvK+6zPmKb LXAKwYXdF0t5NXsuO6qx2BDG223bGl4sd1e30BME34kKljGv+G0WmoOuuSE3fLzkaYmM HLaigD+S9nudtZHfRgHyXv7zpp+kBD4W/TJsulEvAjs56RRFOYx47wddKwvnPz8wM1MU 65ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nDCl0b2Dk+cS7GVWEWeoYxC8mwKbqEi6yIqTF9Oo/qE=; b=QKy/3UkbiuPYd6sJAk9faXkIl+qxS6JbB+7hNwNHE83hPBQAARwYXUBoSpSKuuCeYP ajzAaUQi5P14lSObZyOs1DTHC/H6rfKL6Gv+PXWCsVJlAxUezjOh/yOmtGNgosDyoqrX T5IhiLOXSe7D7ID6qiHygttBKva1UGdqXT/MJQi9jS64zLQtK/5Th7O89bsmtKc5K4be eENpRBv2m3iblmbrUtk/3oxmZ6q3cLMzM5EVKjVkzT69H7oGVZgZw0+XlTJTCKr3fs32 U+q1vdczS/TrNESfuKFKSkt63+kkLldkQglnp+JJjFPjAm1IBvXF3tlN08ZC0Zzw0Pp3 EtyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=eGTW4MG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si5762713ejj.332.2021.01.29.13.51.39; Fri, 29 Jan 2021 13:52:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=eGTW4MG8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbhA2VtF (ORCPT + 99 others); Fri, 29 Jan 2021 16:49:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232401AbhA2VtC (ORCPT ); Fri, 29 Jan 2021 16:49:02 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E82F4C061574 for ; Fri, 29 Jan 2021 13:48:21 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id u11so6034904plg.13 for ; Fri, 29 Jan 2021 13:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nDCl0b2Dk+cS7GVWEWeoYxC8mwKbqEi6yIqTF9Oo/qE=; b=eGTW4MG8Pl3TK+TMkm4WglBjmPDuVT8H+GAviEyFrguRE6MRa/GZZU7J398/6ZxFe0 xKPb6fAPxgSfXD/5KNroU2ifvPgvO1IC8xBnFPZzEvffhM+8Q1IErfcPS36GrEAidfn7 mZUNfyj0ahxaGDAbfudWd+sU+mGeZMHZfwwVpRbB+qDyxpH5crTLeJwY1PlaMWn6JFMS NZ0bST5Evxu51geiAxpQM2AAPsjDwei/x21em74ddRcVbmAwrCX90CFifsFs6qZ1MfxK MGUg4o5cVCabYzEtUhZy2YrZ/jRtkSNA0vITi/lAdQbWRMyGdCsUvL40t9Y8gL8BLvub ckIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nDCl0b2Dk+cS7GVWEWeoYxC8mwKbqEi6yIqTF9Oo/qE=; b=aORyM66Te1eILmYq4R1rITgLa9Iuvd1xzCVBtOSlFN3WrHB061bv017M82ClU+OkfJ SLXmCE8+HIpjc4uvnNQCS5S1U8vK5a2xadE3lSfTjr25YNOuz7yrIqPSaIXKD72MvGSy 75dBOZ9I1m5bxZyi9qOFSg0ct+5PaMzakMnznTYYBROHalmMPdrkpv9nO9zCeJM/H/sH fFcX6EBNXvsT5XmVcRf6YaqLuvTBe5a9tmQfnUHRuYQXSUL/aUAPnLU/D+sCTtdlfzYh kcaIETXluR6rUPWVcz0PGwJc7qHPAO+zVg0hq6QxMtbej8Rei//tN+MmtGCrhPylTQ/f OTzw== X-Gm-Message-State: AOAM533rHMD3e52Y3w4dmlcSFaRtpV2Ba8NDEmhDh5E/XB9CpUJsm38u oTkFXQWppJO6kJxepDlKU4c0CedkpABTN4gKtoyHeg== X-Received: by 2002:a17:90a:8b82:: with SMTP id z2mr6338917pjn.25.1611956901187; Fri, 29 Jan 2021 13:48:21 -0800 (PST) MIME-Version: 1.0 References: <20210121082451.2240540-1-morbo@google.com> <20210122101156.3257143-1-morbo@google.com> In-Reply-To: From: Nick Desaulniers Date: Fri, 29 Jan 2021 13:48:10 -0800 Message-ID: Subject: Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure To: Sedat Dilek Cc: Bill Wendling , Andrew Morton , Jonathan Corbet , Masahiro Yamada , Linux Doc Mailing List , LKML , Linux Kbuild mailing list , clang-built-linux , Nathan Chancellor , Sami Tolvanen Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 28, 2021 at 11:43 PM Sedat Dilek wrote: > > Some comments: > > [ hash mismatches ] > > Observed identical warnings when doing a rebuild with GAS or Clang-IAS. > > [ Importance of LLVM_IAS=1 working ] > > Clang-LTO and Clang-CFI depend both on LLVM_IAS=1 (see for example > "kbuild: add support for Clang LTO"). > Sooner or later we will deal with this issue (hope it is not a local problem). If you're switching back and forth between GAS and IAS, then I would expect a hash error if you're trying to reuse profiling data from one with the other. The profiling data is not portable when switching toolchains between when the profile was collected, and when it was used. -- Thanks, ~Nick Desaulniers