delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/15/04:18:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=RXh2CHMnatmQpY2bbzjdutFAzCTL0yGwU5RkhSjxdgWMKWJYXETls
uA5wpxWqiy4KHtF8wS418lx2+HbspeOCfDMjX0Ef57BL/IyY5bB3qXaMxJXECL5T
+5CkNSzyH6zU0aIGR6okP4ts2ZzGro/DlrnDKfapDvFx4hBksGDOxc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=mK7nybyz5WjGoi+sGZqNLDeQqAk=; b=WOQzrmgzy8kYk2vQePA1gsZBQkPY
+tkZYhLXRJ5cNVX3GiWKFrm2Fxwxtpd9ZA3XtuDwHmUMvOM0NbWtnO4ECf7AjdyI
2k8wHqfFZikKzqszX9M88Mm7C1XCW2DiOZkRvK1IAWXZdNgAznnlOUuaweZFgapL
W3aAvWad2VrYtdA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sun, 15 Feb 2015 10:18:19 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: __mempcpy
Message-ID: <20150215091819.GD7225@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54DF053D DOT 70805 AT gmail DOT com> <54DFC467 DOT 60200 AT gmail DOT com> <54DFC4E9 DOT 1010707 AT gmail DOT com> <54DFC977 DOT 9040305 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <54DFC977.9040305@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 14 23:17, Marco Atzeri wrote:
> On 2/14/2015 10:58 PM, V=C3=A1clav Zeman wrote:
> >On 14.2.2015 22:55, V=C3=A1clav Zeman wrote:
> >>On 14.2.2015 09:20, Marco Atzeri wrote:
> >>>I am trying to upgrade proftpd and also build the 64bit version.
> >>>However when building the 64bit one, I catch:
> >>>
> >>>/pub/devel/proftpd/proftpd-1.3.5-1.x86_64/build/lib/pr_fnmatch_loop.c:=
1142:
> >>>undefined reference to `__mempcpy'
> >>>
> >>>I see this difference in exported symbols for the the two archs
> >>>
> >>>32bit
> >>>$ nm /usr/lib/libcygwin.a |grep " T " |sort | grep mempcpy
> >>>00000000 T ___mempcpy
> >>>00000000 T _mempcpy
> >>>
> >>>64bit
> >>>$ nm /usr/lib/libcygwin.a |grep " T " |sort | grep mempcpy
> >>>0000000000000000 T mempcpy
> >>>
> >>>
> >>>any idea ?
> >>
> >>`__memcpy()` is their invention:
>=20
> you missed the point
>=20
> __mempcpy is exported by cygwin lib at 32bit
> but not at 64 bit.
>=20
> For both the the two arch HAVE_MEMPCPY is defined.

The 32 bit variant exports lots of underscored versions of standard
POSIX functions for historical reasons.  We didn't want to reproduce
this for the 64 bit version so the whole lot was restricted to the 32
bit export definition file.  However, __mempcpy is a GNU symbol just as
the non-underscored variant.  This has gone unnoticed when we created
the export definitions for 64 bit.

I fixed that in CVS.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU4GRbAAoJEPU2Bp2uRE+gW/AP/1s6xvc4aAd+cBVRJysPvD83
Zx2VZqKJ6GZzvVErbvlxEsd/pexcENaJS7ZCRae5d6tnMdfpWvUUFKfTztYU38rp
6MW85rOaCIaqwxgTneAlg5ZYo68oBIdP6vlgFKqDBz3jw5gbSAWzID7qsJ3CvMki
gGoeL/PwhK1gJW9DU8hghR2PNyzp3zu4clOXSGecQCnZ6p398hgmDULsMiSwby3p
6GSL+VWuB5RJNeNlimlltwLMrTtNXElp0R1OqB7NA0yKaqMKqAv16gMpUwV+D8KB
2ZLNpoo7Ei7L3JfTVwla+/Vt5ZLv3MSoM2hlrMpmn2GN/DP9eKlDeQLufZUMQEKo
qRtwCgWsjCYs4swW3K4/lFWuUjVFX0JDR70iCFXenJdSQrNAzlBGd3E6YoLHvaxb
1SlnSKRqYvq6yvGA842kUVuZL+rxZRy/8naJ7dTmf2BlglonL2ucg0wDSfjVClNt
La0RQIMFzM+2LH8vID7Z3WO6etHWh+QjTv/diuVQNdrzu2bi5JNbsXg7AqaIooYm
JS6bwmyykSlNCt2qASfOiic5e0OYjk0sgebS98Ok+LZv12xe4s9DOsxhDz21heOX
049QFotMCnVyb5U2wYnCX17VDsf4TmdleWdS3qMwujcLtImu5RS7GiEA9XMvs1vf
NWbLErAK/OV5tyLRbULj
=aTb7
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019