Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh on Opteron (Linux) and limit



I've compiled zsh 4.2.4 on Opteron, but the "limit" builtin doesn't
work. When called without any argument, it outputs nothing, and a 0
exit status.

zsh configuration:

zsh configuration
-----------------
zsh version               : 4.2.4
host operating system     : x86_64-unknown-linux-gnu
source code location      : .
compiler                  : gcc
preprocessor flags        : 
executable compiler flags :  -Wall -Wmissing-prototypes -O2
module compiler flags     :  -Wall -Wmissing-prototypes -O2 -fPIC
executable linker flags   :   -s -rdynamic
module linker flags       :   -s -shared
library flags             : -ldl -lnsl -lcurses -lm  -lc
installation basename     : zsh
binary install path       : /users/spaces/logiciels/zsh-patched/x86_64/bin
man page install path     : /users/spaces/logiciels/zsh-patched/man
info install path         : /users/spaces/logiciels/zsh-patched/info
functions install path    : /users/spaces/logiciels/zsh-patched/share/zsh/4.2.4/functions
See config.modules for installed modules and functions.

"strace -f -o strace.out ~soft/zsh-patched/x86_64/bin/zsh -c limit"
outputs:

[...]
25357 open("/users/spaces/logiciels/zsh-patched/x86_64/lib/zsh/4.2.4/zsh/rlimits.so", O_RDONLY) = 3
25357 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\f\0\0"..., 640) = 640
25357 fstat(3, {st_mode=S_IFREG|0755, st_size=12408, ...}) = 0
25357 mmap(NULL, 1058952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a97f74000
25357 mprotect(0x2a97f77000, 1046664, PROT_NONE) = 0
25357 mmap(0x2a98076000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2a98076000
25357 close(3)                          = 0
25357 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
25357 rt_sigprocmask(SIG_UNBLOCK, [CHLD], [CHLD], 8) = 0
25357 exit_group(0, 0, 0x3bfa12c8c0, 0x1, 0x3c <unfinished ... exit status 0>

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author