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 8A07D2F42 for ; Thu, 15 Nov 2018 20:29:57 +0100 (CET) Received: from mail-ed1-f71.google.com ([209.85.208.71]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gNNKv-0005PP-CF for dev@dpdk.org; Thu, 15 Nov 2018 19:29:57 +0000 Received: by mail-ed1-f71.google.com with SMTP id b7so8358485eda.10 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=RnG8WDmqHjhdZ4hWqEJJ5Uc1CLF4qLXUJBJf4LVAt8uc/Fix3s4AO6j4lzOFn3VBGq pTuwkK2kdFaJIFE36lqpS5dyFGwT3g4kI4Lxaf0WRLAmfOlVRXLbslZgm7LmThw0EUgJ GizUqSBu3ZDH52NZcIRK0Wn9SwBGEa0DiVaMQLwzR0ya3qzDnotari9W+SIay0Peinq+ NfINH3LVhtwwA1tb89G7rFYMjCfb11QxttCkliUOCauLxhbasJFsg2Wuq8mc6CS/XCuZ aEF1Vm12lmen7ZXooYC1EH/RAvOJ1SQj4FxMEROYE6JwlPRuoAiyO2vg8g3WHYCfD6fr LviQ== X-Gm-Message-State: AGRZ1gITLQ2ZcqIDn/TdUMU/mNfMaVWlB6T0LcYqFK5YBZGJAXFvnYKI Arafs5k6lJnHkdGZNhMn1V/V3bX0RD2W7zm3bVc892CwjTb4XOwnipoYE4J36tSn0wRr9h96ugh XkRQXT8pHQA23k+f1S6mJLDPy8Y7wfV96JeWz X-Received: by 2002:a50:9315:: with SMTP id m21mr6784068eda.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-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 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