From: Heiko Carstens <hca@linux.ibm.com>
To: Nathan Chancellor <nathan@kernel.org>
Cc: gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com, morbo@google.com,
justinstitt@google.com, linux-s390@vger.kernel.org,
llvm@lists.linux.dev, patches@lists.linux.dev
Subject: Re: [PATCH] s390: Don't allow CONFIG_COMPAT with LD=ld.lld
Date: Thu, 15 Feb 2024 09:51:50 +0100 [thread overview]
Message-ID: <20240215085150.6583-A-hca@linux.ibm.com> (raw)
In-Reply-To: <20240214-s390-compat-lld-dep-v1-1-abf1f4b5e514@kernel.org>
On Wed, Feb 14, 2024 at 03:53:48PM -0700, Nathan Chancellor wrote:
> When building 'ARCH=s390 defconfig compat.config' with GCC and
> LD=ld.lld, there is an error when attempting to link the compat vDSO:
>
> ld.lld: error: unknown emulation: elf_s390
> make[4]: *** [arch/s390/kernel/vdso32/Makefile:48: arch/s390/kernel/vdso32/vdso32.so.dbg] Error 1
>
> Much like clang, ld.lld only supports the 64-bit s390 emulation. Add a
> dependency on not using LLD to CONFIG_COMPAT to avoid breaking the build
> with this toolchain combination.
>
> Signed-off-by: Nathan Chancellor <nathan@kernel.org>
> ---
> arch/s390/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks!
prev parent reply other threads:[~2024-02-15 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 22:53 [PATCH] s390: Don't allow CONFIG_COMPAT with LD=ld.lld Nathan Chancellor
2024-02-15 8:51 ` Heiko Carstens [this message]
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=20240215085150.6583-A-hca@linux.ibm.com \
--to=hca@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=justinstitt@google.com \
--cc=linux-s390@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=patches@lists.linux.dev \
--cc=svens@linux.ibm.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 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).