zsh-users
 help / color / mirror / code / Atom feed
* zsh on Opteron (Linux) and limit
@ 2005-02-15 12:51 Vincent Lefevre
  2005-02-15 12:58 ` Clint Adams
  2005-02-15 14:15 ` Andrei A. Voropaev
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Lefevre @ 2005-02-15 12:51 UTC (permalink / raw)
  To: zsh-users

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@vinc17.org> - 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh on Opteron (Linux) and limit
  2005-02-15 12:51 zsh on Opteron (Linux) and limit Vincent Lefevre
@ 2005-02-15 12:58 ` Clint Adams
  2005-02-15 15:59   ` Vincent Lefevre
  2005-02-15 14:15 ` Andrei A. Voropaev
  1 sibling, 1 reply; 5+ messages in thread
From: Clint Adams @ 2005-02-15 12:58 UTC (permalink / raw)
  To: zsh-users

> 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.

Is this a bi-arch or pure64 OS?  Which one?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh on Opteron (Linux) and limit
  2005-02-15 12:51 zsh on Opteron (Linux) and limit Vincent Lefevre
  2005-02-15 12:58 ` Clint Adams
@ 2005-02-15 14:15 ` Andrei A. Voropaev
  1 sibling, 0 replies; 5+ messages in thread
From: Andrei A. Voropaev @ 2005-02-15 14:15 UTC (permalink / raw)
  To: zsh-users

On Tue, Feb 15, 2005 at 01:51:44PM +0100, Vincent Lefevre wrote:
> 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.

If it is of any interest. On my Athlon64 (pure 64 bit) everything works
fine. The same version (4.2.4).


-- 
Minds, like parachutes, function best when open


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh on Opteron (Linux) and limit
  2005-02-15 12:58 ` Clint Adams
@ 2005-02-15 15:59   ` Vincent Lefevre
  2005-02-17 16:54     ` Vincent Lefevre
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Lefevre @ 2005-02-15 15:59 UTC (permalink / raw)
  To: zsh-users

On 2005-02-15 07:58:15 -0500, Clint Adams wrote:
> > 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.
> 
> Is this a bi-arch or pure64 OS?  Which one?

pure64, I suppose. How can I tell?

FYI:

helene:~> uname -a
Linux helene 2.6.10-1.741_FC3smp #1 SMP Thu Jan 13 16:58:29 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

-- 
Vincent Lefèvre <vincent@vinc17.org> - 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: zsh on Opteron (Linux) and limit
  2005-02-15 15:59   ` Vincent Lefevre
@ 2005-02-17 16:54     ` Vincent Lefevre
  0 siblings, 0 replies; 5+ messages in thread
From: Vincent Lefevre @ 2005-02-17 16:54 UTC (permalink / raw)
  To: zsh-users

On 2005-02-15 16:59:12 +0100, Vincent Lefevre wrote:
> On 2005-02-15 07:58:15 -0500, Clint Adams wrote:
> > > 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.
> > 
> > Is this a bi-arch or pure64 OS?  Which one?
> 
> pure64, I suppose. How can I tell?

Hmm... there are /usr/lib and /usr/lib64 directories. Is it bi-arch?

Also...

helene:~hc> ldd /bin/zsh   [which has a working limit builtin]
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003bfa400000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003bfd200000)
        libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003bfd400000)
        libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003bfb800000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003bfa200000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003bf9f00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003bf9d00000)

helene:~hc> ldd bin/zsh   [the one I've compiled]
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003bfa400000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003bfd200000)
        libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003bfd400000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x0000003bfa200000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x0000003bf9f00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003bf9d00000)

and if I use the stat builtin with ~hc/bin/zsh, I get:

Shell compiled with wrong ino_t size
Shell compiled with wrong off_t size

then the normal output (which is correct).

-- 
Vincent Lefèvre <vincent@vinc17.org> - 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-17 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-15 12:51 zsh on Opteron (Linux) and limit Vincent Lefevre
2005-02-15 12:58 ` Clint Adams
2005-02-15 15:59   ` Vincent Lefevre
2005-02-17 16:54     ` Vincent Lefevre
2005-02-15 14:15 ` Andrei A. Voropaev

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).