Sunday, December 20, 2020

[fedora-arm] Re: gfx/2d/BlurNEON.cpp error when build IceCat on ARM

On Sun, Dec 20, 2020 at 2:53 PM Antonio T. sagitter
<sagitter@fedoraproject.org> wrote:
>
> Hi all.
>
> I can't compile IceCat on ARM-Rawhide branch (it's an issue related to
> GCC-11?) because of this error:
>
> 167:32.34
> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/11/include/arm_neon.h: In
> function 'poly64x1_t vcreate_p64(uint64_t)':
> 167:32.34
> /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/11/include/arm_neon.h:6534:22:
> error: '__builtin_neon_vcreatedi' was not declared in this scope; did
> you mean '__builtin_neon_vextdi'?
> 167:32.34 6534 | return (poly64x1_t)__builtin_neon_vcreatedi
> ((__builtin_neon_di) __a);
>
> I don't know if it's caused by a compiler flag (-mfpu=neon) conflicts.

Likely, you should be using the distro flags. We have have armv7
devices that don't support NEON so we don't compile with them by
default and applications should use run time detected fast paths for
devices that support NEON.

Peter
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org

No comments:

Post a Comment