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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3479C32771 for ; Mon, 26 Sep 2022 15:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8oprnZeJx8fZqq89pjX8qxDcCy6V7Mrf6gzoWHv7itw=; b=dhX8a2Efla8wPt /DnwP4rlpZWUiFP5rVdM2ieRp9YOleK08mWA7NVSSDaOwpe7pPZxHbq3E2K8klqEjdmL9jQYlK++u DeUfx3TmCDlBZtih6aPRgQTN40yoyQQpJOLuwsbgG9PN0jWqjIM0QqbldiWuAZujRxosUT8hdgJwj sWiSC7vNK81/9Oqw3+D5sg5/AhjvqDkLZ4uNaDktHYOVjLI2wdxNDGwfwXhVTkOmAzI73ygTYcpi2 QT4D0r1qpmQPBJoEuifvlLZtg6lg2kOl/O7mN5ZkYje4tXgVsbQ3+iJJpkOf/co3ApI4cgBHj7qFT LIJ+NSDUlY8qKw+tTLcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocqJL-005nJ3-8w; Mon, 26 Sep 2022 15:46:23 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocqJG-005nHh-5m for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 15:46:20 +0000 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 74D6EB8015A; 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_084618_549766_442E3098 X-CRM114-Status: GOOD ( 17.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel