From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) by dpdk.org (Postfix) with ESMTP id 509112661 for ; Sun, 3 Dec 2017 16:17:15 +0100 (CET) Received: by mail-it0-f48.google.com with SMTP id u62so7321890ita.2 for ; Sun, 03 Dec 2017 07:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Q3+C3GMiv/0qaKDv63YV4d2WKvsvAsxcxblDo+GdnBg=; b=0vy8TDF3ddGnvMnOH6dKTlTC6UTNO1p/A/zSmiTe5bLLG67MHmZRmcPWW4cPrZB+Ut JU0ocIQegWrL1MhOd2WA8n5ePjM8jvxPXdZNrU+Rt4+s8TY1/u5v05TL0b2thmunY5hm mmcSqj51w5+zbn1MA8K+DM4RZlb4heAGDiC7A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Q3+C3GMiv/0qaKDv63YV4d2WKvsvAsxcxblDo+GdnBg=; b=LsapF6375zxZmgDm6tOtBgZtN0oqOXfsLxatVgNS17Tp3+1bruZhrK/7/m4qkRND70 wREDmkqf8uB3FSxTHmwpG1qQ9d+Fhim4e2k6MBh2YGTYFTczNR2F2Go0WMkxvrVeQqJY 1JPTm7sh060dFACkEopVRhJnmB+qTBdmxBFmPIFZghw2QMOAvVZzCBLFnfl1MNxJ5RrB jm/NFKi8Wff7cqxNQ+dQjvG5a9Vm4nd3H4JE+QrgE7uC63HLgFx8yqeGXHtjy2GMYZoA jLI85a+i19tqWZXFw7snr3u69UooOJ2R+Zh++k7UoSAxEL0yH1Xwy9PtCUQs3oJrkh1A wpTA== X-Gm-Message-State: AKGB3mIq8Er8FAf5yoP80Z4xhB0pWl5aXQkd4ToOSa6DBNOJD7qbFTIv y7Bm0shkML3nB++xw6CCsD2OCdKaRquWgCzSztImbA== X-Google-Smtp-Source: AGs4zMbZ+tba9hj0uq7mpSybyqblUsCfrwyWsJSH05HAUE/cAv9R7/8xOi0bq+ipjd/21XsP/Sbu/Z6bV8r5Gg48vQg= X-Received: by 10.36.228.68 with SMTP id o65mr10165821ith.128.1512314234503; Sun, 03 Dec 2017 07:17:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.65.153 with HTTP; Sun, 3 Dec 2017 07:17:13 -0800 (PST) In-Reply-To: References: From: Yuliang Li Date: Sun, 3 Dec 2017 10:17:13 -0500 Message-ID: To: Vincenzo Maffione Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Build error in vm X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 15:17:15 -0000 It works! Thanks! On Sun, Dec 3, 2017 at 3:27 AM, Vincenzo Maffione 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 : > >> 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 >> . >> >> 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