From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 884E7A0093; Fri, 20 May 2022 22:14:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3153C40222; Fri, 20 May 2022 22:14:04 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 6E1D440156 for ; Fri, 20 May 2022 22:14:03 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id a23-20020a17090acb9700b001df4e9f4870so8742399pju.1 for ; Fri, 20 May 2022 13:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HsUCslG3E4l0TIlSewOSGbXcflCSAiJMc2OuNGdjHUw=; b=65XAIDfk0kH0+n7le3/PIFi/SRpy/Pwg5lzF7+DLLmLIiug4mHpeyirF0P/IrT+AC+ 1un/yHqAkYHz6klNMYGYtetwMZtoatIdD0lPy+ovCEyAS3TDjLAKCSZzSm3Dlqzv6kds VnL5j6Eo9NOHQdiBThUmkpREPTi1HFWQJv8vloYoxY3JGROhqvyHv3qCoFUi/XMOf1XD KAzfwn7zaVEQebh5Idi2uTAwqQlmoPzbHBenn1LlUioA2G9fEEk8c8SLy17YYqlFeVsd PrIVq5+TwtF0PuNU0GgcOstvnL+v2CYm/fv38IHJP7i2D/tLfVVb3qo9KCpxYDifBVlI f2kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HsUCslG3E4l0TIlSewOSGbXcflCSAiJMc2OuNGdjHUw=; b=v598WrIaKP76aNV7Bg90uMIZ85VYZyTrFBAfuI54pD4A4JHxHaABehc7h+minySU1v VS7ziQOJ2DGx+i+Z3iL0nVAaxPr6b/2oB0U9uF+3IDVoscNjXs0j5wpZ0sd97BkQwjXR pR1deMErFn5AefLJtqllaHsFNgs3LwLu2VOo5UBuuWUYbfM+kpLwoXOoPDlnJQo5Wgxa ZmukWLT5BIV6If7rTqOuyEGXYSZgFTZAMm6kz+zoRt0ayOXi54LwLHk3VMAqVDUBCbrr l6cSXqycHEnEses0OnCJsiZxfBLPZbK8ewP6SvwmdOeZY0CJtzjLP1PTMbCWp++wswFy 80OQ== X-Gm-Message-State: AOAM531mBwzm/T/sWwAaSITb5Ot7LXiWxrY1eozIe1W+iTmgRyK6u29s pwm0qldHkYxTun2MsCSF2hNcag== X-Google-Smtp-Source: ABdhPJy3396fFdAr8iKcYpJ6q5w21p8EnJQLRQErw5IlTnbSEStWL1wC7apQEmDXUSoX/TjXGTuqbw== X-Received: by 2002:a17:902:c612:b0:161:e095:8ff6 with SMTP id r18-20020a170902c61200b00161e0958ff6mr8928372plr.145.1653077642506; Fri, 20 May 2022 13:14:02 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id b134-20020a63348c000000b003c14af5062dsm136130pga.69.2022.05.20.13.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 13:14:01 -0700 (PDT) Date: Fri, 20 May 2022 13:13:58 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@xilinx.com Subject: Re: [PATCH 00/12] Fix compilation with gcc 12 Message-ID: <20220520131358.1908e98d@hermes.local> In-Reply-To: <20220518101657.1230416-1-david.marchand@redhat.com> References: <20220518101657.1230416-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 18 May 2022 12:16:45 +0200 David Marchand wrote: > Fedora 36 is out since early may and comes with gcc 12. > This series fixes compilation or waives some checks. > > There might be something fishy with rte_memcpy on x86 but, for now, > the rte_memcpy related fixes are on the caller side. > > Some "base" drivers have issues, I chose the simple solution of waiving > the checks for them. > > Compilation is the only thing checked. > Please driver maintainers, check nothing got broken. > We need to purge all code still using array size of one instead of proper flex array member.