Re: nolibc changes for 6.8

From: Paul E. McKenney
Date: Fri Dec 08 2023 - 19:02:32 EST


On Fri, Dec 08, 2023 at 06:09:59PM +0100, Thomas Weißschuh wrote:
> Hi Paul,
>
> The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
>
> Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
>
> are available in the Git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next
>
> for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043:
>
> selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100)

Thank you!

I pulled this in and got the following:

make run:
162 test(s): 162 passed, 0 skipped, 0 failed => status: success

make run-user:
162 test(s): 160 passed, 2 skipped, 0 failed => status: warning

This looks like complete success to me, but please let me know if this
is not expected behavior on an x86-64 laptop.

Thanx, Paul

> ----------------------------------------------------------------
> Summary:
>
> * Support for PIC mode on MIPS.
> * Support for getrlimit()/setrlimit().
> * Replace some custom declarations with UAPI includes.
> * A new script "run-tests.sh" to run the testsuite over different architectures
> and configurations.
> * A few non-functional code cleanups.
> * Minor improvements to nolibc-test, primarily to support the test script.
>
> There are no urgent fixes available at this time.
>
> ----------------------------------------------------------------
> Mark Brown (1):
> tools/nolibc: Use linux/wait.h rather than duplicating it
>
> Thomas Weißschuh (21):
> selftests/nolibc: don't hang on config input
> selftests/nolibc: use EFI -bios for LoongArch qemu
> selftests/nolibc: anchor paths in $(srcdir) if possible
> selftests/nolibc: support out-of-tree builds
> selftests/nolibc: add script to run testsuite
> tools/nolibc: error out on unsupported architecture
> tools/nolibc: move MIPS ABI validation into arch-mips.h
> selftests/nolibc: use XARCH for MIPS
> selftests/nolibc: explicitly specify ABI for MIPS
> selftests/nolibc: extraconfig support
> selftests/nolibc: add configuration for mipso32be
> selftests/nolibc: fix testcase status alignment
> selftests/nolibc: introduce QEMU_ARCH_USER
> selftests/nolibc: run-tests.sh: enable testing via qemu-user
> tools/nolibc: mips: add support for PIC
> selftests/nolibc: make result alignment more robust
> tools/nolibc: annotate va_list printf formats
> tools/nolibc: drop duplicated testcase ioctl_tiocinq
> tools/nolibc: drop custom definition of struct rusage
> tools/nolibc: add support for getrlimit/setrlimit
> selftests/nolibc: disable coredump via setrlimit
>
> tools/include/nolibc/arch-mips.h | 11 +-
> tools/include/nolibc/arch.h | 4 +-
> tools/include/nolibc/stdio.h | 4 +-
> tools/include/nolibc/sys.h | 38 ++++++
> tools/include/nolibc/types.h | 25 +---
> tools/testing/selftests/nolibc/.gitignore | 1 +
> tools/testing/selftests/nolibc/Makefile | 65 ++++++++---
> tools/testing/selftests/nolibc/nolibc-test.c | 51 ++++++--
> tools/testing/selftests/nolibc/run-tests.sh | 169 +++++++++++++++++++++++++++
> 9 files changed, 318 insertions(+), 50 deletions(-)
> create mode 100755 tools/testing/selftests/nolibc/run-tests.sh
>
>
> Thanks,
> Thomas