From: Nick Desaulniers <ndesaulniers@google.com>
To: Nathan Chancellor <nathan@kernel.org>,
Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: open list <linux-kernel@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Arnd Bergmann <arnd@arndb.de>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
Masami Hiramatsu <mhiramat@kernel.org>,
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
Date: Mon, 26 Sep 2022 10:42:45 -0700 [thread overview]
Message-ID: <CAKwvOdkYr-Nv6PowyJ10DuP-uFLcvH1oGWSeQH3Dz_JM8vwp2w@mail.gmail.com> (raw)
In-Reply-To: <YzHJRH9hO1lfjSPp@dev-arch.thelio-3990X>
On Mon, Sep 26, 2022 at 8:46 AM Nathan Chancellor <nathan@kernel.org> 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 <lkft@linaro.org>
> > >
> > > 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"
> > > ^
> > > <inline asm>: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"
> > > ^
> > > <inline asm>: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.
> >
> > 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
>
--
Thanks,
~Nick Desaulniers
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-09-26 17:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 13:27 arch/arm/probes/kprobes/core.c:409:30: error: .fnstart must precede .save or .vsave directives Naresh Kamboju
2022-09-26 15:44 ` Nathan Chancellor
2022-09-26 15:46 ` Nathan Chancellor
2022-09-26 17:42 ` Nick Desaulniers [this message]
2022-09-26 18:02 ` Russell King (Oracle)
2022-09-26 18:17 ` Nick Desaulniers
2022-09-26 18:37 ` [PATCH] ARM: kprobes: move __kretprobe_trampoline to out of line assembler Nick Desaulniers
2022-09-26 18:42 ` Nick Desaulniers
2022-09-27 22:28 ` [PATCH v2] " Nick Desaulniers
2022-09-27 22:35 ` Russell King (Oracle)
2022-09-28 16:39 ` Nick Desaulniers
2022-10-05 22:59 ` [PATCH] " Ard Biesheuvel
2022-09-26 16:11 ` arch/arm/probes/kprobes/core.c:409:30: error: .fnstart must precede .save or .vsave directives Russell King (Oracle)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKwvOdkYr-Nv6PowyJ10DuP-uFLcvH1oGWSeQH3Dz_JM8vwp2w@mail.gmail.com \
--to=ndesaulniers@google.com \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=llvm@lists.linux.dev \
--cc=mhiramat@kernel.org \
--cc=naresh.kamboju@linaro.org \
--cc=nathan@kernel.org \
--cc=regressions@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).