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

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Jul 10 10:41:00 GMT 2019


--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Tom de Vries from comment #2)
> 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.

BTW. Unrelated to the MIPS issue, but this has indeed been fixed in git:

commit 6bd060a23f43a842fbc37dd1bb8d6d7964eda36e
Author: Mark Wielaard <mark@klomp.org>
Date:   Thu Mar 7 17:31:53 2019 +0100

    libelf: Use posix_memalign instead of aligned_alloc.

    Older glibc might not have aligned_alloc (it is C11).
    Use posix_memalign instead. posix_memalign requires the alignment to
    be a multiple of sizeof (void *). So use malloc for smaller alignments.

    Signed-off-by: Mark Wielaard <mark@klomp.org>

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

More information about the Elfutils-devel mailing list