[Bug general/27337] elfutils ftbfs on KFreeBSD and the Hurd

mark at klomp dot org sourceware-bugzilla@sourceware.org
Sun Apr 24 18:01:27 GMT 2022


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mark at klomp dot org
         Resolution|---                         |FIXED

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
commit 3cf386984c1870c2b39ec3fb47b0deb7b30535c3
Author: Mark Wielaard <mark@klomp.org>
Date:   Sun Apr 24 19:42:29 2022 +0200

    libelf: Check for mremap, elf_update needs it for ELF_C_RDWR_MMAP

    Add a AC_CHECK_FUNCS configure check for mremap. Some systems like
    KFreeBSD and the Hurd don't have it. Also add a configure warning
    because without mremap elf_update will often fail when ELF_C_RDWR_MMAP
    is used. ELF_C_RDWR_MMAP is an elfutils extension to libelf.

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

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

Note that various tests will FAIL without mremap:

FAIL: run-bug1-test.sh
FAIL: elfstrtab
FAIL: emptyfile
FAIL: run-copyadd-sections.sh

elf_update: cannot write data to file

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


More information about the Elfutils-devel mailing list