From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from atl4mhob07.myregisteredsite.com (unknown [209.17.115.100]) by dpdk.org (Postfix) with ESMTP id 94BBC6A6F for ; Fri, 7 Jun 2013 01:02:12 +0200 (CEST) Received: from atl4webmail11 ([10.30.71.168]) by atl4mhob07.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r56N2JgS027540 for ; Thu, 6 Jun 2013 19:02:19 -0400 Received: from 71.62.178.12 (dow@dreamergraphics.com [71.62.178.12]) by atl4webmail11 (Netsol 11.2.30) with WEBMAIL id 12643; Thu, 06 Jun 2013 23:02:19 +0000 From: dow@dreamergraphics.com To: dev@dpdk.org Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Network Solutions Webmail, Build 11.2.30 X-Originating-IP: [71.62.178.12] X-Forwarded-For: [(null)] X-Authenticated-UID: dow@dreamergraphics.com Date: Thu, 06 Jun 2013 23:02:19 +0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="--=_vm_0011_W591581093_12643_1370559739" Subject: Re: [dpdk-dev] CPU does not support x86-64 instruction set X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 23:02:12 -0000 ----=_vm_0011_W591581093_12643_1370559739 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable >On Thu, Jun 6, 2013 at 5:27 PM, jinho hwang w= rote:>>> Hi,>>>> I am having trouble to compile the dpdk in a virtual mac= hine. I am using>> KVM as a hypervisor, and guest os is ubuntu 12.10, ker= nel 3.5.0, x86_64. I>> have been using dpdk for a week and run the exampl= es in a native platform.>> But when I try to move it to virtual machine, = it gives me the following>> error:>>>> /home/guest/dpdk-1.2.3r1/lib/librt= e_eal/linuxapp/eal/eal.c:1:0: error: CPU>> you selected does not support = x86-64 instruction set>>>> I am sure that I have installed 64 bit version= as it shows in "uname -a".> Also, /proc/cpuinfo shows "model name: QEMU = Virtual CPU version> >(cpu64-rhe16)".>>>> Do you have any idea?>>>> Thank= you,>>>> Jinho>>>>I figured out just now. It was because gcc version. I = used to use 4.4, but>in the guest virtual machine, I used 4.7 which may h= ave additional>functions to check strictly. - Jinho>-------------- next p= art -------------->An HTML attachment was scrubbed...>URL: This error can also be cause by the VM's CPU definition not being defined= . The following xml snippet of code is from my DPDK VM's definition.