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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=DmEcAH NpgNnl4DLmDEEqwMm0Ajid6xMCkbBAs98PUbZ5/nDOLASh01pbURXZxx3lmIE5sU inWFciQiGipu3OFtrN6nWG82gVYGYvHjtel64NCIwvFVyASEEzQdX1TN4GWUnUKT h1Ul/Fo3c9pdICE7bzBuBAQK2jlFkhpV82BWs= 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=azZXov4dr/2+ daRjS4bNtVj81xk=; b=SIwfKXmtThJc2BnTmQL4LDmZe1L8Hj0F2kktjLWbUQeK br3epBGbjAXuKHCPHowwB/ZLbVD52hr2sov8uJ8kWmexOo+tbOhO/u2mO0t0N/BK nKw3WPNxTtbx29vzzVkdAYX7ZUWJfBd4Pw32HigRSiYN9Uod4c9J9STzZjzpLWU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f41.google.com X-Received: by 10.194.190.111 with SMTP id gp15mr34763801wjc.132.1423950954355; Sat, 14 Feb 2015 13:55:54 -0800 (PST) Message-ID: <54DFC467.60200@gmail.com> Date: Sat, 14 Feb 2015 22:55:51 +0100 From: =?UTF-8?B?VsOhY2xhdiBaZW1hbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: __mempcpy References: <54DF053D DOT 70805 AT gmail DOT com> In-Reply-To: <54DF053D.70805@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V4j8EGJ3IJ3mbleXepQb1PT6Qf8rTC2dX" X-IsSubscribed: yes --V4j8EGJ3IJ3mbleXepQb1PT6Qf8rTC2dX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: >=20 > /pub/devel/proftpd/proftpd-1.3.5-1.x86_64/build/lib/pr_fnmatch_loop.c:114= 2: > undefined reference to `__mempcpy' >=20 > I see this difference in exported symbols for the the two archs >=20 > 32bit > $ nm /usr/lib/libcygwin.a |grep " T " |sort | grep mempcpy > 00000000 T ___mempcpy > 00000000 T _mempcpy >=20 > 64bit > $ nm /usr/lib/libcygwin.a |grep " T " |sort | grep mempcpy > 0000000000000000 T mempcpy >=20 >=20 > any idea ? `__memcpy()` is their invention: ~~~~ #ifndef HAVE_MEMPCPY /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ static void * __mempcpy (void *dest, const void *src, size_t n) { return (char *) memcpy (dest, src, n) + n; } #endif ~~~~ Since Cygwin has memcpy(), it should be defined. I guess you need to find out why its tests are failing and `HAVE_MEMCPY` is not defined. -- VZ --V4j8EGJ3IJ3mbleXepQb1PT6Qf8rTC2dX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlTfxGcACgkQonnuNA9W3VKTYQD/fNVB23ujuwhnen9utGYq55zb neoPmuR1tHpP1kpFRcAA/1RMryzO+YJ+dAn5H9Xzgyg6EurShNztur+btZz/EQJt =Zd1y -----END PGP SIGNATURE----- --V4j8EGJ3IJ3mbleXepQb1PT6Qf8rTC2dX--