strace vs. binutils
Hmmm,
it seems the binutils are much worse ...
gcc -Wall -DHAVE_CONFIG_H -I. -Ilinux/mips -I./linux/mips -Ilinux -I./linux -D_GNU_SOURCE -c syscall.c
syscall.c:193: warning: `sorted_count' defined but not used
gcc -o strace strace.o version.o syscall.o util.o desc.o file.o ipc.o io.o ioctl.o mem.o net.o process.o bjm.o resource.o signal.o sock.o system.o term.o time.o proc.o stream.o -lnsl
collect2: ld terminated with signal 11 [Segmentation fault]
syscall.o: In function `call_summary':
syscall.c(.data+0x10118): undefined reference to `sys_vm86'
/usr/bin/ld: bfd assertion fail elf32-mips.c:5100
make: *** [strace] Error 1
The function in question doesnt contain of a single line - Everything
uncommented ...
(root@localhost)/data/deb/strace-4.0# ld -v
GNU ld version 2.8.1 (with BFD 2.8.1)
New diff which compiles is at
ftp://ftp.rfc822.org/pub/local/strace-mips/strace-4.0-mips-2.diff.gz
Some things are unclear to me so this ONLY compiles (Does not link
and probably run)
Flo
--
Florian Lohoff flo@rfc822.org +49-5241-470566
... The failure can be random; however, when it does occur, it is
catastrophic and is repeatable ... Cisco Field Notice
Reply to: