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 D014CA034C; 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 6F96641181; Thu, 1 Sep 2022 17:24:14 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 5823340C35 for ; Thu, 1 Sep 2022 17:24:13 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id b196so6998127pga.7 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=5e2HVJN7+6P8/RKdBPiSGSeFkEkJYWOgBstXz/IExHcgcoMkiiKAzXUjbogjFZIsEU MKhX64wKQClM6HpfhFgnodMbpvUMoI1wwQgmV1BSWLO+ld7R5xW7TKDfdbKt/BVNAZwI zaIRj0PNhZ/dyDU6jpTJPLi6aRhqHekDVv10JFty5YAfFAwQ/57RimquFQw0xrfZy6CA /zAvz4fcRBXYewYA+xCz+v2bZTk+TnmzVaOxmWU4zNenprpnVoaiqsmvmdbiIH7QzjpY fBlNWcG4VD1vHJz3RphX1C+OemnZm3HCs3mbFKcGdD+JoPgdX0NGAud/Tt2PNBIWN2Vp JD9g== X-Gm-Message-State: ACgBeo1+lcAM7gtJm1XdjcNCwv7YhsC51qTrptktgbgMDyRnzM1sQOWd LehLyhmhGS+gPwnDHImo3hZywQ== 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: 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 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