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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E3E5C32771 for ; Mon, 26 Sep 2022 18:14:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231389AbiIZSOY (ORCPT ); Mon, 26 Sep 2022 14:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231477AbiIZSNo (ORCPT ); Mon, 26 Sep 2022 14:13:44 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1499175AD for ; Mon, 26 Sep 2022 11:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Rv2UtBG5y0DEuGbKnbkoUprYaAGKufIBHk49ouUQfp8=; b=s1Kvm7Uctn+YZWVFofI9Lwwkh4 +rLoYJ89Rks2OYCiiYBBjAtu4BygPlMZmLyWQaYffbA3H7SWEv2cW8WvYQyq37AsGbeGaAmsUUhvY MCbb0xuwX0WMXeTWBzreV1HNnqo3igsYptDYFi3+zgnrJS9DedkGgi0KT7yTvE8nx1e5xW03vIhTb Pn3S9xocE1fNC5nmVo+DrL7YkkVZIao447/1Y9h5VhZQhZ/Zai+sSyL9yJx0LFvpBD6iFkIcWuNMh jAVkOgwfOF4+2CpaDAINOeI0jNYXKjl1Fxv4F1yieSacjD/g6idLX/7gIjJIueqwy1YyMH465o4Kk r26Rn+5Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34506) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ocsRV-0000n7-C5; Mon, 26 Sep 2022 19:02:57 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1ocsRT-0005KR-Ju; Mon, 26 Sep 2022 19:02:55 +0100 Date: Mon, 26 Sep 2022 19:02:55 +0100 From: "Russell King (Oracle)" To: Nick Desaulniers Cc: Nathan Chancellor , Naresh Kamboju , open list , Linux ARM , Arnd Bergmann , 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: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 26, 2022 at 10:42:45AM -0700, Nick Desaulniers wrote: > On Mon, Sep 26, 2022 at 8:46 AM Nathan Chancellor wrote: > > > > + 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 > > Thanks for the reports. I'll take a look at filing additional bug > reports against clang, then moving the definition of > __kretprobe_trampoline to out of line assembler. Are you saying that .save should be accepted without a .fnstart? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!