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=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 84D1BC07E96 for ; Thu, 15 Jul 2021 11:06:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67ED3613BF for ; Thu, 15 Jul 2021 11:06:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241594AbhGOLJD (ORCPT ); Thu, 15 Jul 2021 07:09:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:60500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232607AbhGOLJD (ORCPT ); Thu, 15 Jul 2021 07:09:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B544E613BA; Thu, 15 Jul 2021 11:06:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626347169; bh=QkOkdUcOViEhBVsoPhE8IodYpSf+Cok4kd3koRr61RI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GshbyFE8OMeovccRyU/24dc0jWn06Lmw5IX9tYxWZ6+YK2P9LDadKo5vQtDONor5a zfHQS+3AdlqSd/ViGiX1J+Y6M/gxJff5BQYHi6XCoRqSkwuobdmNTtOvjeZIzGriKd Tn4APXo5sCYRBHrDLOmrXqKxFHzGXK04lXX6wwAQ= Date: Thu, 15 Jul 2021 13:05:58 +0200 From: Greg Kroah-Hartman To: Anders Roxell Cc: Naresh Kamboju , perf-users , open list , linux-stable , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Sasha Levin , Leo Yan Subject: Re: perf: bench/sched-messaging.c:73:13: error: 'dummy' may be used uninitialized Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Jul 13, 2021 at 05:32:17PM +0200, Anders Roxell wrote: > 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. Great, now queued up, thanks. greg k-h