From: Marc <marcdevel@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] x86_64-native-linuxapp-clang compilation broken?
Date: Sun, 14 Feb 2016 23:21:24 +0100 [thread overview]
Message-ID: <CAExC=0ToFXw7p33QcUGOpezo=K=B=foHxsd2CuXxLBWXASxMGA@mail.gmail.com> (raw)
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?
next reply other threads:[~2016-02-14 22:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-14 22:21 Marc [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAExC=0ToFXw7p33QcUGOpezo=K=B=foHxsd2CuXxLBWXASxMGA@mail.gmail.com' \
--to=marcdevel@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).