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 845DEA0C4C for ; Tue, 5 Oct 2021 15:58:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A49341318; Tue, 5 Oct 2021 15:58:15 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 0F98E41318 for ; Tue, 5 Oct 2021 15:58:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633442293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hJzvUIAm3pnBQcTYfsz+lDZiSVJus2KEzOdTPae7bi4=; b=aj9TU71to+m7ncmvitFF7Nuldio6DQkqRWFUKUeC+dOQ7vkgYdpeVtYA4qsgb8Ud8XGb9g 7l8dppIOWj3ydNDRu5lpWAGB6+4NRIyUdJQHN0Cl4VibjQ6eeMDMUQw9t7m5yuLEeruVGN O/+hij4l2wqH9y3S8m1ZfOKPMbhzfl8= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-475-RxNHKGTVPzKTpfUMb86p7Q-1; Tue, 05 Oct 2021 09:57:40 -0400 X-MC-Unique: RxNHKGTVPzKTpfUMb86p7Q-1 Received: by mail-lf1-f72.google.com with SMTP id h27-20020a0565123c9b00b003fca9e11144so16887900lfv.19 for ; Tue, 05 Oct 2021 06:57:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hJzvUIAm3pnBQcTYfsz+lDZiSVJus2KEzOdTPae7bi4=; b=v35+nGOE20TP03B1CcVhW1yNc4cwalMUmJOczmNgAukJGNl9vf1WASgFpP9VHpeo6N NUt6Ip/V4735MAr4jlYPS9rGwo7yaFMSxz53TId/gt0DuHdRe2eOFGz+EbOuxSkAbX/d nsbQJdMCwyn7IPlurGG07kKhF1mY8oPRUsnoub7pFE/v8DZZAd3qLvlhjeaaHGwfKUoa VaF+fMhVzUOeedXOuaQ5Xgx4wXucT97gX51zDOror0uzAGl8+/GAaq2qjWeHSi7BGion vih/vGZgixgYsaHUygbE+E03SpFTMx6dLa8QesZX67JJGcRxw3nNgv7GZlu9Gi2iQfE/ Hcmg== X-Gm-Message-State: AOAM5323n0j8a1HW47MNkCq1llc9gBZqwIQjUKeq3pTrb6OvQLWM3Ks4 YwCqo8jQGOtTYESI5DRMHYPhMrzxhwKN3VPiMUjJ6DlLP2L3IvG1U4BnnJIFjQiEMQzMCiO0JmY rwYJMYcN3gxqci3mMlmt69CM= X-Received: by 2002:a05:6512:3f16:: with SMTP id y22mr3622290lfa.499.1633442258975; Tue, 05 Oct 2021 06:57:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSEMXuZlHvqgGFoBB40RfMWTnGE5cid7ZvXAjCTHHWRCbfiX8rjgVi+xdcoE8uIb0B78DkiXlr2ijQkPoIpOY= X-Received: by 2002:a05:6512:3f16:: with SMTP id y22mr3622278lfa.499.1633442258790; Tue, 05 Oct 2021 06:57:38 -0700 (PDT) MIME-Version: 1.0 References: <20211005115754.34117-1-aman.deep.singh@intel.com> In-Reply-To: <20211005115754.34117-1-aman.deep.singh@intel.com> From: David Marchand Date: Tue, 5 Oct 2021 15:57:27 +0200 Message-ID: To: Aman Singh , "Yigit, Ferruh" Cc: dev , dpdk stable , Qi Zhang Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ice/base: fix build error for GCC 4.8.5 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, Oct 5, 2021 at 2:07 PM Aman Singh wrote: > > Code changes done for build issue as reported in Bug 817 > error: dereferencing type-punned pointer will break strict-aliasing rules. > added union to avoid pointer dereferencing > About the title, Ali reproduced the issue with other versions of gcc. This patch touches base/ code, is Intel ok with this? Else, we could consider disabling strict aliasing for the base driver, like $ git grep alias '**/base/meson.build' drivers/net/fm10k/base/meson.build: '-Wno-strict-aliasing', '-Wno-format-extra-args', drivers/net/i40e/base/meson.build: '-Wno-strict-aliasing', '-Wno-unused-but-set-variable', drivers/net/qede/base/meson.build: '-Wno-strict-aliasing', Bugzilla ID: 817 > Fixes: 39925373a333 ("net/ice/base: add parser execution main loop") No Cc: stable, this is a regression in main. > Signed-off-by: Aman Singh Tested-by: David Marchand -- David Marchand