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

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

  reply	other threads:[~2017-12-03  8:27 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 [this message]
2017-12-03 15:17   ` Yuliang Li

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='CA+_eA9invW5F1-V=nNZS-UsZehTngSc_z6EfKTtFQN7sVbqeRA@mail.gmail.com' \
    --to=v.maffione@gmail.com \
    --cc=users@dpdk.org \
    --cc=yuliang.li@yale.edu \
    /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).