On Solaris 9/sparc as well:
omoikane:~/Pike-v7.6.40/build/sunos-5.9-sun4u% make run_hilfe /home/marcus/Pike-v7.6.40/build/sunos-5.9-sun4u/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/marcus/Pike-v7.6.40/build/sunos-5.9-sun4u/master.pike *** Signal 10 - core dumped make: Fatal error: Command failed for target `run_hilfe'
Backtrace:
(gdb) where #0 0xff199d1c in readdir64_r () from /usr/lib/libc.so.1 #1 0x0015c9d8 in f_get_dir (args=1) at /home/marcus/Pike-v7.6.40/src/modules/files/efuns.c:969 #2 0x0003af54 in opcode_F_CALL_BUILTIN1 (arg1=30) at interpret_functions.h:2208 #3 0xfee9087c in ?? () Previous frame identical to this frame (corrupt stack?) (gdb)
Line 969 in modules/files/efuns.c:
969 if ((err = readdir_r(dir, tmp, &d)) || !d) {
This does not seem right. readdir_r only takes two arguments on Solaris, the second of which should not be NULL (which is the value "tmp" has here).