[Bug tools/24795] eu-unstrip doesn't recognize MIPS_DWARF as debug section

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Jul 9 22:08:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=24795

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Mark Wielaard from comment #1)
> (In reply to Tom de Vries from comment #0)
> > Consider the section header table of a hello world exec on debian 7 MIPS:
> 
> BTW. Isn't Debian 7 really old?
> 

Yep, initial release 2013.

> > This is with an old eu-strip (0.152), but I don't manage building from git
> > for now,
> 
> See the README:
> 
>  To build a git checkout do:
>    autoreconf -i -f && \
>    ./configure --enable-maintainer-mode && \
>    make && make check
> 

Ah, ok.

> Please let us know what issues you are seeing.
> 

I tried elfutils-latest.tar.bz2 instead, and ran into the use of aligned_alloc,
which is supported starting glibc v2.16, while debian 7 has glibc v2.13.

> > so atm I cannot say whether this is fixed on trunk or not.
> 
> It isn't. elfutils doesn't have a MIPS backend and so knows nothing about
> special MIPS ELF constructs.

Ah, I see indeed at https://sourceware.org/elfutils/ that mips is missing:
...
Included backends for machine specific ELF handling:
aarch64 alpha arm bpf i386 ia64 m68k ppc ppc64 s390 s390x sh sparc sparc64
tilegx x32 x86_64
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list