This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __mempcpy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]