coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-8.13.29-43a9 on Linux/SPARC64


From: Dmitry V. Levin
Subject: Re: coreutils-8.13.29-43a9 on Linux/SPARC64
Date: Wed, 12 Oct 2011 01:19:32 +0400

On Sat, Oct 08, 2011 at 02:59:44PM +0200, Bruno Haible wrote:
> On Linux/SPARC in 64-bit mode:
[...]
> The problem is apparently the 'strace' program on this platform. It works
> fine with 32-bit executables, but is unusable on 64-bit executables.
> 
> On a 32-bit executable:
> 
> $ strace /bin/ls --color=always .
> execve("/bin/ls", ["/bin/ls", "--color=always", "."], [/* 16 vars */]) = 0
> brk(0)                                  = 0x36000
> uname({sys="Linux", node="gcc54", ...}) = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=48552, ...}) = 0
> ...
> 
> On a 64-bit executable:
> 
> $ strace ../src/ls --color=always .
> execve("../src/ls", ["../src/ls", "--color=always", "."], [/* 16 vars */]) = 0

I suppose that the 'strace' program on that platform is a 32-bit
executable, so it is incapable of tracing 64-bit executables.


-- 
ldv

Attachment: pgpmBXRt3ZUJU.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]