Skip to content

check-uapi: improve portability for testing headers

Arnd Bergmann linux-kbuild stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3check-uapi: link into shared objectsscripts/check-uapi.sh+5 -20 replies
2/3check-uapi: honor ${CROSS_COMPILE} settingscripts/check-uapi.sh+6 -50 replies
3/3check-uapi: use dummy libc includesscripts/check-uapi.sh+1 -06 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNathan ChancellorThomas Weißschuh
SeriesA-b
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] check-uapi: improve portability for testing headers

From: Arnd Bergmann <[email protected]>

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(-)
Signature · 8 lines
2.39.5
Cc: Dodji Seketeli <[email protected]>
Cc: John Moon <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: Thomas Weißschuh <[email protected]>
Cc: [email protected]
Cc: [email protected]