[dpdk-users] Build error in vm

Vincenzo Maffione v.maffione at gmail.com
Sun Dec 3 09:27:27 CET 2017


Hi,
  Don't know if it can help, but you may try to add the "-cpu host" option
to QEMU.

Cheers,
  Vincenzo

2017-12-03 5:54 GMT+01:00 Yuliang Li <yuliang.li at yale.edu>:

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



-- 
Vincenzo Maffione


More information about the users mailing list