Hi Petr, hi Faraz, I did some testing using a1a5182053 with no extra patch applied. All tested binaries are compiled using -mplt (or more precisely cross-gcc has been configured using --with-mips-plt). All test-cases are described below, all logs are attached. Not sure if the failures are related to Faraz' recent changes. Let me know if I should do any other specific test. Thanks!
Best regards,
Gene
# Test case #1
# ldd /bin/busybox
libc.so.0 => /lib/libc.so.0 (0x2aabf000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
# test command: ./ltrace /bin/busybox --help 2>&1 | tee busybox_help.log
# result: passed
# Test case #2
# ldd /usr/bin/wget
libssl.so.1.0.0 => /usr/lib/freetz/libssl.so.1.0.0 (0x2aabf000)
libcrypto.so.1.0.0 => /usr/lib/freetz/libcrypto.so.1.0.0 (0x2ab0f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac36000)
libc.so.0 => /lib/libc.so.0 (0x2ac54000)
libdl.so.0 => /lib/libdl.so.0 (0x2ace1000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
# test command: ./ltrace /usr/bin/wget --no-check-certificate
https://www.kernel.org/pub/software/scm/git/git-2.3.0.tar.xz 2>&1 |
tee wget_https.log
# result: terminates with "snprintf(./ltrace: value.c: 343:
value_set_word: Assertion `sz <= sizeof(value->u.value)' failed."
# output contains calls to libssl-functions
# Test case #3
# ldd /usr/bin/openssl
libssl.so.1.0.0 => /usr/lib/freetz/libssl.so.1.0.0 (0x2aabf000)
libcrypto.so.1.0.0 => /usr/lib/freetz/libcrypto.so.1.0.0 (0x2ab0f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac36000)
libc.so.0 => /lib/libc.so.0 (0x2ac54000)
libdl.so.0 => /lib/libdl.so.0 (0x2ace1000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
# test command: ./ltrace /usr/bin/openssl speed 2>&1 | tee openssl_speed.log
# result: a lot of "unexpected breakpoint at"-lines
# output doesn't contain any call to libssl-functions
On Tue, Feb 10, 2015 at 11:52 PM, Petr Machata <[email protected]> wrote:
>>> What's the state of MIPS with these patches in? Do you plan to work on
>>> it some more? I just checked that we can merge to master trivially, but
>>> I don't know what state that would leave the MIPS backend in.
busybox_help.log.gz
Description: GNU Zip compressed data
wget_https.log.gz
Description: GNU Zip compressed data
openssl_speed.log.gz
Description: GNU Zip compressed data
_______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
