From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by dpdk.org (Postfix) with ESMTP id 565357F68 for ; Wed, 12 Nov 2014 14:38:23 +0100 (CET) Received: by mail-ob0-f179.google.com with SMTP id m8so9008933obr.24 for ; Wed, 12 Nov 2014 05:48:17 -0800 (PST) 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=TmKaMbmXdvyU/rgnPpnox2mwWSoEB079ayxiD37wVpM=; b=V6mXDH4EBbpjxCpOQ1906fvp53PF06p5IZmP7iIPM1mHX9y7AgFTbjS8GbLK3VwF9x qXZKEj9bSkkCbg84jdyR6COjj0FoB+NRgXjbPnZZ4mjBpcioyRNfGaRT+1EQUEVLWAUI 0xYA7O9EbCRFv1ibpMvA0uQhU61zdVwyhs11wl+0/7mAhSx+TKncquA38pASAmrzBAaJ Y5wfnir42LX/qnVk+6TLPqthW8HbQVELs78mM1kGLEDlbHbmeLruX+QX5oSFeDukUTyz Hl7lVrFndJXFsKTPiyE++Lw1/8gGqBHiIWSHw3sXQAAv5v+vTPC/73x4aSz3ORiIm5ZE J55g== X-Gm-Message-State: ALoCoQnBd80hhobXx8aB5ayQ3NtC45Tkjm4m14HZk2LAbXXgFXnn+3tUnCZm7VtHK5ddETV5SmqX MIME-Version: 1.0 X-Received: by 10.182.128.38 with SMTP id nl6mr38717585obb.29.1415800096975; Wed, 12 Nov 2014 05:48:16 -0800 (PST) Received: by 10.182.31.111 with HTTP; Wed, 12 Nov 2014 05:48:16 -0800 (PST) In-Reply-To: <1A791056FCD70F458405B58B79F5C2F7069C605F@RAD-W2KSRV11.radcom.co.il> References: <1A791056FCD70F458405B58B79F5C2F7069C605F@RAD-W2KSRV11.radcom.co.il> Date: Wed, 12 Nov 2014 22:48:16 +0900 Message-ID: From: Masaru Oki To: Yaron Illouz Content-Type: text/plain; charset=UTF-8 Cc: "" Subject: Re: [dpdk-dev] compile dpdk with no avx 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: Wed, 12 Nov 2014 13:38:23 -0000 Hi, Some libraries need AVX instruction, but if you don't use, it can disable. e.g. CONFIG_RTE_LIBRTE_IXGBE_PMD=n in config file. 2014-11-12 21:45 GMT+09:00 Yaron Illouz : > Hi > > > > I use dpdk in my product. I can't change my dpdk version. > > I compile it on a server that have avx. > > Most of the time, it run on machine that have avx, but not always. > > > > When running the product on a machine with no avx, it crash on illegal > instruction. > > The current solution is to build it on a computer with no avx. > > > > Is there a compilation flag to disable avx? So it doesn't matter on > which computer I compiled it. > > > > Compile flag > > defconfig_x86_64-default-linuxapp-gcc > > > > Dpdk version > > PACKAGE_VERSION_MAJOR_NUMBER=1 > > PACKAGE_VERSION_MINOR_NUMBER=6 > > PACKAGE_VERSION_PATCH_NUMBER=0 > > PACKAGE_VERSION_BUILD_NUMBER=18 > > > > Gcc version > > gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) > > > > OS > > CentOS release 6.3 (Final) > > > > > > > > >