DPDK usage discussions
 help / color / mirror / Atom feed
From: Yuliang Li <yuliang.li@yale.edu>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Build error in vm
Date: Sun, 3 Dec 2017 10:17:13 -0500	[thread overview]
Message-ID: <CAECc8joiJWVJp0cU6eLuX1VFm+0kWvD8h_OKcYuavepqx4vS1g@mail.gmail.com> (raw)
In-Reply-To: <CA+_eA9invW5F1-V=nNZS-UsZehTngSc_z6EfKTtFQN7sVbqeRA@mail.gmail.com>

It works! Thanks!

On Sun, Dec 3, 2017 at 3:27 AM, Vincenzo Maffione <v.maffione@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@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

      reply	other threads:[~2017-12-03 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03  4:54 Yuliang Li
2017-12-03  8:27 ` Vincenzo Maffione
2017-12-03 15:17   ` Yuliang Li [this message]

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=CAECc8joiJWVJp0cU6eLuX1VFm+0kWvD8h_OKcYuavepqx4vS1g@mail.gmail.com \
    --to=yuliang.li@yale.edu \
    --cc=users@dpdk.org \
    --cc=v.maffione@gmail.com \
    /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).