DPDK usage discussions
 help / color / mirror / Atom feed
From: Yuliang Li <yuliang.li@yale.edu>
To: users@dpdk.org
Subject: [dpdk-users] Build error in vm
Date: Sat, 2 Dec 2017 23:54:18 -0500	[thread overview]
Message-ID: <CAECc8jpDyCZB8SO_9wE0DpvL7uLb9pkwN3vL7FGqP+BT-Jd7bQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2017-12-03  4:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03  4:54 Yuliang Li [this message]
2017-12-03  8:27 ` Vincenzo Maffione
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=CAECc8jpDyCZB8SO_9wE0DpvL7uLb9pkwN3vL7FGqP+BT-Jd7bQ@mail.gmail.com \
    --to=yuliang.li@yale.edu \
    --cc=users@dpdk.org \
    /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).