From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81174A0471 for ; Tue, 13 Aug 2019 11:39:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E05A1BE84; Tue, 13 Aug 2019 11:39:24 +0200 (CEST) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id D73FD1B952; Tue, 13 Aug 2019 11:39:22 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id l2so867000wmg.0; Tue, 13 Aug 2019 02:39:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=NS491xX5phPK8KRhqFg2fxaIAB/4ASgD/iSvwkggaHw=; b=sk4i/nw0H0t9q0L9TZmDkeI3X13R5G258zSunqUucMaZHng+jcAyukoPkmaMhvEG1N nic6zHEfE1QrQf8Iggnr0Jh2RjbkLbS6GRXqYyqBi9kKRFJ5AKOaU765ETWKcnPha+4W xy0HZhtBONQPR5+mMfF0BpZL4YvVEoTKCee7Vf36cE4/A+usKl+dg1Z5BtVNRQbJduFp tJzhNz9LDfFYdlWOdFZqlXsdJgsGEtNABcWHrX3Rm8/srZmnRJLfcBF9I04zbFnXiyuM SYu+VMtHU5EgWutEgD2d5p/PdTNnZS3bRRbfZRBli9YXCXhPveKFFbapJmDV60tjgjbD WxYA== X-Gm-Message-State: APjAAAWVez3jO4CoNG18UuzPkgjLg9mEPzz4fykFddlgNxtkMjV682MX y/dkR+mbJDpN/tUsoZ2PLYs= X-Google-Smtp-Source: APXvYqx22yaIxYs4CBlKUKRGL8o2bMC0F6HtbTygDN0AMIA1ju2ILIelM6wQcs3eFMjHmTkckoyQMg== X-Received: by 2002:a7b:c758:: with SMTP id w24mr2129826wmk.143.1565689162434; Tue, 13 Aug 2019 02:39:22 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id b3sm19740963wrm.72.2019.08.13.02.39.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 02:39:21 -0700 (PDT) Message-ID: <9bebc8452d4dbf2d984301f4f2f24279bbf6e38d.camel@debian.org> From: Luca Boccassi To: Thomas Monjalon , bruce.richardson@intel.com, Matan Azrad , Shahaf Shuler , Yongseok Koh , Viacheslav Ovsiienko Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, stable@dpdk.org Date: Tue, 13 Aug 2019 10:39:21 +0100 In-Reply-To: <20190812230358.988-5-thomas@monjalon.net> References: <20190812230358.988-1-thomas@monjalon.net> <20190812230358.988-5-thomas@monjalon.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH 4/6] net/mlx: fix build with make and recent gcc 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 2019-08-13 at 01:03 +0200, Thomas Monjalon wrote: > With VERBOSE=3D1, this error was seen in debug mode with gcc 9.1: >=20 > In file included from /tmp/dpdk.auto-config-h.sh.c.w0VWMi:1: > In file included from rdma-core/build/include/infiniband/mlx5dv.h:47: > In file included from rdma-core/build/include/infiniband/verbs.h:46: > In file included from rdma- > core/build/include/infiniband/verbs_api.h:66: > In file included from rdma- > core/build/include/infiniband/ib_user_ioctl_verbs.h:38: > include/rdma/ib_user_verbs.h:161:28: fatal error: > zero size arrays are an extension [-Wzero-length-array] > __aligned_u64 driver_data0; > ^ > 1 error generated. >=20 > As a result, buildtools/auto-config-h.sh was not generating > a correct autoconf file, so the compilation was generating such > error: >=20 > fatal error: redefinition of > 'mlx5_ib_uapi_flow_action_packet_reformat_type' >=20 > It is fixed by disabling -pedantic option when calling auto-config- > h.sh > from the makefile-based system. >=20 > Cc:=20 > adrien.mazarguil@6wind.com >=20 > Cc:=20 > stable@dpdk.org >=20 >=20 > Signed-off-by: Thomas Monjalon < > thomas@monjalon.net > > Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi