From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by dpdk.org (Postfix) with ESMTP id C242A1B54C for ; Tue, 9 Oct 2018 16:37:36 +0200 (CEST) Received: by mail-yb1-f179.google.com with SMTP id 184-v6so729177ybg.1 for ; Tue, 09 Oct 2018 07:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yg1jbU9ByjnRvP13cy79iRiFN++ep7swhRZ9TJWnk4g=; b=jhT4nHDQza1cuneISXXHx3BndE70cZMkkAlUUr6jOxs86tb8MaVJRlWieTap9B0poW Eh1erIvLG/sBpXaKF2iZvgBEPDwy6PsJB52p4HU4itz9PGYzdglF9Pw4IBB0no8ZwlGy ple3AAOTg3d+QXbYAkZNRmRAzI1/fWkJ2+4oQ+Da97HyUG8FnwNcNTun+5VSzRnljaDI z0JJHWSVvoti3zQyp/uELDpybBLq64J6Q2qfoLhE1J/c/9cB3TmAlOJKq0isJxqbL626 ITumrpgKulLCP8i5Hdi0e80BqZ1wKXoxJ6ftcBwXBqdAj7wl5XON7QLYrwYzx+z0s6yH ZCcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yg1jbU9ByjnRvP13cy79iRiFN++ep7swhRZ9TJWnk4g=; b=fbr8gPRp9SZXdCCBbGS/T48bM7DkT14eWFyuq35CXZrREK9OhyK1Vjvl1HdrP2SAkS h+nLPwPLlhSTYuKtp6LyTpv/WpMhlocpTrqKaZDwHBxjfyufREq/npYLwFr1rI63dBOn OiPd0KCc2yNvdsiBoPr0j+t3196LkFImlhKV+QMNhdQRlDrRbTh/LeP9eu7+fBUy2Btf mzXGv//X/5amJElaQymhDh8hkvALfAC+zLFY3DMaow/hbpy0a/+SfdeZxDVofN3pGQGC j6f2xxhn4lsAKyX3P/wPkFBn/VPItZGZJEkrbcanJKXJ1RVXvO3kTvRJwZmQSNEevfrX AeCg== X-Gm-Message-State: ABuFfohB8KA9SFkkNAzb6fSk0bIy8jVUYDoDeJ5AInrYsmuEPmfDHBGh tlm5NljAL09FdrTB6Yj1rmLg2dU4EhBsZ7/T5PA= X-Google-Smtp-Source: ACcGV60ZtMhAb8/QAPNuE0mch+pslK4j5ScwbS/2ilxwAugAh8IEgkEpde70S5tkcq8KZ/4ZQwCOrHey0rx0xCwsaBU= X-Received: by 2002:a25:df12:: with SMTP id w18-v6mr16536695ybg.434.1539095855628; Tue, 09 Oct 2018 07:37:35 -0700 (PDT) MIME-Version: 1.0 References: <2099488D-C9CD-4989-AF1F-18EA9F558717@intel.com> In-Reply-To: <2099488D-C9CD-4989-AF1F-18EA9F558717@intel.com> From: Cliff Burdick Date: Tue, 9 Oct 2018 07:37:24 -0700 Message-ID: To: keith.wiles@intel.com Cc: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] RTE_MACHINE_TYPE Error 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: Tue, 09 Oct 2018 14:37:37 -0000 Thanks Keith. You are right that /proc/cpuinfo on a E5-2680 v3 does not have AES listed. I was incorrect assuming this was a broadwell system, but it's Haswell. Either way, I'm still not quite clear what's going on since the gcc manual here (https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html) specifies this: =E2=80=98haswell=E2=80=99 Intel Haswell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2 and F16C instruction set support. Is the gcc manual specifying some other AES feature that's not what DPDK is listing? On Tue, Oct 9, 2018 at 6:54 AM Wiles, Keith wrote: > > > > On Oct 8, 2018, at 11:10 PM, Cliff Burdick wrote: > > > > Hi, I'm trying to compile on a machine with an older-generation xeon th= an > > the target, so I'm using CONFIG_RTE_MACHINE=3D"broadwell" in the config= . > > gcc's options show that broadwell supports the AES flag, and I verified > > that the build shows -march=3Dbroadwell. However, when I run my applica= tion > > it prints immediately: > > > > ERROR: This system does not support "AES". > > Please check that RTE_MACHINE is set correctly. > > EAL: FATAL: unsupported cpu type. > > EAL: unsupported cpu type. > > EAL: Error - exiting with code: 1 > > Cause: Error with EAL initialization > > > > This is gcc 7, so it supports that flag. Does anyone know how I can > compile > > for a later architecture on an older machine? > > Have you checked to make sure the CPU does support the feature by looking > that the CPU flags in /proc/cpuinfo ? > > Normally this is the reason the code will not run is the CPU does not > support it. > > Regards, > Keith > >