Your message dated Mon, 24 Oct 2016 11:23:30 +0100
with message-id <[email protected]>
and subject line Bug#756764: ltrace fails to compile for MIPS
has caused the Debian Bug report #756764,
regarding ltrace fails to compile for MIPS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
756764: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756764
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Mon, 25 May 2015 17:05:59 +0200 Vicente Olivert Riera 
<[email protected]> wrote:
> Fixed upstream:
> 
> http://anonscm.debian.org/cgit/collab-maint/ltrace.git/commit/?id=a8ff0ff2b6e6c229f8a9242828fb47f1a5a78967
> 
> This bug can be closed.

Closing :)

James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to