From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id EEE5C2BD8; Thu, 15 Nov 2018 17:54:40 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id v6so106278wrr.12; Thu, 15 Nov 2018 08:54:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2CKBIykAatA49HTVHies1zjlVx/bXYVHh7y3Ogxs8E8=; b=SOx8991dLpIFbMa48Pg1JcsltObZx1N21OdkJuwBIuCO7NEpdpvibsMkiCN26Hq7AD 5duWkWM0Z619ByY/06wavkgfs1Ue3TTPUgXbZQZopVzW3MeTqsyRDxIngJ9NI1+S702c qWACnlzjJqiAIh7aeXi7/u9P4QtukhEp1dxbh9coBW9EmDCMqI6/OqMYD2NHwQPTeaui MuweDaG87w0sxh740/dakNRgdbWUubFodhQusc9XIVvlOw0Ws1ynwXtpa9BJMbOTjHcY 0Qk5+sB3H8zs9AZlB++AlYcO634ANzGmZ903ergHHI9/Kxg6T1+5E2tpDnHtUmpX1t9V CM7Q== X-Gm-Message-State: AA+aEWacJKnMg5YAuZClNi1nMvBj5yvB33kTcP+gtn5S1lqYcdf3FXcr xIcZmVsZbetuhCoCNg/DN/wGpm8z X-Google-Smtp-Source: AFSGD/U6WF87/s3IZb3VvRZ7az7iJURZpOqVVLfRmq16tZ0oSw3yvhUOOhKyt+pfDnAiI+R3kaYm6A== X-Received: by 2002:adf:f28d:: with SMTP id k13mr4623123wro.78.1542300880091; Thu, 15 Nov 2018 08:54:40 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id t187-v6sm16687041wmt.45.2018.11.15.08.54.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Nov 2018 08:54:39 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com, pbhagavatula@caviumnetworks.com, jerin.jacob@caviumnetworks.com, christian.ehrhardt@canonical.com, Luca Boccassi , stable@dpdk.org Date: Thu, 15 Nov 2018 16:54:18 +0000 Message-Id: <20181115165418.25195-1-bluca@debian.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] build: set -mfpu=neon flag for armv7a builds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 16:54:41 -0000 Building on armv7a with meson currenctly fails: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10369:1: error: inlining failed in call to always_inline ‘vld1q_s32’: target specific option mismatch Set -mfpu=neon on that architecture like the legacy makefiles do to fix the issue. Fixes: b1d48c41189a ("build: support ARM with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi --- config/arm/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index 4b23b3954..b75513855 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -89,6 +89,9 @@ if cc.sizeof('void *') != 8 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) dpdk_conf.set('RTE_ARCH_ARM', 1) dpdk_conf.set('RTE_ARCH_ARMv7', 1) + # the minimum architecture supported, armv7-a, needs the following, + # mk/machine/armv7a/rte.vars.mk sets it too + machine_args += '-mfpu=neon' else dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128) dpdk_conf.set('RTE_ARCH_ARM64', 1) -- 2.19.1