[dpdk-users] Build error in vm

Yuliang Li yuliang.li at yale.edu
Sun Dec 3 05:54:18 CET 2017


Hi,

I tried to build dpdk in a VM, but get the following error:
/usr/lib/gcc/x86_64-linux-gnu/5/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)

The VM image that I use is ubuntu 16.04 cloud image
<https://cloud-images.ubuntu.com/xenial/current/>.

And I use the following command to start the VM:
qemu-system-x86_64 -hda ubuntu-16.04-server-cloudimg-amd64-disk1.img -m
1024 -enable-kvm -nographic -cdrom login.img -drive
file=ubuntu-16.04-server-cloudimg-amd64-disk1.img,if=virtio,aio=threads
-netdev user,id=mynet0,hostfwd=tcp::2222-:22 -device
virtio-net-pci,netdev=mynet0

Anyone knows the reason?

Thanks,
-- 
Yuliang Li
PhD student
Department of Computer Science
Yale University


More information about the users mailing list