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 4BDEBA034C for ; Thu, 1 Sep 2022 17:24:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4604640C35; Thu, 1 Sep 2022 17:24:14 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 56C9640695 for ; Thu, 1 Sep 2022 17:24:13 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id 202so16687342pgc.8 for ; Thu, 01 Sep 2022 08:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc; bh=b1Ya8bEDls0ZSktMWCE6nGyETyF8XyG7iYDG3mnLxDc=; b=GXKd6izLNGRbkqLxriXpAA9Hj2HQ8X1XdatKATqLNLbsDgyOBih9gaLB7pblRzUFO2 WQ7d/ZdNEIHIHdGbgmPUuOK4aS5JVD62Xj7JV1IoLMVnclLuOAsV3+AlkUrYlKKWO+O7 pF9TBdqDTWtqfOx5GvwmLSxajtPVTzcrtcush/Y9MdneuLihUxU0b7EWf2Cx4bq775WX +FHzUsEwUvGy8VQAg1rXWOABQhn8T6tYxMwWMwRo2B8BNmcbJjlKXav8Nk51/ltDNZOk M0jXIiFWeC0veHmC3cu8LcGzmF9XGNl41XPjrnTcpHFe6nlMhA3L0OKfNdm09yUHw7fN bO9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=b1Ya8bEDls0ZSktMWCE6nGyETyF8XyG7iYDG3mnLxDc=; b=6TlO0oD4YxCkxTDLhH+a/myz31TWYnarkTNGMmt5WWz5wIONLn2NwzdFQZ/IaIG6Sn iLZ80vEy4/GAKH7mW2/4uxdo54Hlq+YPNvQuLcw5V56z0RBxj3oIzyYnDwe5HzhaFgYX D9YIXg+9XWFyEzdqdc5QjNvq6N70LeWgXIn4cwoi3uzXNkSOs56rf95nv9XF0RHEsAbn tmbThYN6IyjNVGr9xQDq0olHA+0XEBXpCQLGBRhc7wEfjwQYqMcs7xa6jKxL56MEJ/WU jdGr7Vc2ZAhPvm9APV1vxP+VoLJbguDFxG+uNKUhNl/KrmkeO9L1dliZJiPmK2VV3Z4V ea9A== X-Gm-Message-State: ACgBeo3Y/PqwgMqOvkPHykzpWZ/9rCIlXoCIo59qu5Pm5gHM/po2SAkt 3FFgdkdAtgbmGE5bQUcyJGFKz/au2fH9OA== X-Google-Smtp-Source: AA6agR46T08mn34BblQm8z5UiT5IqwFkcpUNM/THaxoQrIgmj92qQPn6eT99ybDGSvuIDd8/TFsZYg== X-Received: by 2002:a05:6a00:e85:b0:52b:5db8:f3df with SMTP id bo5-20020a056a000e8500b0052b5db8f3dfmr31607142pfb.14.1662045852413; Thu, 01 Sep 2022 08:24:12 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j13-20020a17090ae60d00b001fb0fc33d72sm3435692pjy.47.2022.09.01.08.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:24:12 -0700 (PDT) Date: Thu, 1 Sep 2022 08:24:10 -0700 From: Stephen Hemminger To: Amit Prakash Shukla Cc: Ruifeng Wang , , , , Subject: Re: [PATCH] examples: compilation fix for GCC-12 Message-ID: <20220901082410.140d209b@hermes.local> In-Reply-To: <20220901082343.3074804-1-amitprakashs@marvell.com> References: <20220901082343.3074804-1-amitprakashs@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 1 Sep 2022 13:53:43 +0530 Amit Prakash Shukla wrote: > diff --git a/examples/common/neon/port_group.h b/examples/common/neon/port_group.h > index 82c6ed6d73..97da604583 100644 > --- a/examples/common/neon/port_group.h > +++ b/examples/common/neon/port_group.h > @@ -24,7 +24,7 @@ port_groupx4(uint16_t pn[FWDSTEP + 1], uint16_t *lp, uint16x8_t dp1, > union { > uint16_t u16[FWDSTEP + 1]; > uint64_t u64; > - } *pnum = (void *)pn; > + } __attribute__((__packed__)) *pnum = (void *)pn; Use __rte_packed instead of direct attribute