From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CFE21F16B for ; Thu, 22 Jan 2026 14:06:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769090795; cv=none; b=Moln/CGvcndmqwoK/8Pnk8GbkYOjURndOyinYaNzhcAoUsyQEDkNIqb217O2V5DxQV1tsBm/ZmACVgiNVqZxyQlCETEXqrsT4lVaSrZr348oB9vHi+b97V+tgagvUdAw6tr5iWaQ5HIqawhdpnfqrwGYUvfKEcZl31tuDqY6dvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769090795; c=relaxed/simple; bh=DgxkdKBtiz/S0eqGdWazKh+iH9S23YLcpQS6gaIKciY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=cY+8l9AotiFS1EBXMPLrDza4alu5wvaO+KUY6aeS6K5IK7UUKnbUpmVL1JfIZdIO0bRr76HIj/pBOiWw5FxtZ7O6xoPC+XXvISohjSm7wJ3dabZLty5rUrLV448WPDXkBu71AsYhcms+p6omhAraA5pMbOyYe/gkcZ9f1fK/zOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i3QXbE4W; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i3QXbE4W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 804BFC116C6; Thu, 22 Jan 2026 14:06:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769090795; bh=DgxkdKBtiz/S0eqGdWazKh+iH9S23YLcpQS6gaIKciY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=i3QXbE4WeRpgghOcrNjw1HKKpVnl1j30IHj3+u3qw5xQp5S7Y7VEI1VKVPV+nL1RT 0WV/oro6/S2KSnpVIGveEYZeBcE3smWAKPVw6HbwYxl+lNZfFuJUu4I4c49LhV9QZ+ pztAZokNhtgczvQ2ZFW3DnahfoWuUmka4olULsf3SKYRVVlRPK7OW5TR/di65GYAov W2YitJtmrY4mBXP2xiJzoQcFeP0iIKmvrn1shPY36Ovpcjg/RDWz6xFaW6s2vQNbsd zgxCMA+fwVfeLWIo6xYu5+G1zjRV1hynJtzezCrWLR1cBfmXKKqtOuRN7Ys3a4Ydo0 rkgdJRYDRF+Ag== From: Thomas Gleixner To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= Cc: LKML , x86@kernel.org Subject: Re: [patch 1/2] x86/vdso: Tweak CHECKFLAGS for 32-bit VDSO build In-Reply-To: <20260119081633-7cc7ea7b-65a2-48ef-9d24-8a07838fea87@linutronix.de> References: <20260117215257.601937692@kernel.org> <20260117215542.342638347@kernel.org> <20260119081633-7cc7ea7b-65a2-48ef-9d24-8a07838fea87@linutronix.de> Date: Thu, 22 Jan 2026 15:06:31 +0100 Message-ID: <87fr7xeo7s.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 19 2026 at 08:18, Thomas Wei=C3=9Fschuh wrote: > On Sat, Jan 17, 2026 at 10:58:25PM +0100, Thomas Gleixner wrote: >> $(obj)/vdso32.so.dbg: KBUILD_CFLAGS =3D $(KBUILD_CFLAGS_32) >>=20=20 >> +CHECKFLAGS_32 :=3D $(subst -m64,-m32,$(CHECKFLAGS)) >> +CHECKFLAGS_32 :=3D $(subst -D__x86_64__,-D__i386__,$(CHECKFLAGS_32)) >> +$(obj)/vdso32.so.dbg: CHECKFLAGS =3D $(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=3Di386 build then, no? :)