From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17338 invoked by alias); 4 Aug 2019 16:47:48 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 17318 invoked by uid 48); 4 Aug 2019 16:47:44 -0000 From: "bibi584762 at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug libelf/23903] Uses linux specifc mremap Date: Sun, 04 Aug 2019 16:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libelf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bibi584762 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-SW-Source: 2019-q3/txt/msg00099.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23903 --- Comment #12 from Jean Michault --- (In reply to Mark Wielaard from comment #9) > (In reply to Jean Michault from comment #8) > > Created attachment 11932 [details] > > patch to allow compile on systems without mremap > >=20 > > 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. >=20 > 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? I propose another patch that checks mremap. I tested on a debian system GNU / Hurd 2019. The compilation is going well = but some tests fail: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Testsuite summary for elfutils 0.176 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D # TOTAL: 205 # PASS: 170 # SKIP: 23 # XFAIL: 0 # FAIL: 12 # XPASS: 0 # ERROR: 0 failing tests are : FAIL: run-readelf-loc.sh FAIL: run-readelf-ranges.sh FAIL: run-bug1-test.sh FAIL: run-varlocs.sh FAIL: run-allfcts-multi.sh FAIL: elfstrtab FAIL: emptyfile FAIL: run-get-units-split.sh FAIL: run-attr-integrate-skel.sh FAIL: run-all-dwarf-ranges.sh FAIL: run-unit-info.sh FAIL: run-copyadd-sections.sh --=20 You are receiving this mail because: You are on the CC list for the bug.