DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] x86_64-native-linuxapp-clang compilation broken?
@ 2016-02-14 22:21 Marc
  2016-02-15  9:39 ` Mcnamara, John
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Marc @ 2016-02-14 22:21 UTC (permalink / raw)
  To: dev

It seems compilation for clang Linux target is broken:

In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: implicit declaration of function '_mm_alignr_epi8' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:667:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16),
_mm_alignr_epi8(xmm1, xmm0, offset));        \
                                                               ^
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:667:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16),
_mm_alignr_epi8(xmm1, xmm0, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:668:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16),
_mm_alignr_epi8(xmm2, xmm1, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:669:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 2 * 16),
_mm_alignr_epi8(xmm3, xmm2, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:670:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 3 * 16),
_mm_alignr_epi8(xmm4, xmm3, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:671:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 4 * 16),
_mm_alignr_epi8(xmm5, xmm4, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:672:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 5 * 16),
_mm_alignr_epi8(xmm6, xmm5, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:673:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16),
_mm_alignr_epi8(xmm7, xmm6, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:674:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16),
_mm_alignr_epi8(xmm8, xmm7, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:689:68:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
            _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16),
_mm_alignr_epi8(xmm1, xmm0, offset));    \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:716:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x01: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x01); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:690:68:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
            _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16),
_mm_alignr_epi8(xmm2, xmm1, offset));    \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:667:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16),
_mm_alignr_epi8(xmm1, xmm0, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:668:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16),
_mm_alignr_epi8(xmm2, xmm1, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:669:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 2 * 16),
_mm_alignr_epi8(xmm3, xmm2, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:670:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 3 * 16),
_mm_alignr_epi8(xmm4, xmm3, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:671:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 4 * 16),
_mm_alignr_epi8(xmm5, xmm4, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:672:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 5 * 16),
_mm_alignr_epi8(xmm6, xmm5, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:673:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16),
_mm_alignr_epi8(xmm7, xmm6, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
In file included from
/home/marc/dpdk/lib/librte_eal/linuxapp/eal/eal_pci.c:42:
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:870:2:
error: passing 'int' to parameter of incompatible type '__m128i'
      (vector of 2 'long long' values)
        MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:717:16:
note: expanded from macro 'MOVEUNALIGNED_LEFT47'
    case 0x02: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x02); break;    \
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marc/dpdk/x86_64-native-linuxapp-clang/include/rte_memcpy.h:674:64:
note: expanded from macro 'MOVEUNALIGNED_LEFT47_IMM'
        _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16),
_mm_alignr_epi8(xmm8, xmm7, offset));        \

 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/clang/3.5.0/include/emmintrin.h:1183:40: note: passing
argument to parameter '__b' here
_mm_storeu_si128(__m128i *__p, __m128i __b)
                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

marc@dpdk:~/dpdk$ clang --version
Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

Any ideas?

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

end of thread, other threads:[~2016-02-17 20:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-14 22:21 [dpdk-dev] x86_64-native-linuxapp-clang compilation broken? Marc
2016-02-15  9:39 ` Mcnamara, John
2016-02-15 10:14   ` Van Haaren, Harry
2016-02-16  6:08     ` Matthew Hall
2016-02-15  9:44 ` Mcnamara, John
2016-02-16 11:49 ` Mcnamara, John
2016-02-16 12:15   ` Marc
2016-02-16 12:57     ` De Lara Guarch, Pablo
2016-02-16 18:47       ` Matthew Hall
2016-02-16 23:19         ` Marc
2016-02-17 11:07           ` De Lara Guarch, Pablo
2016-02-17 20:23             ` Matthew Hall

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).