--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: strace: unusable on mipsel
- From: Guido Guenther <agx@debian.org>
- Date: Sat, 12 Mar 2005 16:07:00 +0100
- Message-id: <20050312150700.GA21417@bogon.ms20.nix>
Package: strace
Version: 4.5.9-1
Severity: important
Hi,
Current strace doesn't work on mipsel at all in it's current version:
# strace true
...
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5924, ...}) = 0
old_mmap(NULL, 5924, PROT_READ, MAP_PRIVATE, 3, 0) = -1 EBADF (Bad file descriptor)
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0004P\1"..., 512) = 512
lseek(3, 588, SEEK_SET) = 588
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat64(3, {st_mode=S_IFREG|0644, st_size=1698780, ...}) = 0
old_mmap(NULL, 1879536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = -1 EBADF (Bad file descriptor)
close(3) = 0
writev(2, [{"true", 4}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libc.so.6", 9}, {": ", 2}, {"failed to map segment from share"..., 40}, {": ", 2}, {"Error 9", 7}, {"\n", 1}], 10true: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Error 9
) = 105
SYS_4246( <unfinished ... exit status 127>
...same for any other binary tried (ls, perl, ...)
Cheers,
-- Guido
-- System Information:
Architecture: mipsel
Kernel: Linux 2.4.27-sb1-swarm-bn
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages strace depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- no debconf information
--- End Message ---