From: Vincent Donnefort <vdonnefort@google.com>
To: Marc Zyngier <maz@kernel.org>
Cc: "Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org>,
kvmarm@lists.linux.dev, Oliver Upton <oliver.upton@linux.dev>,
Joey Gouly <joey.gouly@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH] KVM: arm64: nvhe: Fix build failure with gcc
Date: Tue, 10 Jun 2025 16:48:51 +0100 [thread overview]
Message-ID: <aEhT4zYOkY-cUXRD@google.com> (raw)
In-Reply-To: <87jz5jfw9w.wl-maz@kernel.org>
On Tue, Jun 10, 2025 at 04:31:39PM +0100, Marc Zyngier wrote:
> On Tue, 10 Jun 2025 16:11:32 +0100,
> "Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org> wrote:
> >
> > Address a build failure encountered with aarch64-linux-gnu-gcc version
> > 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
> >
> > /usr/bin/aarch64-linux-gnu-ld: arch/arm64/kvm/hyp/nvhe/kvm_nvhe.o: in function `__clock_mult_uint128':
> > /linux/work/arch/arm64/kvm/hyp/nvhe/clock.c:27:(.hyp.text+0x120d8): undefined reference to `__kvm_nvhe___lshrti3'
> > /linux/work/arch/arm64/kvm/hyp/nvhe/clock.c:27:(.hyp.text+0x120d8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__kvm_nvhe___lshrti3'
>
> $ ls -l arch/arm64/kvm/hyp/nvhe/clock.c
> ls: cannot access 'arch/arm64/kvm/hyp/nvhe/clock.c': No such file or directory
Hum, this file is for the pKVM tracing support and is not upstream yet:
https://lore.kernel.org/all/20250516134031.661124-18-vdonnefort@google.com/
>
> >
> > Similar to commit 9bfe7553fadb ("arm64: Implement __lshrti3 library function"),
> > this change use the added helper.
> >
> > Cc: Marc Zyngier <maz@kernel.org>
> > Cc: Oliver Upton <oliver.upton@linux.dev>
> > Cc: Joey Gouly <joey.gouly@arm.com>
> > Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
> > Cc: Zenghui Yu <yuzenghui@huawei.com>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: Will Deacon <will@kernel.org>
> >
> > Suggested-by: Mark Rutland <mark.rutland@arm.com>
> > Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
>
> What was recently introduced that triggers this? I'd like to
> understand what mandates it, and avoid it of at all possible.
>
> M.
>
> --
> Jazz isn't dead. It just smells funny.
>
prev parent reply other threads:[~2025-06-10 15:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 15:11 [PATCH] KVM: arm64: nvhe: Fix build failure with gcc Aneesh Kumar K.V (Arm)
2025-06-10 15:17 ` Aneesh Kumar K.V
2025-06-10 15:31 ` Marc Zyngier
2025-06-10 15:48 ` Vincent Donnefort [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=aEhT4zYOkY-cUXRD@google.com \
--to=vdonnefort@google.com \
--cc=aneesh.kumar@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=oliver.upton@linux.dev \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.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