Hi Waldemar,
Hi Pavel,
thanks for providing a test case.
I tried it with your prlimit patch, but it fails for some
architectures like or1k, x86 and m68k.
Do you have an idea why?
Hmm, perhaps I missed something.
I tested my last prlimit patch with buildroot environment, I checked
i386, arm, aarch64 and arc on qemu and didn't see fails.
I thought I tested all main cases.
This morning I tried build with OpenADK and also haven't
reproduced fail (I checked x86 and or1k).
Can you share you setup?
I tried it with my second prlimit patch applied:
https://mailman.openadk.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/th…
|$ ./embedded-test.sh --libc=uclibc-ng --libc-source=~/snps/arc/src/extra/uclibc-ng
--os=linux --arch=x86 --test=libc
...
| Using QEMU as emulator
| Starting test for uclibc-ng and x86
| Generating root filesystem for test run
| Creating initramfs filesystem
| 31557 blocks
| Now running the test libc in qemu for architecture x86 and uclibc-ng
| qemu-system-i386 -M pc -nographic -m 256 -initrd initramfs.x86 -kernel
openadk/firmware/qemu-x86_uclibc-ng/qemu-x86-initramfsarchive-kernel -qmp
tcp:127.0.0.1:4444,server,nowait -no-reboot
| SeaBIOS (version
rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org)
|
| iPXE (
http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+0EFD1040+0EF31040 CA00
|
| Booting from ROM..
| [ 0.000000] Linux version 6.1.53-1 (pvk@SNPS-oOWW) (i686-openadk-linux-uclibc-gcc
(GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 Fri Nov 10 10:37:16 +04 2023
...
| PASS tst-preadvwritev
| PASS tst-rlimit
| PASS tst-rlimit64
| PASS tst-scandir
..
You are right my openadk directory seemed to be using an old
uclibc-ng version. I now checked x86 and or1k again with a fresh
build and everything is fine. Thanks for double checking.
best regards
Waldemar