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:content-transfer-encoding; q=dns; s=default; b=Al9/cmAdHh5pB1olWnM0+J7oKKql1yKdz6GUrfqNStr rhVCNNi06QG0ODCJ83BKI/1igOiipMvBjDXESaaWGMyO+Dy881NJbSJhagAI66Mi a2wUuunaqquS0vaT7SkM1J0FkTFMgWoFURFawU0rL0WQjAWVFtaM7AfwFwXmlFUY = 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:content-transfer-encoding; s=default; bh=dvG057K5TeCBynkAGoLpxvfBx38=; b=Inz+sGxfxUdoAs/CU mU17eF869tattPrmnWqRv2uJEYptzAcNiNxPdKm6I116I5vxe74LY50+I4ySGprU 1BOyTQ8Co3nBIsGPighUTb6wz2EzMSBh1xV0iyH1FNPGKZlDXHqwtLjq3v6xAhYO quXkQyLXeSrBYEVh6M0ZsFJF/E= 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=2.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f47.google.com X-Received: by 10.194.133.68 with SMTP id pa4mr34929312wjb.26.1423952268668; Sat, 14 Feb 2015 14:17:48 -0800 (PST) Message-ID: <54DFC977.9040305@gmail.com> Date: Sat, 14 Feb 2015 23:17:27 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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> <54DFC467 DOT 60200 AT gmail DOT com> <54DFC4E9 DOT 1010707 AT gmail DOT com> In-Reply-To: <54DFC4E9.1010707@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 2/14/2015 10:58 PM, Václav Zeman wrote: > On 14.2.2015 22:55, Václav 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: you missed the point __mempcpy is exported by cygwin lib at 32bit but not at 64 bit. For both the the two arch HAVE_MEMPCPY is defined. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple