This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[Bug libelf/23903] Uses linux specifc mremap
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: elfutils-devel at sourceware dot org
- Date: Sat, 03 Aug 2019 20:56:40 +0000
- Subject: [Bug libelf/23903] Uses linux specifc mremap
- Auto-submitted: auto-generated
- References: <bug-23903-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23903
--- Comment #9 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Jean Michault from comment #8)
> Created attachment 11932 [details]
> patch to allow compile on systems without mremap
>
> I suggest the patch attached.
> This makes it possible to compile elfutils on nonlinux systems, but
> generates an error if one tries to use features that need mremap.
Thanks. Some questions about the proposed patch:
- What defines HAVE_MMAP?
I don't believe we currently have a configure check for it, should we?
- The guard checks for HAVE_MMAP, but the code calls mremap.
Should we have a HAVE_MREMAP guard and configure check instead?
- On which systems did you test and what were the make check results?
--
You are receiving this mail because:
You are on the CC list for the bug.