git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 745224e0 gcc-4.9 emmintrin.h build error
@ 2014-07-10 19:59 Tuncer Ayaz
  2014-07-10 20:06 ` Tuncer Ayaz
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Tuncer Ayaz @ 2014-07-10 19:59 UTC (permalink / raw)
  To: git

The changes in 745224e0 don't seem to build here with gcc-4.9 on
linux x64_64. Any idea what's wrong?

    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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-07-14  6:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 19:59 745224e0 gcc-4.9 emmintrin.h build error Tuncer Ayaz
2014-07-10 20:06 ` Tuncer Ayaz
2014-07-10 20:23 ` Jeff King
2014-07-10 20:43   ` Tuncer Ayaz
2014-07-10 20:33 ` David Turner
2014-07-10 20:44   ` Tuncer Ayaz
2014-07-10 20:53     ` David Turner
2014-07-10 21:59       ` Tuncer Ayaz
2014-07-10 22:12         ` Tuncer Ayaz
2014-07-10 22:58           ` David Turner
2014-07-12  4:56           ` Jeff King
2014-07-12  8:47             ` Tuncer Ayaz
2014-07-14  6:00               ` Jeff King
2014-07-12  8:53             ` Tuncer Ayaz
2014-07-14  6:04               ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).