This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] sparc: M7 optimized memcpy/mempcpy/memmove/memset/bzero.
On 04/10/2017 17:16, Joseph Myers wrote:
> On Wed, 4 Oct 2017, Adhemerval Zanella wrote:
>
>> It is possible to implement the ARM resolvers in C and built it with GCC
>> mainline with two adjustments along with default _ifunc macro:
>
> Do you not get the problems with errors about incompatible types for a
> symbol and its aliases, in the absence of ifunc attribute support?
>
With two adjustments from my previous message I can build with
GCC 8.0.0 20171004 (experimental) for armv7. The issue is if we try
to do something as x86_64 does:
__hidden_ver1 (__new_memcpy, __GI_memcpy, __redirect_memcpy)
__attribute__ ((visibility ("hidden")));
This indeed dump incompatible types with mainline GCC.