* [Bug general/27337] New: elfutils ftbfs on KFreeBSD and the Hurd @ 2021-02-03 14:43 doko at debian dot org 2022-04-24 18:01 ` [Bug general/27337] " mark at klomp dot org 2022-07-01 21:25 ` mark at klomp dot org 0 siblings, 2 replies; 3+ messages in thread From: doko at debian dot org @ 2021-02-03 14:43 UTC (permalink / raw) To: elfutils-devel https://sourceware.org/bugzilla/show_bug.cgi?id=27337 Bug ID: 27337 Summary: elfutils ftbfs on KFreeBSD and the Hurd Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general Assignee: unassigned at sourceware dot org Reporter: doko at debian dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- seen with at least 0.182 on KFreeBSD and the Hurd: [...] -Wl,--version-script,libelf.map,--no-undefined \ -Wl,--whole-archive libelf_pic.a -Wl,--no-whole-archive \ ../lib/libeu.a -lz /usr/bin/ld: libelf_pic.a(elf_update.os): in function `write_file': ./libelf/elf_update.c:109: undefined reference to `mremap' collect2: error: ld returned 1 exit status Makefile:1328: recipe for target 'libelf.so' failed make[3]: *** [libelf.so] Error 1 Makefile:503: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 Makefile:419: recipe for target 'all' failed -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/27337] elfutils ftbfs on KFreeBSD and the Hurd 2021-02-03 14:43 [Bug general/27337] New: elfutils ftbfs on KFreeBSD and the Hurd doko at debian dot org @ 2022-04-24 18:01 ` mark at klomp dot org 2022-07-01 21:25 ` mark at klomp dot org 1 sibling, 0 replies; 3+ messages in thread From: mark at klomp dot org @ 2022-04-24 18:01 UTC (permalink / raw) To: elfutils-devel 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/27337] elfutils ftbfs on KFreeBSD and the Hurd 2021-02-03 14:43 [Bug general/27337] New: elfutils ftbfs on KFreeBSD and the Hurd doko at debian dot org 2022-04-24 18:01 ` [Bug general/27337] " mark at klomp dot org @ 2022-07-01 21:25 ` mark at klomp dot org 1 sibling, 0 replies; 3+ messages in thread From: mark at klomp dot org @ 2022-07-01 21:25 UTC (permalink / raw) To: elfutils-devel https://sourceware.org/bugzilla/show_bug.cgi?id=27337 Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kurt at roeckx dot be --- Comment #2 from Mark Wielaard <mark at klomp dot org> --- *** Bug 23903 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-01 21:25 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-03 14:43 [Bug general/27337] New: elfutils ftbfs on KFreeBSD and the Hurd doko at debian dot org 2022-04-24 18:01 ` [Bug general/27337] " mark at klomp dot org 2022-07-01 21:25 ` mark at klomp dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).