From: Thomas Gleixner <tglx@kernel.org>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>, x86@kernel.org
Subject: Re: [patch 1/2] x86/vdso: Tweak CHECKFLAGS for 32-bit VDSO build
Date: Thu, 22 Jan 2026 15:06:31 +0100 [thread overview]
Message-ID: <87fr7xeo7s.ffs@tglx> (raw)
In-Reply-To: <20260119081633-7cc7ea7b-65a2-48ef-9d24-8a07838fea87@linutronix.de>
On Mon, Jan 19 2026 at 08:18, Thomas Weißschuh wrote:
> On Sat, Jan 17, 2026 at 10:58:25PM +0100, Thomas Gleixner wrote:
>> $(obj)/vdso32.so.dbg: KBUILD_CFLAGS = $(KBUILD_CFLAGS_32)
>>
>> +CHECKFLAGS_32 := $(subst -m64,-m32,$(CHECKFLAGS))
>> +CHECKFLAGS_32 := $(subst -D__x86_64__,-D__i386__,$(CHECKFLAGS_32))
>> +$(obj)/vdso32.so.dbg: CHECKFLAGS = $(CHECKFLAGS_32)
>
> It would be nice if we had a strict variant of $(subst ...) which errors
> out if nothing is substituted.
Which would fail a arch=i386 build then, no? :)
next prev parent reply other threads:[~2026-01-22 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-17 21:58 [patch 0/2] x86/vdso: Address sparse warnings Thomas Gleixner
2026-01-17 21:58 ` [patch 1/2] x86/vdso: Tweak CHECKFLAGS for 32-bit VDSO build Thomas Gleixner
2026-01-19 7:18 ` Thomas Weißschuh
2026-01-22 14:06 ` Thomas Gleixner [this message]
2026-01-17 21:58 ` [patch 2/2] x86/vdso: Prevent empty switch case warning Thomas Gleixner
2026-01-19 7:16 ` Thomas Weißschuh
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=87fr7xeo7s.ffs@tglx \
--to=tglx@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=x86@kernel.org \
/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