| Message ID | 20260306163309.2015837-1-arnd@kernel.org |
|---|---|
| Headers |
Return-Path: <libabigail-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D43414BA23CF for <patchwork@sourceware.org>; Fri, 6 Mar 2026 16:33:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D43414BA23CF Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=tCqkocIR X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by sourceware.org (Postfix) with ESMTPS id 5FE484BA2E11 for <libabigail@sourceware.org>; Fri, 6 Mar 2026 16:33:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5FE484BA2E11 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5FE484BA2E11 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=172.234.252.31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772814802; cv=none; b=k5CXk0x9v2YhHdZW+rNG8jHQBzmg9/5TZmI0qHRq2BoAaOI7eYcBo+pZ2c3ivMqifib127tun14+uH2GniSBET0qYcL6E4ynFS+S1Hlly0pbvg6YpQmxrIIkGaZk99GqyfmX/WT5+jDF+sYPs8M/SZmaKhCvBTsa5N2gu+n1JAM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772814802; c=relaxed/simple; bh=Os7mTkihUOkI9LVMXSiyTjNwHSnrKvzytxZMwfXYZ38=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=Sy1itRK0EmSXoPaif1SxUcW2En31lisqCmixIYUf6nOPNxspKnr6tsE0qCjnsWw76sUDJ/49tfI97waa1+MLOvR2EY+Q9/c8rkuUSTwrOL8vJLIUKF3rz6qfm39tDnwCFvn7P2tEFjX0/wrFuH6nqtYo8cSJqQrwiUUNPzkda3s= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FE484BA2E11 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 6B83E41AB0; Fri, 6 Mar 2026 16:33:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66408C4CEF7; Fri, 6 Mar 2026 16:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772814800; bh=Os7mTkihUOkI9LVMXSiyTjNwHSnrKvzytxZMwfXYZ38=; h=From:To:Cc:Subject:Date:From; b=tCqkocIRrV32Wi4wrIBAv0Ov6Y+SmKRBnSwEPp9MaFIbFHI/G3fBHq+BM2foIDHLo sbgqxJHWdL1xzvLKFpnVa6YfDGtBob6jwkHi9yCDuxsF6ytyrQQwbajCiGuFaxV3oQ /iX2cEfsUOC1Q95/64qmVydlp8AZrYyEBSREUBhjW/M2d8Yh+6clMgc9U1Wu4HdodF BXQ8YN4oKWCc5D5bj3ruJayznxPO83x6Vy2OI3dRfNuJDQ28XoD2jxAbUzu0IPn1kf qb82pyL5GdV4psQx+Fm/U0EGjxBR4s/4/LatqrDNjbckAcj/gJg1lsIXHo4wR4sfI5 lkIlSuJe8dXxQ== From: Arnd Bergmann <arnd@kernel.org> To: linux-kbuild@vger.kernel.org Cc: Arnd Bergmann <arnd@arndb.de>, Dodji Seketeli <dodji@seketeli.org>, John Moon <john@jmoon.dev>, Nathan Chancellor <nathan@kernel.org>, Nicolas Schier <nsc@kernel.org>, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net>, libabigail@sourceware.org Subject: [PATCH 0/3] check-uapi: improve portability for testing headers Date: Fri, 6 Mar 2026 17:33:06 +0100 Message-Id: <20260306163309.2015837-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Post: <mailto:libabigail@sourceware.org> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
check-uapi: improve portability for testing headers
|
|
Message
Arnd Bergmann
March 6, 2026, 4:33 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>
While working on a series to clean up some uapi headers, I needed
to check the that the actual ABI remains unchanged. I found that
scripts/check-uapi.sh works well enough for architectures that have a
full toolchain installed, but not with the nolibc compilers I provide
on kernel.org.
I ended up with a series addressing three separate issues here, but in
the end I can now validate ABI changes across all supported architectures
and ABIs.
The third patch depends on a series from Thomas Weißschuh that was
just merged into the kbuild-for-next tree, the other ones could
also apply to older kernels. I have marked the second patch for
backports to stable kernels, this one is what caused me the most
work in debugging.
Arnd
Arnd Bergmann (3):
check-uapi: link into shared objects
check-uapi: honor ${CROSS_COMPILE} setting
check-uapi: use dummy libc includes
scripts/check-uapi.sh | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Comments
On Fri, Mar 06, 2026 at 05:33:06PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > While working on a series to clean up some uapi headers, I needed > to check the that the actual ABI remains unchanged. I found that > scripts/check-uapi.sh works well enough for architectures that have a > full toolchain installed, but not with the nolibc compilers I provide > on kernel.org. > > I ended up with a series addressing three separate issues here, but in > the end I can now validate ABI changes across all supported architectures > and ABIs. > > The third patch depends on a series from Thomas Weißschuh that was > just merged into the kbuild-for-next tree, the other ones could > also apply to older kernels. I have marked the second patch for > backports to stable kernels, this one is what caused me the most > work in debugging. > > Arnd > > Arnd Bergmann (3): > check-uapi: link into shared objects > check-uapi: honor ${CROSS_COMPILE} setting > check-uapi: use dummy libc includes Acked-by: Nathan Chancellor <nathan@kernel.org> I assume that the shared objects change does not impact catching ABI differences? Cheers, Nathan
On Fri, 06 Mar 2026 17:33:06 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > While working on a series to clean up some uapi headers, I needed > to check the that the actual ABI remains unchanged. I found that > scripts/check-uapi.sh works well enough for architectures that have a > full toolchain installed, but not with the nolibc compilers I provide > on kernel.org. > > [...] Applied to kbuild/linux.git (kbuild-next-unstable), thanks! [1/3] check-uapi: link into shared objects https://git.kernel.org/kbuild/c/a261f6df [2/3] check-uapi: honor ${CROSS_COMPILE} setting https://git.kernel.org/kbuild/c/9940ec38 [3/3] check-uapi: use dummy libc includes https://git.kernel.org/kbuild/c/bb25b563 Please look out for regression or issue reports or other follow up comments, as they may result in the patch/series getting dropped, reverted or modified (e.g. trailers). Patches applied to the kbuild-next-unstable branch are accepted pending wider testing in linux-next and any post-commit review; they will generally be moved to the kbuild-next branch in about a week if no issues are found. Best regards,