Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp189981rwb; Mon, 26 Sep 2022 10:57:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5BuAtfSH15BD45hU0wFpa3qpPz7Akb9JCNESBiYmEtosh9FZTO4oCa31oaoij1scSYfEIU X-Received: by 2002:a05:6402:550c:b0:443:7d15:d57f with SMTP id fi12-20020a056402550c00b004437d15d57fmr23655999edb.147.1664215069765; Mon, 26 Sep 2022 10:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664215069; cv=none; d=google.com; s=arc-20160816; b=t796bcRZXoIuEgIlqsPnxYbq2HvC8F77NzRv4XBDeEBOqcBnYeNrnbUO9wih2j1Vw6 cw6qn68eoFaOW0x8FkHqX8HLC+OUlGDJDYFY+x7KVjFYG2rqX1zBZhDrfrlJICvIEkqt aIJnL5gFE4g49rvyv/+/ChE0tZy0VoeyUOdsIEP4oFa/pmvBzmulpPMfyFUEYBx2QX1g JrIn0tve3RrgXIVGMcMOOv4ZgA2C91t9AS0F4+UEMZRyUe/GvN+5NX/htuNhsEJibaak vYaYdxiJrGpb2T7XEVdNeK/m60xEAUe9wzWBYHJ3SecHEaLyPWmk4Hh20HQMH9LMi4Nu PKjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8pcuzniY8aaSHN5EXnVL5BcmvufI1gp6TgKdNUUS6DU=; b=x9Tufrqyv9gbYujTT4EQDQj5FyfNBkz9SCLOrEMQ/RkIGbphEPGZK6dcPL8q33mIqS mT/shstXqgbZDqrJiq0E+UNJlqMMvKuUszRaeNnyLYUxdiltiwnrvxMArdVEGrxERfkF vvIzaF0RWkb7oNKbjAP/CF6F5Wf6pCmcIidDGNLrK8KQVtqLfkmR4jiHbhKu7X/f9cKQ gfGpnQZ+f/hUr/29x2W6FWi9IbgsjENO7uOMAIhcAVloO3N+YDIi2AqY843si1CeD2mk HgqirWutiJD4u7vDSoLRA5JutFQR1bTmJ7MZRecPnA7zM3YV/LAZ7KiQ3ixpSIrA8UpE WOyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lnlw1VsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y69-20020a50bb4b000000b0044dea5e0262si15716762ede.402.2022.09.26.10.57.23; Mon, 26 Sep 2022 10:57:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lnlw1VsW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbiIZQx4 (ORCPT + 99 others); Mon, 26 Sep 2022 12:53:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbiIZQx0 (ORCPT ); Mon, 26 Sep 2022 12:53:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A704D17889 for ; Mon, 26 Sep 2022 08:46:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 796F1B80AF1 for ; Mon, 26 Sep 2022 15:46:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90BC1C433D6; Mon, 26 Sep 2022 15:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664207175; bh=yFOUSYy23Xn5rm/tomaoa4I3a2DtNrDG+KzB8W4AvW4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lnlw1VsWlAVFSGUyhR3sWv/XSq7i5gt5MAIELyTizUZMT8I8twJlogN3XR4/RCwRl Tb/R00Cwci62SAyUdy4nnpXGhqcRZUqyOLRhX+OdceqU/Sq7Qgiy4zknCQN2cOcRqa Z4xltlhgFNZDr+CgRhEo90BLR3TATckk/CYavrQ+2sy0S+UrTUTW9KhvQb3fezPUws HC7WppU3OljpZndWLcsCPXAiNLDR3FyfRigQLVmJRnevLWDzs8AhfwlSBMroyHHNFT oin5ER/6Yi57ywuOJSuN2g/306pGj+wDu0lvRDK9HKBrmvhiD7LTEyAnNfSzWfKw+H ykoNSTMcimkfg== Date: Mon, 26 Sep 2022 08:46:12 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: open list , Linux ARM , Arnd Bergmann , "Russell King (Oracle)" , Masami Hiramatsu , regressions@lists.linux.dev, lkft-triage@lists.linaro.org, llvm@lists.linux.dev Subject: Re: arch/arm/probes/kprobes/core.c:409:30: error: .fnstart must precede .save or .vsave directives Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + our mailing list, I should have added it with that message. On Mon, Sep 26, 2022 at 08:44:05AM -0700, Nathan Chancellor wrote: > Hi Naresh, > > On Mon, Sep 26, 2022 at 06:57:00PM +0530, Naresh Kamboju wrote: > > Following build warnings / errors noticed on arm with clang-13 / 14 > > on Linux next-20220923. > > > > Reported-by: Linux Kernel Functional Testing > > > > Regressions found on arm: > > > > - build-clang-13-bcm2835_defconfig > > - build-clang-nightly-imx_v6_v7_defconfig > > - build-clang-nightly-orion5x_defconfig > > - build-clang-13-keystone_defconfig > > - build-clang-13-omap2plus_defconfig > > - build-clang-14-imx_v6_v7_defconfig > > - build-clang-nightly-omap2plus_defconfig > > - build-clang-nightly-multi_v5_defconfig > > - build-clang-nightly-bcm2835_defconfig > > - build-clang-13-imx_v6_v7_defconfig > > - build-clang-13-imx_v4_v5_defconfig > > - build-clang-14-imx_v4_v5_defconfig > > - build-clang-13-orion5x_defconfig > > - build-clang-14-multi_v5_defconfig-65236a87 > > - build-clang-14-lkftconfig > > - build-clang-nightly-imx_v4_v5_defconfig > > - build-clang-13-multi_v5_defconfig > > - build-clang-13-lkftconfig > > - build-clang-nightly-keystone_defconfig > > - build-clang-14-multi_v5_defconfig > > - build-clang-14-orion5x_defconfig > > - build-clang-14-omap2plus_defconfig > > - build-clang-nightly-multi_v5_defconfig-65236a87 > > - build-clang-14-bcm2835_defconfig > > - build-clang-14-keystone_defconfig > > - build-clang-nightly-lkftconfig > > > > arch/arm/probes/kprobes/core.c:409:30: error: .fnstart must precede > > .save or .vsave directives > > "stmdb sp, {sp, lr, pc} \n\t" > > ^ > > :3:2: note: instantiated into assembly here > > .save {sp, lr, pc} > > ^ > > /builds/linux/arch/arm/probes/kprobes/core.c:412:29: error: .fnstart > > must precede .pad directive > > "stmdb sp!, {r0 - r11} \n\t" > > ^ > > :6:2: note: instantiated into assembly here > > .pad #52 > > ^ > > 2 errors generated. > > make[5]: *** [/builds/linux/scripts/Makefile.build:250: > > arch/arm/probes/kprobes/core.o] Error 1 > > > > build log: > > https://builds.tuxbuild.com/2FAyD1qcTlzjIYE7mjrugjCsxu1/ > > Thank you for the testing and report! I brought this up on GitHub on > Friday as I noticed this as well: > > https://github.com/ClangBuiltLinux/linux/issues/1718 > > It sounds like we can avoid this by rewriting __kretprobe_trampoline() > in out of line assembly but I have not had a chance to sit down and try > it. > > Cheers, > Nathan