From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rad-w2ksrv11.radcom.co.il (mail.radcom.com [80.74.109.3]) by dpdk.org (Postfix) with ESMTP id 2AE9D7E75 for ; Wed, 12 Nov 2014 13:32:32 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 12 Nov 2014 14:45:53 +0200 Message-ID: <1A791056FCD70F458405B58B79F5C2F7069C605F@RAD-W2KSRV11.radcom.co.il> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: compile dpdk with no avx Thread-Index: Ac/+dphNKz4wA8IvTEqQ+jnzQl1WAw== From: "Yaron Illouz" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 12:32:32 -0000 Hi=20 =20 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. =20 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. =20 Is there a compilation flag to disable avx? So it doesn't matter on which computer I compiled it. =20 Compile flag defconfig_x86_64-default-linuxapp-gcc =20 Dpdk version PACKAGE_VERSION_MAJOR_NUMBER=3D1 PACKAGE_VERSION_MINOR_NUMBER=3D6 PACKAGE_VERSION_PATCH_NUMBER=3D0 PACKAGE_VERSION_BUILD_NUMBER=3D18 =20 Gcc version gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4) =20 OS CentOS release 6.3 (Final) =20 =20 =20 =20