bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mempcpy on Android


From: Bruno Haible
Subject: Re: mempcpy on Android
Date: Sat, 03 Nov 2018 15:09:42 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-137-generic; KDE/5.18.0; x86_64; ; )

Reuben Thomas wrote:
> I'm compiling with clang natively in Termux. All the options are set by
> Termux. __ANDROID_API__ in particular is set by a Termux header that is
> included by most of the system headers, in this case string.h. The -L
> options again are all default.

And the -L options apparently point to a library that contains mempcpy,
which means an Android API >= 23, although said Termux header defines
__ANDROID_API__ to a value < 23 ? That's an inconsistent setup that would
cause us an inordinate amount of effort to support.

You are better off using either a cross-compilation environment, or
correcting the -L options of clang so that they point to a native library
that matches the header.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]