All of lore.kernel.org
 help / color / mirror / Atom feed
* [DPDK16.04: Error While compiling]
@ 2016-06-21  5:57 amartya.das
       [not found] ` <87d1naq4im.fsf@fatcat.parallelwireless>
  0 siblings, 1 reply; 4+ messages in thread
From: amartya.das @ 2016-06-21  5:57 UTC (permalink / raw)
  To: dev

Hi,

I am facing compilation error for DPDK 16.04 as below:
In file included from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:0:
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:673:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset));        \
         ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:730:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:870:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86intrin.h:37:0,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_vect.h:67,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:46,
                 from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
_mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
^
In file included from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:0:
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:674:9: error: called from here
         _mm_storeu_si128((__m128i *)((uint8_t *)dst + 7 * 16), _mm_alignr_epi8(xmm8, xmm7, offset));        \
         ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:730:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:870:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86intrin.h:37:0,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_vect.h:67,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:46,
                 from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
_mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
^
In file included from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:0:
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:689:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 0 * 16), _mm_alignr_epi8(xmm1, xmm0, offset));    \
             ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:730:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:870:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86intrin.h:37:0,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_vect.h:67,
                 from /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:46,
                 from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline '_mm_alignr_epi8': target specific option mismatch
_mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
^
In file included from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:0:
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:690:13: error: called from here
             _mm_storeu_si128((__m128i *)((uint8_t *)dst + 1 * 16), _mm_alignr_epi8(xmm2, xmm1, offset));    \
             ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:730:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
     case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
                ^
/home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:870:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
/home/cran/dpdk-16.04/mk/internal/rte.compile-pre.mk:129: recipe for target 'eal_common_options.o' failed
make[7]: *** [eal_common_options.o] Error 1
/home/cran/dpdk-16.04/mk/rte.subdir.mk:61: recipe for target 'eal' failed
make[6]: *** [eal] Error 2
/home/cran/dpdk-16.04/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
make[5]: *** [linuxapp] Error 2
/home/cran/dpdk-16.04/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
make[4]: *** [librte_eal] Error 2
/home/cran/dpdk-16.04/mk/rte.sdkbuild.mk:77: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/home/cran/dpdk-16.04/mk/rte.sdkroot.mk:123: recipe for target 'all' failed
make[2]: *** [all] Error 2
/home/cran/dpdk-16.04/mk/rte.sdkinstall.mk:84: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/home/cran/dpdk-16.04/mk/rte.sdkroot.mk:98: recipe for target 'install' failed

Anybody faced this issue? What is the solution to this problem?


Thanks,
Amartya





The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

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

* Re: [DPDK16.04: Error While compiling]
       [not found] ` <87d1naq4im.fsf@fatcat.parallelwireless>
@ 2016-06-21  9:42   ` amartya.das
  2016-06-21 10:03     ` Anupam Kapoor
  0 siblings, 1 reply; 4+ messages in thread
From: amartya.das @ 2016-06-21  9:42 UTC (permalink / raw)
  To: akapoor; +Cc: dev

Hi,

Its VM fedora21, gcc 4.9.

Thanks,
Amartya

-----Original Message-----
From: Anupam Kapoor [mailto:akapoor@parallelwireless.com]
Sent: Tuesday, June 21, 2016 2:54 PM
To: Amartya Kumar Das (MFG & Tech) <amartya.das@wipro.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [DPDK16.04: Error While compiling]

** This mail has been sent from an external source **

>>>>> [2016-06-21T11:27:50+0530]: "amartya.das" (amartya-das):
,----[ amartya-das ]
| I am facing compilation error for DPDK 16.04 as below:
| In file included from /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:0:
| /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:673:9: error: called from here
| _mm_storeu_si128((__m128i *)((uint8_t *)dst + 6 * 16), _mm_alignr_epi8(xmm7, xmm6, offset));        \
| ^
| /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:730:16: note: in expansion of macro 'MOVEUNALIGNED_LEFT47_IMM'
| case 0x0F: MOVEUNALIGNED_LEFT47_IMM(dst, src, n, 0x0F); break;    \
| ^
| /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:870:2: note: in expansion of macro 'MOVEUNALIGNED_LEFT47'
| MOVEUNALIGNED_LEFT47(dst, src, n, srcofs); ^ In file included from
| /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86intrin.h:37:0,
| from
| /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_vect.h:67
| , from
| /home/cran/dpdk-16.04/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:
| 46, from
| /home/cran/dpdk-16.04/lib/librte_eal/common/eal_common_options.c:52:
| /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1:
| error: inlining failed in call to always_inline '_mm_alignr_epi8':
| target specific option mismatch _mm_alignr_epi8(__m128i __X, __m128i
| __Y, const int __N)
`----
can you please provide information on the os and platform where you are attempting this ? from the paths it seems like gcc 4.9 on redhat (7 maybe ?)

---
thanks
anupam
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

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

* Re: [DPDK16.04: Error While compiling]
  2016-06-21  9:42   ` amartya.das
@ 2016-06-21 10:03     ` Anupam Kapoor
  2016-06-26 11:53       ` amartya.das
  0 siblings, 1 reply; 4+ messages in thread
From: Anupam Kapoor @ 2016-06-21 10:03 UTC (permalink / raw)
  To: amartya.das; +Cc: dev


>>>>> [2016-06-21T15:12:27+0530]: "amartya.das" (amarty-das):
,----[ amartya-das ]
| Its VM fedora21, gcc 4.9.
`----
does your vcpu support sse3 ?

---
thanks
anupam

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

* Re: [DPDK16.04: Error While compiling]
  2016-06-21 10:03     ` Anupam Kapoor
@ 2016-06-26 11:53       ` amartya.das
  0 siblings, 0 replies; 4+ messages in thread
From: amartya.das @ 2016-06-26 11:53 UTC (permalink / raw)
  To: anupam.kapoor; +Cc: dev

Thanks.  It has supports sse3. I was not able to nail the problem. But replaced the vm with other working VM for now which is working fine.

-----Original Message-----
From: Anupam Kapoor [mailto:anupam.kapoor@gmail.com]
Sent: Tuesday, June 21, 2016 3:34 PM
To: Amartya Kumar Das (MFG & Tech) <amartya.das@wipro.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [DPDK16.04: Error While compiling]

** This mail has been sent from an external source **

>>>>> [2016-06-21T15:12:27+0530]: "amartya.das" (amarty-das):
,----[ amartya-das ]
| Its VM fedora21, gcc 4.9.
`----
does your vcpu support sse3 ?

---
thanks
anupam
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

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

end of thread, other threads:[~2016-06-26 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21  5:57 [DPDK16.04: Error While compiling] amartya.das
     [not found] ` <87d1naq4im.fsf@fatcat.parallelwireless>
2016-06-21  9:42   ` amartya.das
2016-06-21 10:03     ` Anupam Kapoor
2016-06-26 11:53       ` amartya.das

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.