From: Nathan Chancellor <nathan@kernel.org>
To: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@gmail.com>
Cc: llvm@lists.linux.dev
Subject: Re: x86_64 build failure of next-20220715 and next-20220718 with clang
Date: Mon, 18 Jul 2022 08:08:19 -0700 [thread overview]
Message-ID: <YtV3Y4Ha4tPk3kU4@dev-arch.thelio-3990X> (raw)
In-Reply-To: <YtVPpVFwy7WhXKPx@debian>
Hi Sudip,
On Mon, Jul 18, 2022 at 01:18:45PM +0100, Sudip Mukherjee (Codethink) wrote:
> Hi All,
>
> Not sure if its reported, builds of x86_64 allmodconfig of next-20220715
> and next-20220718 with clang are showing lots of new warnings like:
>
> warning: objtool: asan.module_dtor+0x15: 'naked' return found in RETHUNK build
Thanks for the report! Nick fixed this in LLVM, it was a problem with
compiler generated functions like the ones that are generated with
KASAN, KCSAN, and GCOV having 'ret' instead of 'jmp __x86_return_thunk':
https://github.com/llvm/llvm-project/commit/140bfdca60ae8b1b2ad115846379e3c9ca914bfb
With that change, you should see no warnings of that nature with
allmodconfig anymore. Thanks for the continuous testing!
Cheers,
Nathan
next prev parent reply other threads:[~2022-07-18 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-18 12:18 x86_64 build failure of next-20220715 and next-20220718 with clang Sudip Mukherjee (Codethink)
2022-07-18 15:08 ` Nathan Chancellor [this message]
2022-07-18 16:13 ` Sudip Mukherjee
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=YtV3Y4Ha4tPk3kU4@dev-arch.thelio-3990X \
--to=nathan@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=sudipm.mukherjee@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.