[dpdk-users] Build error in vm

Yuliang Li yuliang.li at yale.edu
Sun Dec 3 16:17:13 CET 2017


It works! Thanks!

On Sun, Dec 3, 2017 at 3:27 AM, Vincenzo Maffione <v.maffione at gmail.com>
wrote:

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



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


More information about the users mailing list