Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3999875pxv; Tue, 13 Jul 2021 08:34:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxdK8QxPnBfUD4Lwj8W3rSLl6lO9u/TAQ8y8WK9m9bHT0IEZLAllXMpuGeduvogJvTZvZP X-Received: by 2002:a92:c10d:: with SMTP id p13mr3217774ile.83.1626190489721; Tue, 13 Jul 2021 08:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626190489; cv=none; d=google.com; s=arc-20160816; b=mVaXYayNTrvauVATJ97FOywyUlZpGxIRkaDskSSG9DJ/AbZBNOrzJo7y2fWCfeudJY TnuSHzjyia7RU68pQ5bZgVciMWzO/J5c1BucGohPyeRnzrXgRD0aFoZF10RIbNn/7+DI fuDY2GLvfzfk8xkZjp4x6qif8aBqBfYCA5Qs74MIvznisrf/wikXpXV/u6RRqXjoGiiL GrN4TS4554o9rn2rhK/2xNcmKJAG2IbJ9J+5ENSGzb8/NHozQkXFQkmiXbblhyKAPjVy dJr6SQEiY5BVmoQPP2zoMktInEx2jE0fgaJ/w/KCSVjT/UTFqBgAcAu3FWxi462K6t8k MdTw== 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=t5TojjWrRBsIs06i7+P4LW8furiBuJJWbJ4iVN8Q5zU=; b=0ccr6eP52D1WlhncXe7dbjJkumUYySokiElVVXQ+7D+LqwQmdVT3oOueqvVsecd9xG gFKamkhWk/TWqxOH5R1eqEu6X+UbS4wUptzUABF95ay4ocuiAmDW1pBRYY8o6b3vB1Se MZacjGHDeX8j1F/pIDKihN129kyUlJ619kIVeG5ZQhNqZKNbZMCoPw2a20/L/auvX/Lb P4ViFkYXDJEQv1znKGxWvy3wAma5Xmv58GpOQXrDgnlFfKwaA1Rcv2rX7+nwyHSN/ImV dpdcp1XpJKJUFpz5ShooUs/D3oSmZoVH6nn6kibk9rdzWdYsOyolh9zS3iEyLyB9G98S H4Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mlQxxp9E; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si22884599iow.36.2021.07.13.08.34.19; Tue, 13 Jul 2021 08:34:49 -0700 (PDT) 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=@linaro.org header.s=google header.b=mlQxxp9E; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236969AbhGMPfU (ORCPT + 99 others); Tue, 13 Jul 2021 11:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237003AbhGMPfU (ORCPT ); Tue, 13 Jul 2021 11:35:20 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2369CC0613DD for ; Tue, 13 Jul 2021 08:32:29 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id t3so33701574edc.7 for ; Tue, 13 Jul 2021 08:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t5TojjWrRBsIs06i7+P4LW8furiBuJJWbJ4iVN8Q5zU=; b=mlQxxp9EfXr5aItbTmmQ0FP9K2knh+UKzG6qniVQXogxGFsBR7xTTUYytPs6CiE4l6 4Ho5o80fgXcAP3FsKZMD2099008Bkf/kjrftHtHQDiSVL+LhJSY0aBI9Ia79KaWyhlr4 2YlaAWpRMdB5rDX48BjbbUZWseSwSkvUgyxajpiEg4s/FaGrLIQ88Znap+zWu5kdKMxQ dEHI4KByMeaedBUL1/SSK8Ya0pjdVAmxV8cJOxiuVZ5T1O2XXlsa3gh8xc5wgDQ5jgI7 3aLd8/VzaQpoLXpm6zsXMbkgJ8yH5tXn6UUN92CUuFbH/AFh8uGf17TDSRRO+x7zAPDH T/JQ== 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=t5TojjWrRBsIs06i7+P4LW8furiBuJJWbJ4iVN8Q5zU=; b=EvAAr1/oEhZf1tcblqoyWVzJ6YpadLZii2Ja22aTSSRICstwx7m2AXJuXbkHL46cmj V5qhYohqMqEAtYa1KShJTE83H52TlX5wDZ/doul4o4GvPpUa7A9ZqiLwVlf/eFxUzEDQ sHYntEoy3UZIzs9VEoG13yo+qooxgeSofSPqDhIZPvCSTC2Gzx/PXtJ1xxKIbWEsZ6fo VxiXAIU87zljzJhp4+RhnEzfFfnsqyE0nldlBc7gkPKXEhArdcllD4sRpCF78Qpy8fA3 bSTMV+dL9zaljpec4BVX7ifvU82gE/Kq0UB3pa+fM1F42YJSnHrDwq7SME87klweDlE1 rMNQ== X-Gm-Message-State: AOAM5301G5uJmGZNMLOliGBL4ylyNRslO1FstheAEg+ZjqLY8sBoBqw/ KoZCJen3BdEIq+ZgRIGen0yzpCUslw+rnmHSS88mDA== X-Received: by 2002:aa7:db94:: with SMTP id u20mr6543698edt.381.1626190347701; Tue, 13 Jul 2021 08:32:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anders Roxell Date: Tue, 13 Jul 2021 17:32:17 +0200 Message-ID: Subject: Re: perf: bench/sched-messaging.c:73:13: error: 'dummy' may be used uninitialized To: Greg Kroah-Hartman Cc: Naresh Kamboju , perf-users , open list , linux-stable , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Sasha Levin , Leo Yan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Jul 2021 at 17:18, Greg Kroah-Hartman wrote: > > On Tue, Jul 13, 2021 at 08:40:28PM +0530, Naresh Kamboju wrote: > > LKFT have noticed these warnings / errors when we have updated gcc version from > > gcc-9 to gcc-11 on stable-rc linux-5.4.y branch. I have provided the steps to > > reproduce in this email below. > > > > Following perf builds failed with gcc-11 with linux-5.4.y branch. > > - build-arm-gcc-11-perf > > - build-arm64-gcc-11-perf > > - build-i386-gcc-11-perf > > - build-x86-gcc-11-perf > > > > Build error log: > > -------------------- > > > > I imagine this is fixed in newer kernel versions, so if you could > provide the git ids of the patches needed to fix this up in 5.4, that > would be great! You were correct, I did a bisect [1] and found d493720581a6 ("perf bench: Fix 2 memory sanitizer warnings"). commit d2c73501a767514b6c85c7feff9457a165d51057 upstream. Cherry picked it and I was able to build it on arm64 and x86. Cheers, Anders [1] http://ix.io/3sS6