From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) by dpdk.org (Postfix) with ESMTP id 493F95907 for ; Tue, 24 Jun 2014 11:14:14 +0200 (CEST) Received: by mail-ig0-f182.google.com with SMTP id l13so227483iga.15 for ; Tue, 24 Jun 2014 02:14:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6OG3pSwNUagV81kguMca6snt8we3yLVMApsjijetCec=; b=VWtu3DPzDLQzvTqkYH7JLWk6SziKsz2HNSxXN+SKADPFnmR2949Xi5xuhx+lvjg+hJ +QF+UuVf8wskzWL0mRPr/2eH2d6SxyT/+H2Niyh3sBhEJLJMiHLK8xRVQZt8V1oQSenm 8tu34SRHdiRoyjhJp7pAHxazD15ok304rSu3EkyujdGqwnXl/oCYWQS07ucMvOu3B6QK IZ0rN3q5GtBivXYzBiUhlAINCO8ODAn6EJrfEqGm/5ECVB0OdC4JLhgoyF8h0D5sSpsq 1WkFs7vl3KgtQGxL/sgWKaIi2mvFqZ1vfU9sKBba34z6j1F5IKFXZ2fPyCyuuiJnM7lZ QAiQ== X-Gm-Message-State: ALoCoQkURiGgKXZ/shIWJOGEW65xPyH8YmKY2EVMGmhxmcyuGY36PcNnqMPNERnQsqB9Nfs+wVhR MIME-Version: 1.0 X-Received: by 10.60.46.229 with SMTP id y5mr25871900oem.7.1403601272077; Tue, 24 Jun 2014 02:14:32 -0700 (PDT) Received: by 10.202.202.137 with HTTP; Tue, 24 Jun 2014 02:14:32 -0700 (PDT) In-Reply-To: <28645484.qtAJ9e2qr1@xps13> References: <28645484.qtAJ9e2qr1@xps13> Date: Tue, 24 Jun 2014 12:14:32 +0300 Message-ID: From: Alex Markuze To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Fwd: 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: Tue, 24 Jun 2014 09:14:15 -0000 On Tue, Jun 24, 2014 at 11:21 AM, Thomas Monjalon wrote: > Welcome Alex. > Please, for future messages, try to answer below as explained here: > http://dpdk.org/ml > > 2014-06-24 11:12, Alex Markuze: > > Thomas Monjalon wrote: > > > 2014-06-23 15:42, Alex Markuze: > > > > Hi, I'm new to DPDK and Im trying to compile on a x86 Ubuntu 14.04 > > > VM(KVM). > > > > And I'm getting this error: > > > > > > > > "error: CPU you selected does not support x86-64 instruction set" > > > > > > You should try "-cpu host" option of Qemu/KVM in order to have the fu= ll > > > instruction set of your host. > > > > I've resolved the issue in a similar way by modifying the VM xml config > > file with this line > > . > > > > I was wondering if a Makefile/.config solution exists w/o modifying an > > existing VM in cases where its not possible. > > I've tried to modify the .config file with 'CONFIG_RTE_MACHINE=3D"nativ= e" > -> > > CONFIG_RTE_MACHINE=3D"x86-64"' > > But it didn't seem to matter (I didn't explore this much farther, I > > dint really try a clean build and didn't make sure that the .config fil= e > > I've modified was read). > > Not sure to understand what you want. > If you try to build DPDK for most of machines (including VM), you should > set > CONFIG_RTE_MACHINE=3D"default" > in your .config file. > > My wish is to be able to compile DPDK on a VM that has "model name : QEMU Virtual CPU version 2.0.0" I'm guessing that the gcc doesn't understand the Arch so it throws this error: "error: CPU you selected does not support x86-64 instruction set" I was looking for a way to tell the gcc not to worry about the QEMU cpu and just compile x86_64 binary. > -- > Thomas >