Package: ltrace
Version: 0896ce554f80afdcba81d9754f6104f863dea803
I have found that ltrace fails to compile for MIPS architecture because
in the file 'sysdeps/linux-gnu/mips/plt.c' line #241 it tries to access
to a struct member which doesn't exists:
lte->relplt_count = lte->dynsym_count - lte->arch.mips_gotsym;
The member 'relplt_count' doesn't exists in the 'lte' struct, which has
a 'struct ltelf' type defined in the 'ltrace-elf.h' file.
I have reviewed the 'plt.c' file for the other architectures and MIPS is
the only one who tries to access to 'lte->relplt_count', so maybe the
code of the struct (in ltrace-elf.h) changed and the 'plt.c' file for
the MIPS architecture hasn't been updated.
Here is the build failure:
--------------------------------
libtool: compile:
/home/test/autobuild/instance-1/output/host/usr/bin/mips-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I../../.. -DSYSCONFDIR=\"/etc\"
-DPKGDATADIR=\"/usr/share/ltrace\" -I../../../sysdeps/linux-gnu/mips
-I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wsign-compare -Wfloat-equal -Wformat-security -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -MT trace.lo -MD
-MP -MF .deps/trace.Tpo -c trace.c -fPIC -DPIC -o .libs/trace.o
plt.c: In function 'arch_elf_init':
plt.c:241:5: error: 'struct ltelf' has no member named 'relplt_count'
--------------------------------
--
Vincent
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org