[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250813-kbuild-userprogs-bits-v1-0-2d9f7f411083@linutronix.de>
Date: Wed, 13 Aug 2025 07:43:39 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas.schier@...ux.dev>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
Nicolas Schier <nicolas.schier@...ux.dev>
Subject: [PATCH 0/2] kbuild: userprogs: also inherit byte order and ABI
from kernel
Make sure the byte order and ABI of the userprogs matches the one of the
kernel, similar to how the bit size is handled.
Otherwise the userprogs may not be executable.
This happens for example on powerpc little endian, or riscv32.
These patches where originally part of my series "kunit: Introduce UAPI
testing framework" [0], but that isn't going anywhere right now and the
patches are useful on their own.
[0] kunit: Introduce UAPI testing framework
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
---
Thomas Weißschuh (2):
kbuild: userprogs: avoid duplication of flags inherited from kernel
kbuild: userprogs: also inherit byte order and ABI from kernel
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250813-kbuild-userprogs-bits-03c117da4d50
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists