From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E3E753858D37; Sun, 24 Apr 2022 18:01:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3E753858D37 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/27337] elfutils ftbfs on KFreeBSD and the Hurd Date: Sun, 24 Apr 2022 18:01:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2022 18:01:28 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27337 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mark at klomp dot org Resolution|--- |FIXED --- Comment #1 from Mark Wielaard --- commit 3cf386984c1870c2b39ec3fb47b0deb7b30535c3 Author: Mark Wielaard 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=3D27337 Signed-off-by: Mark Wielaard 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=