Re: 745224e0 gcc-4.9 emmintrin.h build error

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

 



On Thu, Jul 10, 2014 at 9:59 PM, Tuncer Ayaz wrote:
> The changes in 745224e0 don't seem to build here with gcc-4.9 on
> linux x64_64. Any idea what's wrong?

s/x64_64/x86_64/

Should have written amd64 to avoid the typo :).

>     CC credential-store.o
> In file included from /usr/lib/.../xmmintrin.h:31:0,
>                  from /usr/lib/.../emmintrin.h:31,
>                  from git-compat-util.h:708,
>                  from cache.h:4,
>                  from credential-store.c:1:
> /usr/lib/.../mmintrin.h: In function '_mm_cvtsi32_si64':
> /usr/lib/.../mmintrin.h:64:3: error: can't convert between vector
> values of different size
>    return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
>    ^
> /usr/lib/.../mmintrin.h: In function '_mm_cvtsi64_si32':
> /usr/lib/.../mmintrin.h:107:10: error: incompatible type for argument
> 1 of '__builtin_ia32_vec_ext_v2si'
>    return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
>           ^
>
> [...]
>
> In file included from /usr/lib/.../emmintrin.h:31:0,
>                  from git-compat-util.h:708,
>                  from cache.h:4,
>                  from credential-store.c:1:
> /usr/lib/.../xmmintrin.h: In function '_mm_add_ss':
> /usr/lib/.../xmmintrin.h:127:19: error: incompatible type for argument
> 1 of '__builtin_ia32_addss'
>    return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
>                    ^
> /usr/lib/.../xmmintrin.h:127:3: note: expected '__vector(4) float' but
> argument is of type '__m128'
>    return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
>    ^
> /usr/lib/.../xmmintrin.h:127:19: error: incompatible type for argument
> 2 of '__builtin_ia32_addss'
>    return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
>
>                    ^
>
> [...]
>
> /usr/lib/.../emmintrin.h:1455:3: error: incompatible type for argument
> 2 of '__builtin_ia32_movntpd'
>    __builtin_ia32_movntpd (__A, (__v2df)__B);
>    ^
> /usr/lib/.../emmintrin.h:1455:3: note: expected '__vector(2) double'
> but argument is of type '__m128d'
> Makefile:1983: recipe for target 'credential-store.o' failed
> make: *** [credential-store.o] Error 1
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]