1.23.0 FreeBSD build fails: 1 showstopper mempcpy(), 1 sendfile() incompat.

Denys Vlasenko vda.linux at googlemail.com
Thu Jan 29 15:40:59 UTC 2015


On Wed, Jan 28, 2015 at 10:50 PM, Matthias Andree <mandree at freebsd.org> wrote:
>> Matthias, please get current git, uncomment this line,
>> and confirm that it builds for you. Let me know the version
>> of FreeBSD which needs it (newer ones may grow their own
>> mempcpy(), we need to be ready for that).
>
> That works.
>
> Additionally:
>
> 1. You need to add #include <string.h> to obtain memcpy() in the
> replacement, and

Ok...

> 2. also add -fno-builtin-mempcpy to the compiler flags to quench
> -Wshadow warnings that the mempcpy() shadows a GCC built-in.

I'm confused.
 Do you _have_ mempcpy (the gcc-builtin one) provided by your toolchain,
or do you NOT have mempcpy?


More information about the busybox mailing list