From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103103 invoked by alias); 17 Feb 2017 10:26:11 -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 103093 invoked by uid 89); 17 Feb 2017 10:26:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=tweaks X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mx1.redhat.com Message-ID: <1487327166.10240.35.camel@redhat.com> Subject: Re: [PATCH] Check for existence of mempcpy From: Mark Wielaard To: Ulf Hermann Cc: elfutils-devel@sourceware.org Date: Fri, 17 Feb 2017 10:26:00 -0000 In-Reply-To: <251603a0-9ee9-5387-7eac-c1636dfe9f61@qt.io> References: <8d7f6ec7-205c-e196-900a-3cf26a02c691@qt.io> <1487324782.10240.29.camel@redhat.com> <251603a0-9ee9-5387-7eac-c1636dfe9f61@qt.io> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 17 Feb 2017 10:26:09 +0000 (UTC) X-SW-Source: 2017-q1/txt/msg00054.txt.bz2 On Fri, 2017-02-17 at 10:50 +0100, Ulf Hermann wrote: > True. With other missing functions I tend to conditionally build the > replacements into libeu.a as actual functions. That requires libeu.a > to be linked into libdw.so, libelf.so, etc. I will create a followup > patch that does the same with mempcpy. If at all possible I would like elfutils to not turn into some abstraction layer for broken non-GNU/Linux systems. I don't mind small (mostly) obvious correct defines/checks or tweaks to help out people using such broken systems. But if we need a lot more of these things I think we should look if we can just import the necessary gnulib modules to get portability functions. Cheers, Mark