NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57145: gmake: *** INTERNAL: readdir: Operation not supported. Stop.
Hi,
I just observed this problem on NetBSD/amd64 10.1 with
gmake-4.4.1 while trying to build wip/wsjtx/, with:
gmake[5]: *** readdir .: Invalid argument. Stop.
gmake[5]: *** Waiting for unfinished jobs....
The gmake is from NetBSD bulk build:
BUILD_DATE=2025-07-02 19:43:11 +0000
BUILD_HOST=NetBSD shadow.netbsd.org 10.0 NetBSD 10.0 (LIBKVER) #0: Tue Jan 19 00:00:00 UTC 2038 root@localhost:/sys/arch/amd64/compile/LIBKVER amd64
This is on a build done with MAKE_JOBS=40 on a 20-physical-cores
and 40 "virtual cores" with HT enabled system.
After the initial failure of this type, I decided to try to
capture the system call information with "ktrace -i", and as it
happened, the problem was reproduced with a ktrace.out file of a
mere 520MB.
The gmake system calls preceding this error were:
14717 14717 gmake CALL lseek(6,0,0,1)
14717 14717 gmake RET lseek 0
14717 14717 gmake CALL __getdents30(6,0x79e73d4a0000,0x1000)
14717 14717 gmake GIO fd 6 read 4080 bytes
...(omitted here)...
14717 14717 gmake RET __getdents30 4080/0xff0
14717 14717 gmake CALL lseek(6,0,0,1)
14717 14717 gmake RET lseek 3132/0xc3c
14717 14717 gmake CALL __getdents30(6,0x79e73d4a0000,0x1000)
14717 14717 gmake RET __getdents30 -1 errno 22 Invalid argument
and it's all downhill from there.
Does anyone want access to the 520MB ktrace.out file for a closer
look, as there is (of course) intervening syscalls from other
processes in the process tree covered by the top-level make
invocation?
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index