From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 87A4C2BDF for ; Thu, 15 Nov 2018 20:29:57 +0100 (CET) Received: from mail-ed1-f70.google.com ([209.85.208.70]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gNNKv-0005PQ-CH for stable@dpdk.org; Thu, 15 Nov 2018 19:29:57 +0000 Received: by mail-ed1-f70.google.com with SMTP id c12-v6so10500595ede.6 for ; Thu, 15 Nov 2018 11:29:57 -0800 (PST) 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:content-transfer-encoding; bh=ihg8rwghbpcgSqYOz+WH3diomADxgWXNulw0zWHhM10=; b=l+D32GKj/Zh3Jso09+qTWRyAbbJzma5O9uZoYt09K43U2fuMcDZMR7cSOFkdlVbOBd gPWTb1p8wr5SmObClquHSZ6387WpcetWD7vn/Y2MstT+GkLusJL/qS9L21UxhZaQZ5bU /HfekxNhndob+OiuNvtZFwz3jBGvC6SQEPwDwClIey4dzbGStQocCuNoytnWUVqdkrh7 KhCvukOUcWT5euKSOo7OOuE/x/k5PnWdK9Ieai0VXkrQhBX0AanAlbLgEsJ+wOqDGfDI bWSMEPgsCxrspiigC1Q1siaEXCrJ8UgQS+c7G246uVxXSMBnBwFgYL4L0Z9ZYnlFnJ41 Z93w== X-Gm-Message-State: AGRZ1gIRCawmKaP11WVt7EJoON0PQ+IF0RO3uNzEgLS7TyDZ4MGxBtrY xSKmxGxK66oikuISNQ48hA3ksEQKO3LS+rVMb6Y5Zk0jnQv633sNct+0q9pS352GvrhTfgN1okv yTW4jwfo5vjTxMveJmZjSeE47MrVjUuCSSw+7QhZO X-Received: by 2002:a50:9315:: with SMTP id m21mr6784067eda.58.1542310197016; Thu, 15 Nov 2018 11:29:57 -0800 (PST) X-Google-Smtp-Source: AJdET5cHhdowZlLrG9lzcXlLw+6IfCpK62UX36TYeWCGLkSux2SK2bbVVJ9N79niC3sIZL7ffF70m0TwV76Qh9wnw00= X-Received: by 2002:a50:9315:: with SMTP id m21mr6784050eda.58.1542310196678; Thu, 15 Nov 2018 11:29:56 -0800 (PST) MIME-Version: 1.0 References: <20181115165418.25195-1-bluca@debian.org> In-Reply-To: <20181115165418.25195-1-bluca@debian.org> From: Christian Ehrhardt Date: Thu, 15 Nov 2018 20:29:30 +0100 Message-ID: To: Luca Boccassi Cc: dev , Bruce Richardson , pbhagavatula@caviumnetworks.com, jerin.jacob@caviumnetworks.com, stable@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH] build: set -mfpu=neon flag for armv7a builds X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 19:29:57 -0000 On Thu, Nov 15, 2018 at 5:54 PM Luca Boccassi wrote: > > 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 =E2=80=98vld1q_s32=E2=80=99:= target > specific option mismatch > > Set -mfpu=3Dneon 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 Acked-by: Christian Ehrhardt > --- > 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 *') !=3D 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 followin= g, > + # mk/machine/armv7a/rte.vars.mk sets it too > + machine_args +=3D '-mfpu=3Dneon' > else > dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128) > dpdk_conf.set('RTE_ARCH_ARM64', 1) > -- > 2.19.1 > --=20 Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd